description: This cross-version extension represents MedicationStatement.basedOn from http://hl7.org/fhir/StructureDefinition/MedicationStatement|4.0.1 for use in FHIR R5. package_name: hl7.fhir.uv.xver derivation: constraint name: ext_R4_MedicationStatement_basedOn type: Extension elements: value: base: {path: 'Extension.value[x]'} short: Fulfils plan, proposal or order choices: [valueReference] index: 1 valueReference: short: Fulfils plan, proposal or order refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 2 url: pattern: {type: Uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.basedOn'} index: 3 package_version: r4.r5-0.0.1-snapshot-1 class: extension kind: complex-type url: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.basedOn base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url]