description: This cross-version extension represents CarePlan.activity.detail from http://hl7.org/fhir/StructureDefinition/CarePlan|1.0.2 for use in FHIR R5. package_name: hl7.fhir.uv.xver derivation: constraint name: Ext_R2_CarePlan_ac_detail type: Extension elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true min: 1 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: description: match: {url: description} schema: short: Extra info describing activity to perform base: {max: '*', min: 0, path: Extension.extension} index: 74 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: description} index: 75 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Extra info describing activity to perform choices: [valueString] index: 77 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: Extra info describing activity to perform choiceOf: value index: 78 required: [url] category: match: {url: category} schema: short: diet | drug | encounter | observation | procedure | supply | other base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: category} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: diet | drug | encounter | observation | procedure | supply | other choices: [valueCodeableConcept] index: 4 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: diet | drug | encounter | observation | procedure | supply | other choiceOf: value index: 5 required: [url] prohibited: match: {url: prohibited} schema: short: Do NOT do _required: true base: {max: '*', min: 0, path: Extension.extension} index: 36 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: prohibited} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Do NOT do choices: [valueBoolean] index: 39 valueBoolean: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: boolean short: Do NOT do choiceOf: value index: 40 required: [url] goal: match: {url: goal} schema: short: Goals this activity relates to array: true base: {max: '*', min: 0, path: Extension.extension} index: 21 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: goal} index: 22 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Goals this activity relates to choices: [valueReference] index: 24 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Goals this activity relates to choiceOf: value index: 25 required: [url] reasonCode: match: {url: reasonCode} schema: short: Why activity should be done array: true base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reasonCode} index: 12 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Why activity should be done choices: [valueCodeableConcept] index: 14 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Why activity should be done choiceOf: value index: 15 required: [url] statusReason: match: {url: statusReason} schema: short: Reason for current status base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: statusReason} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reason for current status choices: [valueCodeableConcept] index: 34 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Reason for current status choiceOf: value index: 35 required: [url] product[x]: match: {url: 'product[x]'} schema: short: What is to be administered/supplied base: {max: '*', min: 0, path: Extension.extension} index: 58 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'product[x]'} index: 59 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: What is to be administered/supplied choices: [valueCodeableConcept, valueReference] index: 61 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: What is to be administered/supplied choiceOf: value index: 62 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: What is to be administered/supplied choiceOf: value index: 63 required: [url] dailyAmount: match: {url: dailyAmount} schema: short: How to consume/day? base: {max: '*', min: 0, path: Extension.extension} index: 64 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: dailyAmount} index: 65 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How to consume/day? choices: [valueQuantity] index: 67 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How to consume/day? choiceOf: value index: 68 required: [url] status: match: {url: status} schema: short: not-started | scheduled | in-progress | on-hold | completed | cancelled base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: status} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: not-started | scheduled | in-progress | on-hold | completed | cancelled choices: [valueCode] index: 29 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: not-started | scheduled | in-progress | on-hold | completed | cancelled choiceOf: value index: 30 required: [url] scheduled[x]: match: {url: 'scheduled[x]'} schema: short: When activity is to occur base: {max: '*', min: 0, path: Extension.extension} index: 41 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'scheduled[x]'} index: 42 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: When activity is to occur choices: [valueTiming, valuePeriod, valueString] index: 44 valueTiming: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Timing short: When activity is to occur choiceOf: value index: 45 valuePeriod: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Period short: When activity is to occur choiceOf: value index: 46 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: When activity is to occur choiceOf: value index: 47 required: [url] code: match: {url: code} schema: short: Detail type of activity base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Detail type of activity choices: [valueCodeableConcept] index: 9 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Detail type of activity choiceOf: value index: 10 required: [url] quantity: match: {url: quantity} schema: short: How much to administer/supply/consume base: {max: '*', min: 0, path: Extension.extension} index: 69 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: quantity} index: 70 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How much to administer/supply/consume choices: [valueQuantity] index: 72 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How much to administer/supply/consume choiceOf: value index: 73 required: [url] location: match: {url: location} schema: short: Where it should happen base: {max: '*', min: 0, path: Extension.extension} index: 48 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: location} index: 49 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Where it should happen choices: [valueReference] index: 51 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Where it should happen choiceOf: value index: 52 required: [url] performer: match: {url: performer} schema: short: Who will be responsible? array: true base: {max: '*', min: 0, path: Extension.extension} index: 53 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: performer} index: 54 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Who will be responsible? choices: [valueReference] index: 56 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Who will be responsible? choiceOf: value index: 57 required: [url] reasonReference: match: {url: reasonReference} schema: short: Condition triggering need for activity array: true base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reasonReference} index: 17 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Condition triggering need for activity choices: [valueReference] index: 19 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Condition triggering need for activity choiceOf: value index: 20 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-CarePlan.activity.detail'} index: 79 package_version: r2.r5-0.0.1-snapshot-2 extensions: description: url: description short: Extra info describing activity to perform base: {max: '*', min: 0, path: Extension.extension} index: 74 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: description} index: 75 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Extra info describing activity to perform choices: [valueString] index: 77 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: Extra info describing activity to perform choiceOf: value index: 78 required: [url] category: url: category short: diet | drug | encounter | observation | procedure | supply | other base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: category} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: diet | drug | encounter | observation | procedure | supply | other choices: [valueCodeableConcept] index: 4 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: diet | drug | encounter | observation | procedure | supply | other choiceOf: value index: 5 required: [url] prohibited: url: prohibited short: Do NOT do _required: true base: {max: '*', min: 0, path: Extension.extension} index: 36 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: prohibited} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Do NOT do choices: [valueBoolean] index: 39 valueBoolean: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: boolean short: Do NOT do choiceOf: value index: 40 required: [url] goal: url: goal short: Goals this activity relates to array: true base: {max: '*', min: 0, path: Extension.extension} index: 21 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: goal} index: 22 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Goals this activity relates to choices: [valueReference] index: 24 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Goals this activity relates to choiceOf: value index: 25 required: [url] reasonCode: url: reasonCode short: Why activity should be done array: true base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reasonCode} index: 12 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Why activity should be done choices: [valueCodeableConcept] index: 14 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Why activity should be done choiceOf: value index: 15 required: [url] statusReason: url: statusReason short: Reason for current status base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: statusReason} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reason for current status choices: [valueCodeableConcept] index: 34 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Reason for current status choiceOf: value index: 35 required: [url] product[x]: url: product[x] short: What is to be administered/supplied base: {max: '*', min: 0, path: Extension.extension} index: 58 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'product[x]'} index: 59 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: What is to be administered/supplied choices: [valueCodeableConcept, valueReference] index: 61 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: What is to be administered/supplied choiceOf: value index: 62 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: What is to be administered/supplied choiceOf: value index: 63 required: [url] dailyAmount: url: dailyAmount short: How to consume/day? base: {max: '*', min: 0, path: Extension.extension} index: 64 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: dailyAmount} index: 65 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How to consume/day? choices: [valueQuantity] index: 67 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How to consume/day? choiceOf: value index: 68 required: [url] status: url: status short: not-started | scheduled | in-progress | on-hold | completed | cancelled base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: status} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: not-started | scheduled | in-progress | on-hold | completed | cancelled choices: [valueCode] index: 29 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: not-started | scheduled | in-progress | on-hold | completed | cancelled choiceOf: value index: 30 required: [url] scheduled[x]: url: scheduled[x] short: When activity is to occur base: {max: '*', min: 0, path: Extension.extension} index: 41 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'scheduled[x]'} index: 42 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: When activity is to occur choices: [valueTiming, valuePeriod, valueString] index: 44 valueTiming: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Timing short: When activity is to occur choiceOf: value index: 45 valuePeriod: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Period short: When activity is to occur choiceOf: value index: 46 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: When activity is to occur choiceOf: value index: 47 required: [url] code: url: code short: Detail type of activity base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Detail type of activity choices: [valueCodeableConcept] index: 9 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Detail type of activity choiceOf: value index: 10 required: [url] quantity: url: quantity short: How much to administer/supply/consume base: {max: '*', min: 0, path: Extension.extension} index: 69 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: quantity} index: 70 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How much to administer/supply/consume choices: [valueQuantity] index: 72 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How much to administer/supply/consume choiceOf: value index: 73 required: [url] location: url: location short: Where it should happen base: {max: '*', min: 0, path: Extension.extension} index: 48 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: location} index: 49 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Where it should happen choices: [valueReference] index: 51 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Where it should happen choiceOf: value index: 52 required: [url] performer: url: performer short: Who will be responsible? array: true base: {max: '*', min: 0, path: Extension.extension} index: 53 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: performer} index: 54 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Who will be responsible? choices: [valueReference] index: 56 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Who will be responsible? choiceOf: value index: 57 required: [url] reasonReference: url: reasonReference short: Condition triggering need for activity array: true base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reasonReference} index: 17 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Condition triggering need for activity choices: [valueReference] index: 19 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Condition triggering need for activity choiceOf: value index: 20 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/1.0/StructureDefinition/extension-CarePlan.activity.detail base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0 version: 0.0.1-snapshot-2 required: [url, extension]