description: This cross-version extension represents CarePlan.activity.detail from http://hl7.org/fhir/StructureDefinition/CarePlan|4.3.0 for use in FHIR R5. package_name: hl7.fhir.uv.xver-r4b.r5 derivation: constraint name: Ext_R4B_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: 84 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: description} index: 85 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Extra info describing activity to perform choices: [valueString] index: 87 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: Extra info describing activity to perform choiceOf: value index: 88 required: [url] instantiatesCanonical: match: {url: instantiatesCanonical} schema: short: Instantiates FHIR protocol or definition array: true base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: instantiatesCanonical} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Instantiates FHIR protocol or definition choices: [valueCanonical] index: 9 valueCanonical: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: canonical short: Instantiates FHIR protocol or definition choiceOf: value index: 10 required: [url] instantiatesUri: match: {url: instantiatesUri} schema: short: Instantiates external protocol or definition 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: instantiatesUri} index: 12 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Instantiates external protocol or definition choices: [valueUri] index: 14 valueUri: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: uri short: Instantiates external protocol or definition choiceOf: value index: 15 required: [url] goal: match: {url: goal} schema: short: Goals this activity relates to array: true base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: goal} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Goals this activity relates to choices: [valueReference] index: 34 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Goals this activity relates to choiceOf: value index: 35 required: [url] reasonCode: match: {url: reasonCode} schema: short: Why activity should be done or why activity was prohibited 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: reasonCode} index: 22 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Why activity should be done or why activity was prohibited choices: [valueCodeableConcept] index: 24 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Why activity should be done or why activity was prohibited choiceOf: value index: 25 required: [url] statusReason: match: {url: statusReason} schema: short: Reason for current status base: {max: '*', min: 0, path: Extension.extension} index: 41 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: statusReason} index: 42 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reason for current status choices: [valueCodeableConcept] index: 44 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Reason for current status choiceOf: value index: 45 required: [url] product[x]: match: {url: 'product[x]'} schema: short: What is to be administered/supplied base: {max: '*', min: 0, path: Extension.extension} index: 68 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'product[x]'} index: 69 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: What is to be administered/supplied choices: [valueCodeableConcept, valueReference] index: 71 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: What is to be administered/supplied choiceOf: value index: 72 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: What is to be administered/supplied choiceOf: value index: 73 required: [url] dailyAmount: match: {url: dailyAmount} schema: short: How to consume/day? base: {max: '*', min: 0, path: Extension.extension} index: 74 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: dailyAmount} index: 75 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How to consume/day? choices: [valueQuantity] index: 77 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How to consume/day? choiceOf: value index: 78 required: [url] status: match: {url: status} schema: short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error _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: status} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error choices: [valueCode] index: 39 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error choiceOf: value index: 40 required: [url] kind: match: {url: kind} schema: short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: kind} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription choices: [valueCode] index: 4 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription choiceOf: value index: 5 required: [url] scheduled[x]: match: {url: 'scheduled[x]'} schema: short: When activity is to occur base: {max: '*', min: 0, path: Extension.extension} index: 51 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'scheduled[x]'} index: 52 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: When activity is to occur choices: [valueTiming, valuePeriod, valueString] index: 54 valueTiming: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Timing short: When activity is to occur choiceOf: value index: 55 valuePeriod: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Period short: When activity is to occur choiceOf: value index: 56 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: When activity is to occur choiceOf: value index: 57 required: [url] code: match: {url: code} schema: short: Detail type of activity base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 17 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Detail type of activity choices: [valueCodeableConcept] index: 19 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Detail type of activity choiceOf: value index: 20 required: [url] doNotPerform: match: {url: doNotPerform} schema: short: If true, activity is prohibiting action base: {max: '*', min: 0, path: Extension.extension} index: 46 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: doNotPerform} index: 47 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: If true, activity is prohibiting action choices: [valueBoolean] index: 49 valueBoolean: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: boolean short: If true, activity is prohibiting action choiceOf: value index: 50 required: [url] quantity: match: {url: quantity} schema: short: How much to administer/supply/consume base: {max: '*', min: 0, path: Extension.extension} index: 79 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: quantity} index: 80 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How much to administer/supply/consume choices: [valueQuantity] index: 82 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How much to administer/supply/consume choiceOf: value index: 83 required: [url] location: match: {url: location} schema: short: Where it should happen base: {max: '*', min: 0, path: Extension.extension} index: 58 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: location} index: 59 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Where it should happen choices: [valueReference] index: 61 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Where it should happen choiceOf: value index: 62 required: [url] performer: match: {url: performer} schema: short: Who will be responsible? array: true base: {max: '*', min: 0, path: Extension.extension} index: 63 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: performer} index: 64 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Who will be responsible? choices: [valueReference] index: 66 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Who will be responsible? choiceOf: value index: 67 required: [url] reasonReference: match: {url: reasonReference} schema: short: Why activity is needed array: true base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reasonReference} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Why activity is needed choices: [valueReference] index: 29 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Why activity is needed choiceOf: value index: 30 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail'} index: 89 package_version: 0.0.1-snapshot-2 extensions: description: url: description short: Extra info describing activity to perform base: {max: '*', min: 0, path: Extension.extension} index: 84 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: description} index: 85 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Extra info describing activity to perform choices: [valueString] index: 87 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: Extra info describing activity to perform choiceOf: value index: 88 required: [url] instantiatesCanonical: url: instantiatesCanonical short: Instantiates FHIR protocol or definition array: true base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: instantiatesCanonical} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Instantiates FHIR protocol or definition choices: [valueCanonical] index: 9 valueCanonical: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: canonical short: Instantiates FHIR protocol or definition choiceOf: value index: 10 required: [url] instantiatesUri: url: instantiatesUri short: Instantiates external protocol or definition 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: instantiatesUri} index: 12 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Instantiates external protocol or definition choices: [valueUri] index: 14 valueUri: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: uri short: Instantiates external protocol or definition choiceOf: value index: 15 required: [url] goal: url: goal short: Goals this activity relates to array: true base: {max: '*', min: 0, path: Extension.extension} index: 31 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: goal} index: 32 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Goals this activity relates to choices: [valueReference] index: 34 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Goals this activity relates to choiceOf: value index: 35 required: [url] reasonCode: url: reasonCode short: Why activity should be done or why activity was prohibited 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: reasonCode} index: 22 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Why activity should be done or why activity was prohibited choices: [valueCodeableConcept] index: 24 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Why activity should be done or why activity was prohibited choiceOf: value index: 25 required: [url] statusReason: url: statusReason short: Reason for current status base: {max: '*', min: 0, path: Extension.extension} index: 41 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: statusReason} index: 42 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Reason for current status choices: [valueCodeableConcept] index: 44 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Reason for current status choiceOf: value index: 45 required: [url] product[x]: url: product[x] short: What is to be administered/supplied base: {max: '*', min: 0, path: Extension.extension} index: 68 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'product[x]'} index: 69 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: What is to be administered/supplied choices: [valueCodeableConcept, valueReference] index: 71 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: What is to be administered/supplied choiceOf: value index: 72 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: What is to be administered/supplied choiceOf: value index: 73 required: [url] dailyAmount: url: dailyAmount short: How to consume/day? base: {max: '*', min: 0, path: Extension.extension} index: 74 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: dailyAmount} index: 75 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How to consume/day? choices: [valueQuantity] index: 77 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How to consume/day? choiceOf: value index: 78 required: [url] status: url: status short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error _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: status} index: 37 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error choices: [valueCode] index: 39 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error choiceOf: value index: 40 required: [url] kind: url: kind short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: kind} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription choices: [valueCode] index: 4 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription choiceOf: value index: 5 required: [url] scheduled[x]: url: scheduled[x] short: When activity is to occur base: {max: '*', min: 0, path: Extension.extension} index: 51 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'scheduled[x]'} index: 52 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: When activity is to occur choices: [valueTiming, valuePeriod, valueString] index: 54 valueTiming: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Timing short: When activity is to occur choiceOf: value index: 55 valuePeriod: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Period short: When activity is to occur choiceOf: value index: 56 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: When activity is to occur choiceOf: value index: 57 required: [url] code: url: code short: Detail type of activity base: {max: '*', min: 0, path: Extension.extension} index: 16 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: code} index: 17 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Detail type of activity choices: [valueCodeableConcept] index: 19 valueCodeableConcept: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: CodeableConcept short: Detail type of activity choiceOf: value index: 20 required: [url] doNotPerform: url: doNotPerform short: If true, activity is prohibiting action base: {max: '*', min: 0, path: Extension.extension} index: 46 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: doNotPerform} index: 47 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: If true, activity is prohibiting action choices: [valueBoolean] index: 49 valueBoolean: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: boolean short: If true, activity is prohibiting action choiceOf: value index: 50 required: [url] quantity: url: quantity short: How much to administer/supply/consume base: {max: '*', min: 0, path: Extension.extension} index: 79 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: quantity} index: 80 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: How much to administer/supply/consume choices: [valueQuantity] index: 82 valueQuantity: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Quantity short: How much to administer/supply/consume choiceOf: value index: 83 required: [url] location: url: location short: Where it should happen base: {max: '*', min: 0, path: Extension.extension} index: 58 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: location} index: 59 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Where it should happen choices: [valueReference] index: 61 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Where it should happen choiceOf: value index: 62 required: [url] performer: url: performer short: Who will be responsible? array: true base: {max: '*', min: 0, path: Extension.extension} index: 63 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: performer} index: 64 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Who will be responsible? choices: [valueReference] index: 66 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Who will be responsible? choiceOf: value index: 67 required: [url] reasonReference: url: reasonReference short: Why activity is needed array: true base: {max: '*', min: 0, path: Extension.extension} index: 26 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: reasonReference} index: 27 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Why activity is needed choices: [valueReference] index: 29 valueReference: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: Reference short: Why activity is needed choiceOf: value index: 30 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0 version: 0.0.1-snapshot-2 required: [url, extension]