description: This cross-version extension represents Medication.package from http://hl7.org/fhir/StructureDefinition/Medication|1.0.2 for use in FHIR R4. package_name: hl7.fhir.uv.xver-r2.r4 derivation: constraint name: ext_R2_Medication_package type: Extension elements: extension: array: true index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 0 slices: container: match: {url: null} schema: isModifier: false short: E.g. box, vial, blister-pack index: 1 elements: value: base: {path: 'Extension.value[x]'} short: E.g. box, vial, blister-pack choices: [valueCodeableConcept] index: 3 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: E.g. box, vial, blister-pack choiceOf: value index: 4 content: match: {url: null} schema: isModifier: false short: What is in the package array: true index: 5 extensions: item: url: null isModifier: false short: A product in the package _required: true index: 7 elements: value: base: {path: 'Extension.value[x]'} short: A product in the package choices: [valueReference] index: 9 valueReference: short: A product in the package refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 10 amount: url: null isModifier: false short: Quantity present in the package index: 11 elements: value: base: {path: 'Extension.value[x]'} short: Quantity present in the package choices: [valueQuantity] index: 13 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: Quantity present in the package choiceOf: value index: 14 elements: extension: array: true min: 1 index: 6 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: item: match: {url: null} schema: isModifier: false short: A product in the package _required: true index: 7 elements: value: base: {path: 'Extension.value[x]'} short: A product in the package choices: [valueReference] index: 9 valueReference: short: A product in the package refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 10 amount: match: {url: null} schema: isModifier: false short: Quantity present in the package index: 11 elements: value: base: {path: 'Extension.value[x]'} short: Quantity present in the package choices: [valueQuantity] index: 13 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: Quantity present in the package choiceOf: value index: 14 required: [extension] url: pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package'} index: 15 package_version: 0.0.1-snapshot-1 extensions: container: url: null isModifier: false short: E.g. box, vial, blister-pack index: 1 elements: value: base: {path: 'Extension.value[x]'} short: E.g. box, vial, blister-pack choices: [valueCodeableConcept] index: 3 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: E.g. box, vial, blister-pack choiceOf: value index: 4 content: url: null isModifier: false short: What is in the package array: true index: 5 extensions: item: url: null isModifier: false short: A product in the package _required: true index: 7 elements: value: base: {path: 'Extension.value[x]'} short: A product in the package choices: [valueReference] index: 9 valueReference: short: A product in the package refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 10 amount: url: null isModifier: false short: Quantity present in the package index: 11 elements: value: base: {path: 'Extension.value[x]'} short: Quantity present in the package choices: [valueQuantity] index: 13 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: Quantity present in the package choiceOf: value index: 14 elements: extension: array: true min: 1 index: 6 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: item: match: {url: null} schema: isModifier: false short: A product in the package _required: true index: 7 elements: value: base: {path: 'Extension.value[x]'} short: A product in the package choices: [valueReference] index: 9 valueReference: short: A product in the package refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 10 amount: match: {url: null} schema: isModifier: false short: Quantity present in the package index: 11 elements: value: base: {path: 'Extension.value[x]'} short: Quantity present in the package choices: [valueQuantity] index: 13 valueQuantity: base: {path: 'Extension.value[x]'} type: Quantity short: Quantity present in the package choiceOf: value index: 14 required: [extension] class: extension kind: complex-type url: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url]