FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSMedicationObligations.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationObligations.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations
Version0.4.0
Statusdraft
Date2026-02-22T08:17:12+00:00
NameEHDSMedicationObligations
TitleMedication model obligations
DescriptionObligations for the logical model for medication.
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
xtehr.eu.ehds.models#currentEHDSMedicationMedication model

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition EHDSMedicationObligations

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedication 0..*EHDSMedicationMedication model
... identifyingCode[x] O0..*CodeableConcept, IdentifierAn identifier (e.g. from EMA SPOR PMS or national registry) or a code (e.g. from SNOMED CT or national code system) for the product (virtual product, branded product, or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities. An identifier might not exist e.g. for substance-based prescriptions.
ObligationsActor
SHALL:able-to-populateProducer
... productName O0..1stringCurrent trade name (authorised name) of the product. When medication is specified by a CodeableConcept, the name may be omitted when available as the display name of the concept.
ObligationsActor
SHOULD:able-to-populateProducer
... doseForm O0..1CodeableConceptDose form at the package level (e.g. authorised dose form), corresponding to IDMP Combined Pharmaceutical Dose Form (this includes terms from EDQM Combination Pack or Combined Dose Form lists). Dose form for a single package item is defined in item.doseForm.
ObligationsActor
SHOULD:able-to-populateProducer
... item O0..*BaseA medication item. For combination packs, this can be multiple manufactured items with each item having its own dose form and ingredients+strengths defined
ObligationsActor
SHOULD:able-to-populateProducer
.... doseForm O0..1CodeableConceptAdministrable or manufactured item dose form, depending on the type of medication definition. This should not include combined dose forms.
ObligationsActor
SHOULD:able-to-populateProducer
.... ingredient
..... substance O1..1CodeableConceptSubstance
ObligationsActor
SHOULD:able-to-populateProducer
..... strengthInfo O0..1BaseStrength of the product - amount of substance per unit
ObligationsActor
SHOULD:able-to-populateProducer
...... strength O1..1RatioConcentration or presentation strength, e.g '100 mg/1 ml' or '500 mg per 1 tablet'
ObligationsActor
SHALL:able-to-populateProducer

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSMedicationObligations",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations",
  "version": "0.4.0",
  "name": "EHDSMedicationObligations",
  "title": "Medication  model obligations",
  "status": "draft",
  "date": "2026-02-22T08:17:12+00:00",
  "publisher": "Xt-EHR",
  "contact": [
    {
      "name": "Xt-EHR",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.xt-ehr.eu/"
        }
      ]
    }
  ],
  "description": "Obligations for the logical model for medication.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication",
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.4.0"
      }
    ],
    "element": [
      {
        "id": "EHDSMedication",
        "path": "EHDSMedication",
        "short": "Medication model",
        "definition": "Logical model for prescribed/dispensed medication. The model is shared by statements, requests, dispensations, and administrations. Each of those may have different restrictions in a FHIR profile. The model is suitable for generic/virtual medications as well as branded/real products. The model aims to have basic alignment with ISO IDMP but it does not cover the full complexity needed for medication registries.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSMedication.identifyingCode[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.identifyingCode[x]",
        "short": "An identifier (e.g. from EMA SPOR PMS or national registry) or a code (e.g. from SNOMED CT or national code system) for the product (virtual product, branded product, or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities. An identifier might not exist e.g. for substance-based prescriptions.",
        "definition": "An identifier (e.g. from EMA SPOR PMS or national registry) or a code (e.g. from SNOMED CT or national code system) for the product (virtual product, branded product, or package). If several identifiers are specified, they shall not have conflicting meanings or very different granularities. An identifier might not exist e.g. for substance-based prescriptions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedication.identifyingCode[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedication.classification",
        "path": "EHDSMedication.classification",
        "short": "Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)",
        "definition": "Classification (e.g. ATC; narcotic/psychotropic; orphan drug; etc.)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedication.classification",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "WHO ATC"
        }
      },
      {
        "id": "EHDSMedication.productName",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.productName",
        "short": "Current trade name (authorised name) of the product. When medication is specified by a CodeableConcept, the name may be omitted when available as the display name of the concept.",
        "definition": "Current trade name (authorised name) of the product. When medication is specified by a CodeableConcept, the name may be omitted when available as the display name of the concept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.productName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedication.marketingAuthorisationHolder",
        "path": "EHDSMedication.marketingAuthorisationHolder",
        "short": "Marketing authorisation holder of the medicinal product. Relevant for identifying the exact product. If the product does not have a marketing authorisation, the manufacturer information may be used.",
        "definition": "Marketing authorisation holder of the medicinal product. Relevant for identifying the exact product. If the product does not have a marketing authorisation, the manufacturer information may be used.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.marketingAuthorisationHolder",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedication.marketingAuthorisationHolder.organisationName",
        "path": "EHDSMedication.marketingAuthorisationHolder.organisationName",
        "short": "Name of the organisation holding the authorisation for marketing/manufacturing",
        "definition": "Name of the organisation holding the authorisation for marketing/manufacturing",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.marketingAuthorisationHolder.organisationName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
        "path": "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
        "short": "Identifier of the organisation and/or its physical location",
        "definition": "Identifier of the organisation and/or its physical location",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedication.marketingAuthorisationHolder.organisationIdentifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedication.doseForm",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.doseForm",
        "short": "Dose form at the package level (e.g. authorised dose form), corresponding to IDMP Combined Pharmaceutical Dose Form (this includes terms from EDQM Combination Pack or Combined Dose Form lists). Dose form for a single package item is defined in item.doseForm.",
        "definition": "Dose form at the package level (e.g. authorised dose form), corresponding to IDMP Combined Pharmaceutical Dose Form (this includes terms from EDQM Combination Pack or Combined Dose Form lists). Dose form for a single package item is defined in item.doseForm.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.doseForm",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedication.description",
        "path": "EHDSMedication.description",
        "short": "Textual description of the product, e.g. including package description.",
        "definition": "Textual description of the product, e.g. including package description.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedication.item",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item",
        "short": "A medication item. For combination packs, this can be multiple manufactured items with each item having its own dose form and ingredients+strengths defined",
        "definition": "A medication item. For combination packs, this can be multiple manufactured items with each item having its own dose form and ingredients+strengths defined",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedication.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedication.item.doseForm",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.doseForm",
        "short": "Administrable or manufactured item dose form, depending on the type of medication definition. This should not include combined dose forms.",
        "definition": "Administrable or manufactured item dose form, depending on the type of medication definition. This should not include combined dose forms.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.doseForm",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedication.item.ingredient",
        "path": "EHDSMedication.item.ingredient",
        "short": "Ingredients",
        "definition": "Ingredients",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSMedication.item.ingredient",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedication.item.ingredient.isActive",
        "path": "EHDSMedication.item.ingredient.isActive",
        "short": "Marks whether the ingredient is considered an active ingredient. Excipients are typically not needed, and by default only active ingredients are expected.",
        "definition": "Marks whether the ingredient is considered an active ingredient. Excipients are typically not needed, and by default only active ingredients are expected.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.ingredient.isActive",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "EHDSMedication.item.ingredient.substance",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.ingredient.substance",
        "short": "Substance",
        "definition": "Substance",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.ingredient.substance",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "EMA SPOR SMS"
        }
      },
      {
        "id": "EHDSMedication.item.ingredient.strengthInfo",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.ingredient.strengthInfo",
        "short": "Strength of the product - amount of substance per unit",
        "definition": "Strength of the product - amount of substance per unit",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.ingredient.strengthInfo",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedication.item.ingredient.strengthInfo.strength",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.ingredient.strengthInfo.strength",
        "short": "Concentration or presentation strength, e.g '100 mg/1 ml' or '500 mg per 1 tablet'",
        "definition": "Concentration or presentation strength, e.g '100 mg/1 ml' or '500 mg per 1 tablet'",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.ingredient.strengthInfo.strength",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Ratio"
          }
        ]
      },
      {
        "id": "EHDSMedication.item.ingredient.strengthInfo.basisOfStrengthSubstance",
        "path": "EHDSMedication.item.ingredient.strengthInfo.basisOfStrengthSubstance",
        "short": "Substance that the strength refers to, especially when different from .item.strength.substance",
        "definition": "Substance that the strength refers to, especially when different from .item.strength.substance",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.ingredient.strengthInfo.basisOfStrengthSubstance",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "EMA SPOR SMS"
        }
      },
      {
        "id": "EHDSMedication.item.unitOfPresentation",
        "path": "EHDSMedication.item.unitOfPresentation",
        "short": "Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package.",
        "definition": "Unit of presentation for the manufactured item (tablet, vial, tube). Typically, the smallest countable object in the package.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.unitOfPresentation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedication.item.containedQuantity",
        "path": "EHDSMedication.item.containedQuantity",
        "short": "Manufactured item quantity per one item (3 ml / 1 vial)",
        "definition": "Manufactured item quantity per one item (3 ml / 1 vial)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.containedQuantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Ratio"
          }
        ]
      },
      {
        "id": "EHDSMedication.item.amount",
        "path": "EHDSMedication.item.amount",
        "short": "Number of such items in this product (5 vials). The combined amount of all items will be considered to be the total package size.",
        "definition": "Number of such items in this product (5 vials). The combined amount of all items will be considered to be the total package size.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.amount",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM for units of measure. EDQM Standard Terms for units of presentation."
        }
      },
      {
        "id": "EHDSMedication.item.packageType",
        "path": "EHDSMedication.item.packageType",
        "short": "Type of package of the medication item",
        "definition": "Type of package of the medication item",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.item.packageType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "EDQM Standard Terms for packaging."
        }
      },
      {
        "id": "EHDSMedication.device",
        "path": "EHDSMedication.device",
        "short": "Administration device included in the product. Devices that are not inside the medication package are excluded.",
        "definition": "Administration device included in the product. Devices that are not inside the medication package are excluded.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedication.device",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedication.device.deviceQuantity",
        "path": "EHDSMedication.device.deviceQuantity",
        "short": "Number of such devices",
        "definition": "Number of such devices",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedication.device.deviceQuantity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "EHDSMedication.device.device[x]",
        "path": "EHDSMedication.device.device[x]",
        "short": "Device coded",
        "definition": "Device coded",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedication.device.device[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
          }
        ]
      },
      {
        "id": "EHDSMedication.characteristic",
        "path": "EHDSMedication.characteristic",
        "short": "Additional features of the product (e.g. reimbursable, sugar-free, easy-open cap, score-lined). It is expected that implementers will define a valueset supporting their use cases.",
        "definition": "Additional features of the product (e.g. reimbursable, sugar-free, easy-open cap, score-lined). It is expected that implementers will define a valueset supporting their use cases.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedication.characteristic",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedication.characteristic.type",
        "path": "EHDSMedication.characteristic.type",
        "short": "A code expressing the type of characteristic.",
        "definition": "A code expressing the type of characteristic.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedication.characteristic.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedication.characteristic.value[x]",
        "path": "EHDSMedication.characteristic.value[x]",
        "short": "Description of the characteristic value.",
        "definition": "Description of the characteristic value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.characteristic.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "integer"
          },
          {
            "code": "decimal"
          },
          {
            "code": "Ratio"
          }
        ]
      },
      {
        "id": "EHDSMedication.batch",
        "path": "EHDSMedication.batch",
        "short": "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.",
        "definition": "Batch information of a medicinal product. Typically recorded during dispense or administration, rarely known or relevant for a prescription/request.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.batch",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedication.batch.lotNumber",
        "path": "EHDSMedication.batch.lotNumber",
        "short": "Batch identifier of the medicinal product.",
        "definition": "Batch identifier of the medicinal product.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.batch.lotNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedication.batch.expirationDate",
        "path": "EHDSMedication.batch.expirationDate",
        "short": "Batch expiration date of the medicinal product.",
        "definition": "Batch expiration date of the medicinal product.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedication.batch.expirationDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSMedication",
        "path": "EHDSMedication"
      },
      {
        "id": "EHDSMedication.identifyingCode[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.identifyingCode[x]"
      },
      {
        "id": "EHDSMedication.productName",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.productName"
      },
      {
        "id": "EHDSMedication.doseForm",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.doseForm"
      },
      {
        "id": "EHDSMedication.item",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item"
      },
      {
        "id": "EHDSMedication.item.doseForm",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.doseForm"
      },
      {
        "id": "EHDSMedication.item.ingredient.substance",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.ingredient.substance"
      },
      {
        "id": "EHDSMedication.item.ingredient.strengthInfo",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.ingredient.strengthInfo"
      },
      {
        "id": "EHDSMedication.item.ingredient.strengthInfo.strength",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedication.item.ingredient.strengthInfo.strength"
      }
    ]
  }
}