description: Identifies the type or classification of a medication entry. When used on the\nMedication resource, it indicates the overall nature of the medication record\n(e.g., whether it represents a branded product, a generic product, or an\nextemporaneous preparation). When used on Medication.code.coding, it classifies\nthe specific coding within the codeable concept, distinguishing whether that\nparticular code refers to a medicinal product, a medicinal product package, or\nan extemporaneous preparation. package_name: hl7.fhir.uv.extensions.r4 derivation: constraint name: MedicationType type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/medication-type'} index: 1 value: choices: [valueCodeableConcept] index: 3 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 4} package_version: 5.3.0 extensions: {} class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/medication-type base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.3.0 required: [value, valueCodeableConcept]