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

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSMedicationPrescriptionObligations.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationPrescriptionObligations.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations
Version0.4.0
Statusdraft
Date2026-03-25T12:28:36+00:00
NameEHDSMedicationPrescriptionObligations
TitleMedication prescription model obligations
DescriptionObligations for the logical model for medication prescription body for prescribing systems (producer) and dispensing systems (consumer).
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
xtehr.eu.ehds.models#currentEHDSMedicationPrescriptionMedication prescription model

Narrative

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

Generated Narrative: StructureDefinition EHDSMedicationPrescriptionObligations

Language: en

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSMedicationPrescription 0..*EHDSMedicationPrescriptionMedication prescription model
... header
.... subject O1..1EHDSPatientThe person for whom the medication is prescribed/ordered. [Used for searching]
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... identifier O1..*IdentifierBusiness identifier(s) for the prescription. [Used for searching]
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... author[x] O1..*EHDSHealthProfessional, EHDSOrganisationThe prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... date O1..1dateTimeTime of issuing (signing) the prescription by health care professional. [Used for searching]
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... status O1..1CodeableConceptStatus of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching]
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
... presentedForm O0..*EHDSAttachmentEntire prescription as issued. Various formats could be provided, PDF format is recommended.
ObligationsActor
SHOULD:able-to-populateProducer
SHOULD:displayConsumer
... prescriptionItem O1..*BasePrescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... identifier O1..*IdentifierIdentifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... status O1..1CodeableConceptStatus of a single item of a multi-item prescription. In case of single-item prescriptions, the status of prescription has the same meaning as the status of the item. [Used for searching]
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... medication O1..1EHDSMedicationPrescribed product, branded, generic, virtual, extemporal, etc
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... quantityPrescribed O0..1QuantityOverall quantity of prescribed product (e.g number of packages or number of tablets).
ObligationsActor
SHOULD:able-to-populateProducer
SHOULD:processConsumer
.... dosageInstructions O1..1EHDSDosageDosage and administration instructions
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... validityPeriod O0..1PeriodThe period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.
ObligationsActor
SHOULD:able-to-populateProducer
SHOULD:processConsumer
.... substitution O0..1BaseWhether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.
ObligationsActor
SHOULD:able-to-populateProducer
SHOULD:processConsumer
..... allowed[x] O0..1boolean, CodeableConceptWhether and to what extent substitution is allowed.
ObligationsActor
SHALL:able-to-populateProducer
SHALL:processConsumer
.... note O0..1stringAdditional information or comments, e.g. message to the dispenser
ObligationsActor
SHOULD:able-to-populateProducer
SHOULD:displayConsumer

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSMedicationPrescriptionObligations",
  "language": "en",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations",
  "version": "0.4.0",
  "name": "EHDSMedicationPrescriptionObligations",
  "title": "Medication prescription model obligations",
  "status": "draft",
  "date": "2026-03-25T12:28:36+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 prescription body for prescribing systems (producer) and dispensing systems (consumer).",
  "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/EHDSMedicationPrescription",
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescription",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.4.0"
      }
    ],
    "element": [
      {
        "id": "EHDSMedicationPrescription",
        "path": "EHDSMedicationPrescription",
        "short": "Medication prescription model",
        "definition": "Logical model for medication prescription. A prescription contains one or more prescription items (medications).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header",
        "path": "EHDSMedicationPrescription.header",
        "short": "Prescription header",
        "definition": "Prescription header",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.subject",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL process the patient information for identification purposes."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.subject",
        "short": "The person for whom the medication is prescribed/ordered. [Used for searching]",
        "definition": "The person for whom the medication is prescribed/ordered. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.identifier",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "For a single-item prescription these identifiers SHALL match prescriptionItem.identifier."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL use this prescription identifier for reference in the dispense record."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.identifier",
        "short": "Business identifier(s) for the prescription. [Used for searching]",
        "definition": "Business identifier(s) for the prescription. [Used for searching]",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.author[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least EHDSHealthProfessional data type for the element."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.author[x]",
        "short": "The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]",
        "definition": "The prescriber, the person who made the prescription, and who takes the responsibility for the treatment. [Used for searching]",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.author[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.date",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.date",
        "short": "Time of issuing (signing) the prescription by health care professional. [Used for searching]",
        "definition": "Time of issuing (signing) the prescription by health care professional. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.status",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL process the prescription status together with other information to determine dispensability."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.status",
        "short": "Status of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching]",
        "definition": "Status of authorisation for dispensing the prescription items. This should not be the status of treatment. For a multiple-item prescription, this conveys the aggregate status of the entire prescription. In case of a single-item prescription, prescriptionItem.status shall be the same as EHDSMedicationPrescription.header.status. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.source",
        "path": "EHDSMedicationPrescription.header.source",
        "short": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "definition": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "EHDSDataSet.header.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.header.language",
        "path": "EHDSMedicationPrescription.header.language",
        "short": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "BCP 47"
        }
      },
      {
        "id": "EHDSMedicationPrescription.header.statusReason[x]",
        "path": "EHDSMedicationPrescription.header.statusReason[x]",
        "short": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.",
        "definition": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or changed from a previous state.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.header.statusReason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.presentedForm",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHOULD be able to provide a rendered, human-readable version of the prescription."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:display"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.presentedForm",
        "short": "Entire prescription as issued. Various formats could be provided, PDF format is recommended.",
        "definition": "Entire prescription as issued. Various formats could be provided, PDF format is recommended.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.presentedForm",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem",
        "short": "Prescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.",
        "definition": "Prescription line for one medication. In many countries, only one item is allowed and there shall be no expectation to be able to manage multiple items. In case multiple medications are allowed, all items need to be authored together.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.identifier",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "For a single-item prescription these identifiers SHALL match .identifier."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL use this prescription identifier for reference in the dispense record."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
        "short": "Identifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]",
        "definition": "Identifier for a single item on prescription, if exists. In case of single-item prescription, this identifier is typically the same as prescription identifier. [Used for searching]",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.identifier",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.status",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL process the prescription status together with other information to determine dispensability."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.status",
        "short": "Status of a single item of a multi-item prescription. In case of single-item prescriptions, the status of prescription has the same meaning as the status of the item. [Used for searching]",
        "definition": "Status of a single item of a multi-item prescription. In case of single-item prescriptions, the status of prescription has the same meaning as the status of the item. [Used for searching]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
        "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
        "short": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or why the prescription was changed from previous",
        "definition": "Reason for the current status of prescription, for example the reason why the prescription was made invalid or why the prescription was changed from previous",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.statusReason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.medication",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.medication",
        "short": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "definition": "Prescribed product, branded, generic, virtual, extemporal, etc",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.medication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedication"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.indication[x]",
        "path": "EHDSMedicationPrescription.prescriptionItem.indication[x]",
        "short": "Reason for the prescription (typically diagnosis, or a procedure)",
        "definition": "Reason for the prescription (typically diagnosis, or a procedure)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.indication[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "ICD-10, SNOMED CT, Orphacode"
        }
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.intendedUseType",
        "path": "EHDSMedicationPrescription.prescriptionItem.intendedUseType",
        "short": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
        "definition": "Intent of the prescription - prophylaxis, treatment, anesthesia, etc",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.intendedUseType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.periodOfUse",
        "path": "EHDSMedicationPrescription.prescriptionItem.periodOfUse",
        "short": "Period over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)",
        "definition": "Period over which the medication is to be taken (in case of multiple dosage schemes, this would be the overall period of all dosages.)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.periodOfUse",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
        "short": "Overall quantity of prescribed product (e.g number of packages or number of tablets).",
        "definition": "Overall quantity of prescribed product (e.g number of packages or number of tablets).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "UCUM, EDQM Standard Terms"
        }
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "short": "Dosage and administration instructions",
        "definition": "Dosage and administration instructions",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDosage"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.validityPeriod",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.validityPeriod",
        "short": "The period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.",
        "definition": "The period over which the prescription is considered valid and dispensable. validityPeriod.start is, if missing, is assumed to be the date of issuing the prescription.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.validityPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.substitution",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
        "short": "Whether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.",
        "definition": "Whether and which type of substitution is allowed for this prescription. The legislation in the country of dispense applies, e.g. if this information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least the boolean data type."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least the boolean data type."
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
        "short": "Whether and to what extent substitution is allowed.",
        "definition": "Whether and to what extent substitution is allowed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
        "short": "Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)",
        "definition": "Reason for the substitution requirement (e.g. Biological product, Patient allergic to an excipient in alternative products, etc)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.substitution.reason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.numberOfRepeats",
        "path": "EHDSMedicationPrescription.prescriptionItem.numberOfRepeats",
        "short": "Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense. The default value is 0 (no repeats).",
        "definition": "Number of refills authorised - how many times the prescription item can be dispensed in addition to the original dispense. The default value is 0 (no repeats).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.numberOfRepeats",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
        "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
        "short": "Minimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.",
        "definition": "Minimum dispense interval. If a prescription allows for repeated dispensations, the interval between dispensations shall be stated here.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.minimumDispenseInterval",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.offLabel",
        "path": "EHDSMedicationPrescription.prescriptionItem.offLabel",
        "short": "Indicates that the prescriber has knowingly prescribed the medication for an indication, age group, dosage, or route of administration that is not approved by the regulatory agencies and is not mentioned in the prescribing information for the drug",
        "definition": "Indicates that the prescriber has knowingly prescribed the medication for an indication, age group, dosage, or route of administration that is not approved by the regulatory agencies and is not mentioned in the prescribing information for the drug",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
        "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
        "short": "Indicates off-label use. Must be 'true' when .reason is provided.",
        "definition": "Indicates off-label use. Must be 'true' when .reason is provided.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.isOffLabelUse",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
        "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
        "short": "Reason or related clarification for off-label use",
        "definition": "Reason or related clarification for off-label use",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.offLabel.reason[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.note",
        "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/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:display"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                "valueCanonical": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSMedicationPrescriptionObligations|0.4.0"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.note",
        "short": "Additional information or comments, e.g. message to the dispenser",
        "definition": "Additional information or comments, e.g. message to the dispenser",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSMedicationPrescription.prescriptionItem.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSMedicationPrescription",
        "path": "EHDSMedicationPrescription"
      },
      {
        "id": "EHDSMedicationPrescription.header.subject",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL process the patient information for identification purposes."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.subject"
      },
      {
        "id": "EHDSMedicationPrescription.header.identifier",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "For a single-item prescription these identifiers SHALL match prescriptionItem.identifier."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL use this prescription identifier for reference in the dispense record."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.identifier"
      },
      {
        "id": "EHDSMedicationPrescription.header.author[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least EHDSHealthProfessional data type for the element."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.author[x]"
      },
      {
        "id": "EHDSMedicationPrescription.header.date",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.date"
      },
      {
        "id": "EHDSMedicationPrescription.header.status",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL process the prescription status together with other information to determine dispensability."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.header.status"
      },
      {
        "id": "EHDSMedicationPrescription.presentedForm",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHOULD be able to provide a rendered, human-readable version of the prescription."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:display"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.presentedForm"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.identifier",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "For a single-item prescription these identifiers SHALL match .identifier."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL use this prescription identifier for reference in the dispense record."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.identifier"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.status",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL process the prescription status together with other information to determine dispensability."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.status"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.medication",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.medication"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.quantityPrescribed"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.dosageInstructions"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.validityPeriod",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.validityPeriod"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.substitution",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]",
        "extension": [
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:able-to-populate"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-producer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least the boolean data type."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHALL:process"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              },
              {
                "url": "documentation",
                "valueMarkdown": "System SHALL support at least the boolean data type."
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.substitution.allowed[x]"
      },
      {
        "id": "EHDSMedicationPrescription.prescriptionItem.note",
        "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"
          },
          {
            "extension": [
              {
                "url": "code",
                "valueCode": "SHOULD:display"
              },
              {
                "url": "actor",
                "valueCanonical": "https://www.xt-ehr.eu/specifications/fhir/actor-consumer"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/obligation"
          }
        ],
        "path": "EHDSMedicationPrescription.prescriptionItem.note"
      }
    ]
  }
}