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-r2.r5 derivation: constraint name: ext_R2_CarePlan_ac_detail type: Extension elements: extension: array: true min: 1 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: description: match: {url: null} schema: isModifier: false short: Extra info describing activity to perform index: 60 elements: value: base: {path: 'Extension.value[x]'} short: Extra info describing activity to perform choices: [valueString] index: 62 valueString: base: {path: 'Extension.value[x]'} type: string short: Extra info describing activity to perform choiceOf: value index: 63 category: match: {url: null} schema: isModifier: false short: diet | drug | encounter | observation | procedure | supply | other index: 1 elements: value: base: {path: 'Extension.value[x]'} short: diet | drug | encounter | observation | procedure | supply | other choices: [valueCodeableConcept] index: 3 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: diet | drug | encounter | observation | procedure | supply | other choiceOf: value index: 4 prohibited: match: {url: null} schema: isModifier: true short: Do NOT do _required: true isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.prohibited is flagged IsModifier index: 29 elements: value: base: {path: 'Extension.value[x]'} short: Do NOT do choices: [valueBoolean] index: 31 valueBoolean: base: {path: 'Extension.value[x]'} type: boolean short: Do NOT do choiceOf: value index: 32 goal: match: {url: null} schema: isModifier: false short: Goals this activity relates to array: true index: 17 elements: value: base: {path: 'Extension.value[x]'} short: Goals this activity relates to choices: [valueReference] index: 19 valueReference: short: Goals this activity relates to refers: ['http://hl7.org/fhir/StructureDefinition/Goal'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 20 reasonCode: match: {url: null} schema: isModifier: false short: Why activity should be done array: true index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Why activity should be done choices: [valueCodeableConcept] index: 11 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Why activity should be done choiceOf: value index: 12 statusReason: match: {url: null} schema: isModifier: false short: Reason for current status index: 25 elements: value: base: {path: 'Extension.value[x]'} short: Reason for current status choices: [valueCodeableConcept] index: 27 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Reason for current status choiceOf: value index: 28 product[x]: match: {url: null} schema: isModifier: false short: What is to be administered/supplied index: 47 elements: value: base: {path: 'Extension.value[x]'} short: What is to be administered/supplied choices: [valueCodeableConcept, valueReference] index: 49 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: What is to be administered/supplied choiceOf: value index: 50 valueReference: short: What is to be administered/supplied refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 51 dailyAmount: match: {url: null} schema: isModifier: false short: How to consume/day? index: 52 elements: value: base: {path: 'Extension.value[x]'} short: How to consume/day? choices: [valueQuantity] index: 54 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: How to consume/day? choiceOf: value index: 55 status: match: {url: null} schema: isModifier: true short: not-started | scheduled | in-progress | on-hold | completed | cancelled isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.status is flagged IsModifier index: 21 elements: value: base: {path: 'Extension.value[x]'} short: not-started | scheduled | in-progress | on-hold | completed | cancelled choices: [valueCode] index: 23 valueCode: base: {path: 'Extension.value[x]'} type: code short: not-started | scheduled | in-progress | on-hold | completed | cancelled choiceOf: value index: 24 scheduled[x]: match: {url: null} schema: isModifier: false short: When activity is to occur index: 33 elements: value: base: {path: 'Extension.value[x]'} short: When activity is to occur choices: [valueTiming, valuePeriod, valueString] index: 35 valueTiming: base: {path: 'Extension.value[x]'} type: Timing short: When activity is to occur choiceOf: value index: 36 valuePeriod: base: {path: 'Extension.value[x]'} type: Period short: When activity is to occur choiceOf: value index: 37 valueString: base: {path: 'Extension.value[x]'} type: string short: When activity is to occur choiceOf: value index: 38 code: match: {url: null} schema: isModifier: false short: Detail type of activity index: 5 elements: value: base: {path: 'Extension.value[x]'} short: Detail type of activity choices: [valueCodeableConcept] index: 7 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Detail type of activity choiceOf: value index: 8 quantity: match: {url: null} schema: isModifier: false short: How much to administer/supply/consume index: 56 elements: value: base: {path: 'Extension.value[x]'} short: How much to administer/supply/consume choices: [valueQuantity] index: 58 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: How much to administer/supply/consume choiceOf: value index: 59 location: match: {url: null} schema: isModifier: false short: Where it should happen index: 39 elements: value: base: {path: 'Extension.value[x]'} short: Where it should happen choices: [valueReference] index: 41 valueReference: short: Where it should happen refers: ['http://hl7.org/fhir/StructureDefinition/Location'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 42 performer: match: {url: null} schema: isModifier: false short: Who will be responsible? array: true index: 43 elements: value: base: {path: 'Extension.value[x]'} short: Who will be responsible? choices: [valueReference] index: 45 valueReference: short: Who will be responsible? refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 46 reasonReference: match: {url: null} schema: isModifier: false short: Condition triggering need for activity array: true index: 13 elements: value: base: {path: 'Extension.value[x]'} short: Condition triggering need for activity choices: [valueReference] index: 15 valueReference: short: Condition triggering need for activity refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 16 url: pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-CarePlan.activity.detail'} index: 64 package_version: 0.0.1-snapshot-1 extensions: description: url: null isModifier: false short: Extra info describing activity to perform index: 60 elements: value: base: {path: 'Extension.value[x]'} short: Extra info describing activity to perform choices: [valueString] index: 62 valueString: base: {path: 'Extension.value[x]'} type: string short: Extra info describing activity to perform choiceOf: value index: 63 category: url: null isModifier: false short: diet | drug | encounter | observation | procedure | supply | other index: 1 elements: value: base: {path: 'Extension.value[x]'} short: diet | drug | encounter | observation | procedure | supply | other choices: [valueCodeableConcept] index: 3 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: diet | drug | encounter | observation | procedure | supply | other choiceOf: value index: 4 prohibited: url: null isModifier: true short: Do NOT do _required: true isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.prohibited is flagged IsModifier index: 29 elements: value: base: {path: 'Extension.value[x]'} short: Do NOT do choices: [valueBoolean] index: 31 valueBoolean: base: {path: 'Extension.value[x]'} type: boolean short: Do NOT do choiceOf: value index: 32 goal: url: null isModifier: false short: Goals this activity relates to array: true index: 17 elements: value: base: {path: 'Extension.value[x]'} short: Goals this activity relates to choices: [valueReference] index: 19 valueReference: short: Goals this activity relates to refers: ['http://hl7.org/fhir/StructureDefinition/Goal'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 20 reasonCode: url: null isModifier: false short: Why activity should be done array: true index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Why activity should be done choices: [valueCodeableConcept] index: 11 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Why activity should be done choiceOf: value index: 12 statusReason: url: null isModifier: false short: Reason for current status index: 25 elements: value: base: {path: 'Extension.value[x]'} short: Reason for current status choices: [valueCodeableConcept] index: 27 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Reason for current status choiceOf: value index: 28 product[x]: url: null isModifier: false short: What is to be administered/supplied index: 47 elements: value: base: {path: 'Extension.value[x]'} short: What is to be administered/supplied choices: [valueCodeableConcept, valueReference] index: 49 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: What is to be administered/supplied choiceOf: value index: 50 valueReference: short: What is to be administered/supplied refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 51 dailyAmount: url: null isModifier: false short: How to consume/day? index: 52 elements: value: base: {path: 'Extension.value[x]'} short: How to consume/day? choices: [valueQuantity] index: 54 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: How to consume/day? choiceOf: value index: 55 status: url: null isModifier: true short: not-started | scheduled | in-progress | on-hold | completed | cancelled isModifierReason: This extension is a modifier because the target element CarePlan.activity.detail.status is flagged IsModifier index: 21 elements: value: base: {path: 'Extension.value[x]'} short: not-started | scheduled | in-progress | on-hold | completed | cancelled choices: [valueCode] index: 23 valueCode: base: {path: 'Extension.value[x]'} type: code short: not-started | scheduled | in-progress | on-hold | completed | cancelled choiceOf: value index: 24 scheduled[x]: url: null isModifier: false short: When activity is to occur index: 33 elements: value: base: {path: 'Extension.value[x]'} short: When activity is to occur choices: [valueTiming, valuePeriod, valueString] index: 35 valueTiming: base: {path: 'Extension.value[x]'} type: Timing short: When activity is to occur choiceOf: value index: 36 valuePeriod: base: {path: 'Extension.value[x]'} type: Period short: When activity is to occur choiceOf: value index: 37 valueString: base: {path: 'Extension.value[x]'} type: string short: When activity is to occur choiceOf: value index: 38 code: url: null isModifier: false short: Detail type of activity index: 5 elements: value: base: {path: 'Extension.value[x]'} short: Detail type of activity choices: [valueCodeableConcept] index: 7 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Detail type of activity choiceOf: value index: 8 quantity: url: null isModifier: false short: How much to administer/supply/consume index: 56 elements: value: base: {path: 'Extension.value[x]'} short: How much to administer/supply/consume choices: [valueQuantity] index: 58 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: How much to administer/supply/consume choiceOf: value index: 59 location: url: null isModifier: false short: Where it should happen index: 39 elements: value: base: {path: 'Extension.value[x]'} short: Where it should happen choices: [valueReference] index: 41 valueReference: short: Where it should happen refers: ['http://hl7.org/fhir/StructureDefinition/Location'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 42 performer: url: null isModifier: false short: Who will be responsible? array: true index: 43 elements: value: base: {path: 'Extension.value[x]'} short: Who will be responsible? choices: [valueReference] index: 45 valueReference: short: Who will be responsible? refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 46 reasonReference: url: null isModifier: false short: Condition triggering need for activity array: true index: 13 elements: value: base: {path: 'Extension.value[x]'} short: Condition triggering need for activity choices: [valueReference] index: 15 valueReference: short: Condition triggering need for activity refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 16 class: extension kind: complex-type url: http://hl7.org/fhir/1.0/StructureDefinition/extension-CarePlan.activity.detail base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url, extension]