PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu1@1.0.4
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication
description: Defines the UK Core constraints and extensions on the Medication resource for the minimal set of data to query and retrieve medication information.
package_name: fhir.r4.ukcore.stu1
derivation: constraint
name: UKCoreMedication
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        MedicationTradeFamily:
          match: {url: null}
          schema: {type: Extension, short: 'A Trade Family or brand associated with a Medication, in particular a Virtual Therapeutic Moiety (VTM)', url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationTradeFamily', index: 1}
  identifier:
    elements:
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
        index: 2
  code:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationCode'}
    index: 3
  manufacturer:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
    index: 4
    elements:
      identifier:
        elements:
          assigner:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
            index: 5
  form:
    binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationForm'}
    index: 6
  ingredient:
    elements:
      item:
        choices: [itemCodeableConcept, itemReference]
        index: 8
      itemCodeableConcept: {type: CodeableConcept, choiceOf: item, index: 9}
      itemReference:
        type: Reference
        choiceOf: item
        refers: ['http://hl7.org/fhir/StructureDefinition/Substance', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication']
        index: 10
package_version: 1.0.4
extensions:
  MedicationTradeFamily: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationTradeFamily', type: Extension, short: 'A Trade Family or brand associated with a Medication, in particular a Virtual Therapeutic Moiety (VTM)', index: 1}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 2.2.0
required: [code]