description: This cross-version extension represents CarePlan.relatedPlan 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_relatedPlan type: Extension elements: extension: array: true min: 1 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: code: match: {url: null} schema: short: includes | replaces | fulfills isModifier: false index: 1 elements: value: base: {path: 'Extension.value[x]'} short: includes | replaces | fulfills choices: [valueCode] index: 3 valueCode: base: {path: 'Extension.value[x]'} type: code short: includes | replaces | fulfills choiceOf: value index: 4 plan: match: {url: null} schema: short: Plan relationship exists with isModifier: false _required: true index: 5 elements: value: base: {path: 'Extension.value[x]'} short: Plan relationship exists with choices: [valueReference] index: 7 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Plan relationship exists with choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan'] index: 8 url: pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-CarePlan.relatedPlan'} index: 9 package_version: r2.r5-0.0.1-snapshot-1 extensions: code: url: null short: includes | replaces | fulfills isModifier: false index: 1 elements: value: base: {path: 'Extension.value[x]'} short: includes | replaces | fulfills choices: [valueCode] index: 3 valueCode: base: {path: 'Extension.value[x]'} type: code short: includes | replaces | fulfills choiceOf: value index: 4 plan: url: null short: Plan relationship exists with isModifier: false _required: true index: 5 elements: value: base: {path: 'Extension.value[x]'} short: Plan relationship exists with choices: [valueReference] index: 7 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Plan relationship exists with choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan'] index: 8 class: extension kind: complex-type url: http://hl7.org/fhir/1.0/StructureDefinition/extension-CarePlan.relatedPlan base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url, extension]