{
  "resourceType": "StructureDefinition",
  "url": "http://digen.nublar.de/fhir/StructureDefinition/DigenAbstractPresentableMedicationStatement",
  "version": "Sprint12",
  "name": "DigenAbstractPresentableMedicationStatement",
  "status": "draft",
  "description": "The DiGeN PresentableMedicationStatement (aka PMS) is derived object that pulls together data from multiple sources to create a unified view on a patient's interactions with a specific medication. The resource includes multiple contained resources to allow for simple retrieval of the complete object. Please note that requesting the backend to store this resource will lead to changed data being persisted in the dedicated backend structures, but the resource itself will be discarded and a new instance will be derived instead.",
  "copyright": "AOK BV",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": true,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.meta.lastUpdated",
        "path": "MedicationStatement.meta.lastUpdated",
        "comment": "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This can be used for querying for new data."
      },
      {
        "id": "MedicationStatement.meta.security",
        "path": "MedicationStatement.meta.security",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "max": "1"
      },
      {
        "id": "MedicationStatement.meta.security:confidentialityCode",
        "path": "MedicationStatement.meta.security",
        "sliceName": "confidentialityCode",
        "short": "Confidentiality",
        "definition": "The confidentiality of the object. Based on the patient's judgement or the object's origin (e.g. if it is derived from claims data). Among other things, this allows the patient to hide the object from all other users.",
        "max": "1",
        "defaultValueCoding": {
          "system": "http://hl7.org/fhir/v3/Confidentiality",
          "code": "R",
          "display": "Restricted"
        },
        "binding": {
          "strength": "required",
          "description": "ValueSet for confidentialityCodes in DiGeN",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/confidentialityCodesForDiGeN"
          }
        }
      },
      {
        "id": "MedicationStatement.meta.security:confidentialityCode.id",
        "path": "MedicationStatement.meta.security.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.meta.security:confidentialityCode.system",
        "path": "MedicationStatement.meta.security.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.security:confidentialityCode.version",
        "path": "MedicationStatement.meta.security.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.meta.security:confidentialityCode.code",
        "path": "MedicationStatement.meta.security.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.security:confidentialityCode.userSelected",
        "path": "MedicationStatement.meta.security.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.meta.tag",
        "path": "MedicationStatement.meta.tag",
        "max": "0"
      },
      {
        "id": "MedicationStatement.implicitRules",
        "path": "MedicationStatement.implicitRules",
        "max": "0"
      },
      {
        "id": "MedicationStatement.language",
        "path": "MedicationStatement.language",
        "fixedCode": "de"
      },
      {
        "id": "MedicationStatement.contained",
        "path": "MedicationStatement.contained",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.contained:medicationResource",
        "path": "MedicationStatement.contained",
        "sliceName": "medicationResource",
        "short": "Main Medication Resource",
        "definition": "Medication that the containing MedicationStatement focusses on. All Medication data comes from the Medication-DB and is read-only.",
        "comment": "Medication Resourcess included in create/update interactions will be ignored, as all Medication data comes from the Medication-DB and is read-only. Referenced from medicationReference.",
        "max": "1",
        "type": [
          {
            "code": "Medication",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/DigenMedication"
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:medicationResource.text",
        "path": "MedicationStatement.contained.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.contained:dispenseResource",
        "path": "MedicationStatement.contained",
        "sliceName": "dispenseResource",
        "short": "Erwerbsdaten",
        "definition": "This MedicationDispense Resource stores the dispensing information for the containing MedicationStatement",
        "comment": "Referenced from partOf",
        "max": "1",
        "type": [
          {
            "code": "MedicationDispense",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/DigenMedicationStatementDispense"
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:requestResource",
        "path": "MedicationStatement.contained",
        "sliceName": "requestResource",
        "short": "Verordnungsdaten",
        "definition": "This MedicationRequest Resource stores the ordering information for the containing MedicationStatement",
        "comment": "Referenced from basedOn",
        "max": "1",
        "type": [
          {
            "code": "MedicationRequest",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/DigenMedicationStatementRequest"
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:informationSourcePractitionerResource",
        "path": "MedicationStatement.contained",
        "sliceName": "informationSourcePractitionerResource",
        "short": "Ausgedruckt von",
        "definition": "The practitioner that printed out the medication plan for the patient. This must be included inline, as we do not know the LANR.",
        "comment": "Referenced from informationSource\r\nAlthough the medication plan may be created by either a Practitioner (individual physician) or an Organization (hospital, pharmacy) we wanted to simplify usage. We therefore always use the practitioner resource and do not require distinguishing between individuals and organizations.",
        "max": "1",
        "type": [
          {
            "code": "Practitioner",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/DigenBmpPractitioner"
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:informationSourcePractitionerResource.identifier",
        "path": "MedicationStatement.contained.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.contained:informationSourcePractitionerResource.telecom",
        "path": "MedicationStatement.contained.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.extension",
        "path": "MedicationStatement.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.extension:validationlevel",
        "path": "MedicationStatement.extension",
        "sliceName": "validationlevel",
        "short": "Validationlevel",
        "definition": "Defines the validationlevel of the object. This enables the DiGeN backend to distinguish between different variants of the same resource, based on whether the patient or a professional validated the data.",
        "type": [
          {
            "code": "Extension",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/ValidationlevelExtension"
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:BmpPrintDate",
        "path": "MedicationStatement.extension",
        "sliceName": "BmpPrintDate",
        "short": "Ausdruckdatum BMP",
        "definition": "Date when the BMP (Bundesmedikationsplan) was printed.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/BmpPrintDate"
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:BmpPrintDate.valueDate:valueDate",
        "path": "MedicationStatement.extension.valueDate",
        "sliceName": "valueDate",
        "short": "Ausdrucksdatum BMP",
        "definition": "Date when the BMP (Bundesmedikationsplan) was printed."
      },
      {
        "id": "MedicationStatement.extension:previousEffectivePeriod",
        "path": "MedicationStatement.extension",
        "sliceName": "previousEffectivePeriod",
        "type": [
          {
            "code": "Extension",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/previousEffectivePeriod"
          }
        ]
      },
      {
        "id": "MedicationStatement.identifier",
        "path": "MedicationStatement.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.id",
        "path": "MedicationStatement.identifier.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.use",
        "path": "MedicationStatement.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.type",
        "path": "MedicationStatement.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.period",
        "path": "MedicationStatement.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.assigner",
        "path": "MedicationStatement.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationStatement.basedOn",
        "path": "MedicationStatement.basedOn",
        "short": "Verordnung",
        "definition": "Link to the order object that contains the date and identifiers of the ordering practitioner and/or organization.",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://digen.nublar.de/fhir/StructureDefinition/DigenMedicationStatementRequest",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.basedOn.id",
        "path": "MedicationStatement.basedOn.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.basedOn.reference",
        "path": "MedicationStatement.basedOn.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.basedOn.identifier",
        "path": "MedicationStatement.basedOn.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.basedOn.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.basedOn.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.partOf",
        "path": "MedicationStatement.partOf",
        "short": "Erwerb",
        "definition": "Link to the related dispensing object that contains the dispensing date and pharmacy.",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://digen.nublar.de/fhir/StructureDefinition/DigenMedicationStatementDispense"
          }
        ]
      },
      {
        "id": "MedicationStatement.partOf.id",
        "path": "MedicationStatement.partOf.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.partOf.reference",
        "path": "MedicationStatement.partOf.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.partOf.identifier",
        "path": "MedicationStatement.partOf.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.partOf.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.partOf.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.context",
        "path": "MedicationStatement.context",
        "max": "0"
      },
      {
        "id": "MedicationStatement.status",
        "path": "MedicationStatement.status",
        "short": "Aktiv oder Beendigungsgrund",
        "definition": "A code representing the patient judgment about the state of the medication used that this statement is about.  This will be active, completed (\"Regulär beendet\"), stopped (\"Ungeplant abgesetzt\"), or on-hold (\"Aktuell pausiert\"). In case a medication is planned to be taken, the status will be \"intended\". The code intended is therefore uses for planned medications, with a begin date in the future. The other code (entered-in-error) is currently not in use.",
        "comment": "All status values other than \"active\" are interpreted as \"inactive\" by the domain logic."
      },
      {
        "id": "MedicationStatement.category",
        "path": "MedicationStatement.category",
        "short": "Type of medication",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Data Source",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/dataSourceTypes"
          }
        }
      },
      {
        "id": "MedicationStatement.category.id",
        "path": "MedicationStatement.category.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.category.coding",
        "path": "MedicationStatement.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.category.coding.id",
        "path": "MedicationStatement.category.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.category.coding.system",
        "path": "MedicationStatement.category.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.category.coding.version",
        "path": "MedicationStatement.category.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.category.coding.code",
        "path": "MedicationStatement.category.coding.code",
        "short": "Type of medication",
        "definition": "Indicates where type of medication statement and where the medication is expected to be consumed or administered.",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "dataSourceTypes for DiGeN",
          "valueSetUri": "http://digen.nublar.de/fhir/CodeSystem/1.2.276.0.76.3.1.321.1.1.5.8"
        }
      },
      {
        "id": "MedicationStatement.category.coding.userSelected",
        "path": "MedicationStatement.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.category.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.category.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]",
        "path": "MedicationStatement.medication[x]",
        "comment": "If only a code is specified, then it needs to be a PZN. No element of a referenced Medication resource other than the PZN will be stored in the backend. When the DigenPresentableMedicationStatement is read from the server, it will always include a referenced medication in \"contained\".",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": "http://digen.nublar.de/fhir/StructureDefinition/DigenMedication_SP11",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod",
        "path": "MedicationStatement.effectivePeriod",
        "sliceName": "effectivePeriod",
        "short": "The date interval when the medication was taken",
        "definition": "The interval of time during which it is being asserted that the patient was taking the medication.",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod.id",
        "path": "MedicationStatement.effectivePeriod.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod.start",
        "path": "MedicationStatement.effectivePeriod.start",
        "short": "Einnahme von",
        "comment": "The start date will always be set, either by the patient or derived from existing dates (e.g. dispense date).",
        "min": 1
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod.end",
        "path": "MedicationStatement.effectivePeriod.end",
        "short": "Einnahme bis"
      },
      {
        "id": "MedicationStatement.dateAsserted",
        "path": "MedicationStatement.dateAsserted",
        "definition": "The date when the medication statement was derived from its sources.",
        "comment": "May be left empty when the frontend wants to create or update a PMS."
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "short": "Ausgedruckt von",
        "definition": "Practitioner that created the underlying medication plan, that was used in deriving this medication statement.",
        "comment": "Although the medication plan may be created by either a Practitioner (individual physician) or an Organization (hospital, pharmacy) we wanted to simplify usage. We therefore always use the practitioner resource and do not require distinguishing between individuals and organizations.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://digen.nublar.de/fhir/StructureDefinition/DigenBmpPractitioner",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.informationSource.id",
        "path": "MedicationStatement.informationSource.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource.reference",
        "path": "MedicationStatement.informationSource.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource.identifier",
        "path": "MedicationStatement.informationSource.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.informationSource.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "short": "Patient taking the medication",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "MedicationStatement.subject.id",
        "path": "MedicationStatement.subject.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject.reference",
        "path": "MedicationStatement.subject.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.subject.identifier",
        "path": "MedicationStatement.subject.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.subject.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom",
        "path": "MedicationStatement.derivedFrom",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.derivedFrom:originalMedicationStatementReferences",
        "path": "MedicationStatement.derivedFrom",
        "sliceName": "originalMedicationStatementReferences",
        "short": "Underlying OriginalMedicationStatements",
        "comment": "References to the underlying OriginalMedicationStatements that were considered when deriving this PresentableMedicationStatement",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationStatement"
          }
        ]
      },
      {
        "id": "MedicationStatement.derivedFrom:originalMedicationStatementReferences.id",
        "path": "MedicationStatement.derivedFrom.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:originalMedicationStatementReferences.reference",
        "path": "MedicationStatement.derivedFrom.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.derivedFrom:originalMedicationStatementReferences.identifier",
        "path": "MedicationStatement.derivedFrom.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:originalMedicationStatementReferences.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.derivedFrom.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.taken",
        "path": "MedicationStatement.taken",
        "short": "y | unk",
        "comment": "SHALL be 'y' if the medication has been marked by the patient as status=active or completed . Shall be 'unk' in all other cases.",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/Digen-medication-statement-taken"
          }
        }
      },
      {
        "id": "MedicationStatement.reasonNotTaken",
        "path": "MedicationStatement.reasonNotTaken",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reasonCode",
        "path": "MedicationStatement.reasonCode",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reasonReference",
        "path": "MedicationStatement.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note",
        "path": "MedicationStatement.note",
        "short": "Patient's Notes",
        "definition": "Provides extra information about the medication statement entered and maintained by the patient.",
        "comment": "Managed by the patient",
        "max": "1"
      },
      {
        "id": "MedicationStatement.note.id",
        "path": "MedicationStatement.note.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.author[x]:authorReference",
        "path": "MedicationStatement.note.authorReference",
        "sliceName": "authorReference",
        "short": "Autor der Bemerkungen",
        "definition": "This always references the patient",
        "comment": "Use the same reference as for subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "MedicationStatement.note.author[x]:authorReference.id",
        "path": "MedicationStatement.note.authorReference.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.author[x]:authorReference.reference",
        "path": "MedicationStatement.note.authorReference.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.note.author[x]:authorReference.identifier",
        "path": "MedicationStatement.note.authorReference.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.author[x]:authorReference.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.note.authorReference.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.time",
        "path": "MedicationStatement.note.time",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.text",
        "path": "MedicationStatement.note.text",
        "short": "Eigene Bemerkungen",
        "definition": "Patient's notes"
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "sequence"
            }
          ],
          "rules": "open"
        },
        "short": "Einnahmeschema"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation",
        "path": "MedicationStatement.dosage",
        "sliceName": "generalInformation",
        "short": "All dosing details unrelated to timing",
        "definition": "Indicates how the medication is/was or should be taken by the patient. This slice carries all information not directly related to a timing.",
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.id",
        "path": "MedicationStatement.dosage.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.sequence",
        "path": "MedicationStatement.dosage.sequence",
        "min": 1,
        "fixedInteger": 10
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.text",
        "path": "MedicationStatement.dosage.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.additionalInstruction",
        "path": "MedicationStatement.dosage.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.patientInstruction",
        "path": "MedicationStatement.dosage.patientInstruction",
        "short": "Ärztliche Hinweise",
        "definition": "Doctor's instructions in terms that are understood by the patient. Content comes from \"Bundesmedikationsplan\" via QR-Code and cannot be edited."
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.timing",
        "path": "MedicationStatement.dosage.timing",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.asNeeded[x]:asNeededBoolean",
        "path": "MedicationStatement.dosage.asNeededBoolean",
        "sliceName": "asNeededBoolean",
        "short": "Bei Bedarf",
        "definition": "Indicates whether the Medication is only taken when needed within a specific dosing schedule. Note that there is no dosingscheme if there is an \"as needed\" medication.",
        "comment": "Can express \"as needed\" without a reason by setting the Boolean = True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.route",
        "path": "MedicationStatement.dosage.route",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.method",
        "path": "MedicationStatement.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.dose[x]",
        "path": "MedicationStatement.dosage.dose[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:generalInformation.rate[x]",
        "path": "MedicationStatement.dosage.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration",
        "path": "MedicationStatement.dosage",
        "sliceName": "morningAdministration",
        "short": "How it was taken or should be taken in the morning",
        "definition": "Indicates how the medication is/was or should be taken by the patient in the morning.",
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.sequence",
        "path": "MedicationStatement.dosage.sequence",
        "min": 1,
        "fixedInteger": 50
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.text",
        "path": "MedicationStatement.dosage.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.additionalInstruction",
        "path": "MedicationStatement.dosage.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.patientInstruction",
        "path": "MedicationStatement.dosage.patientInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing",
        "path": "MedicationStatement.dosage.timing",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.event",
        "path": "MedicationStatement.dosage.timing.event",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.repeat",
        "path": "MedicationStatement.dosage.timing.repeat",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code",
        "path": "MedicationStatement.dosage.timing.code",
        "short": "Coded Timing Schedule",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/einnahmezeitpunkte"
          }
        }
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.id",
        "path": "MedicationStatement.dosage.timing.code.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.coding",
        "path": "MedicationStatement.dosage.timing.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.coding.id",
        "path": "MedicationStatement.dosage.timing.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.coding.system",
        "path": "MedicationStatement.dosage.timing.code.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v3/TimingEvent"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.coding.version",
        "path": "MedicationStatement.dosage.timing.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.coding.code",
        "path": "MedicationStatement.dosage.timing.code.coding.code",
        "min": 1,
        "fixedCode": "CM"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.coding.display",
        "min": 1,
        "fixedString": "Morgens"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.coding.userSelected",
        "path": "MedicationStatement.dosage.timing.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.timing.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.asNeeded[x]",
        "path": "MedicationStatement.dosage.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.route",
        "path": "MedicationStatement.dosage.route",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.method",
        "path": "MedicationStatement.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.doseQuantity:doseQuantity",
        "path": "MedicationStatement.dosage.doseQuantity",
        "sliceName": "doseQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetUri": "http://fhir.de/ValueSet/kbv/s-bmp-dosiereinheit"
        }
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.doseQuantity:doseQuantity.value",
        "path": "MedicationStatement.dosage.doseQuantity.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.doseQuantity:doseQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.doseQuantity.unit",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.doseQuantity:doseQuantity.system",
        "path": "MedicationStatement.dosage.doseQuantity.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.doseQuantity:doseQuantity.code",
        "path": "MedicationStatement.dosage.doseQuantity.code",
        "short": "Dosiereinheit",
        "definition": "The unit of the dose as a coded value.",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:morningAdministration.rate[x]",
        "path": "MedicationStatement.dosage.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration",
        "path": "MedicationStatement.dosage",
        "sliceName": "noonAdministration",
        "short": "How it was taken or should be taken at noon",
        "definition": "Indicates how the medication is/was or should be taken by the patient at noon.",
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.sequence",
        "path": "MedicationStatement.dosage.sequence",
        "min": 1,
        "fixedInteger": 60
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.text",
        "path": "MedicationStatement.dosage.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.additionalInstruction",
        "path": "MedicationStatement.dosage.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.patientInstruction",
        "path": "MedicationStatement.dosage.patientInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing",
        "path": "MedicationStatement.dosage.timing",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.event",
        "path": "MedicationStatement.dosage.timing.event",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.repeat",
        "path": "MedicationStatement.dosage.timing.repeat",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code",
        "path": "MedicationStatement.dosage.timing.code",
        "short": "Coded Timing Schedule",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/einnahmezeitpunkte"
          }
        }
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.id",
        "path": "MedicationStatement.dosage.timing.code.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.coding",
        "path": "MedicationStatement.dosage.timing.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.coding.id",
        "path": "MedicationStatement.dosage.timing.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.coding.system",
        "path": "MedicationStatement.dosage.timing.code.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v3/TimingEvent"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.coding.version",
        "path": "MedicationStatement.dosage.timing.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.coding.code",
        "path": "MedicationStatement.dosage.timing.code.coding.code",
        "min": 1,
        "fixedCode": "CD"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.coding.display",
        "min": 1,
        "fixedString": "Mittags"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.coding.userSelected",
        "path": "MedicationStatement.dosage.timing.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.timing.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.asNeeded[x]",
        "path": "MedicationStatement.dosage.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.route",
        "path": "MedicationStatement.dosage.route",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.method",
        "path": "MedicationStatement.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.doseQuantity:doseQuantity",
        "path": "MedicationStatement.dosage.doseQuantity",
        "sliceName": "doseQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetUri": "http://fhir.de/ValueSet/kbv/s-bmp-dosiereinheit"
        }
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.doseQuantity:doseQuantity.value",
        "path": "MedicationStatement.dosage.doseQuantity.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.doseQuantity:doseQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.doseQuantity.unit",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.doseQuantity:doseQuantity.system",
        "path": "MedicationStatement.dosage.doseQuantity.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.doseQuantity:doseQuantity.code",
        "path": "MedicationStatement.dosage.doseQuantity.code",
        "short": "Dosiereinheit",
        "definition": "The unit of the dose as a coded value.",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:noonAdministration.rate[x]",
        "path": "MedicationStatement.dosage.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration",
        "path": "MedicationStatement.dosage",
        "sliceName": "eveningAdministration",
        "short": "How it was taken or should be taken in the evening",
        "definition": "Indicates how the medication is/was or should be taken by the patient in the evening.",
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.sequence",
        "path": "MedicationStatement.dosage.sequence",
        "min": 1,
        "fixedInteger": 70
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.text",
        "path": "MedicationStatement.dosage.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.additionalInstruction",
        "path": "MedicationStatement.dosage.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.patientInstruction",
        "path": "MedicationStatement.dosage.patientInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing",
        "path": "MedicationStatement.dosage.timing",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.event",
        "path": "MedicationStatement.dosage.timing.event",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.repeat",
        "path": "MedicationStatement.dosage.timing.repeat",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code",
        "path": "MedicationStatement.dosage.timing.code",
        "short": "Coded Timing Schedule",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/einnahmezeitpunkte"
          }
        }
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.id",
        "path": "MedicationStatement.dosage.timing.code.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.coding",
        "path": "MedicationStatement.dosage.timing.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.coding.id",
        "path": "MedicationStatement.dosage.timing.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.coding.system",
        "path": "MedicationStatement.dosage.timing.code.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v3/TimingEvent"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.coding.version",
        "path": "MedicationStatement.dosage.timing.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.coding.code",
        "path": "MedicationStatement.dosage.timing.code.coding.code",
        "min": 1,
        "fixedCode": "CV"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.coding.display",
        "min": 1,
        "fixedString": "Abends"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.coding.userSelected",
        "path": "MedicationStatement.dosage.timing.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.timing.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.asNeeded[x]",
        "path": "MedicationStatement.dosage.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.route",
        "path": "MedicationStatement.dosage.route",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.method",
        "path": "MedicationStatement.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.doseQuantity:doseQuantity",
        "path": "MedicationStatement.dosage.doseQuantity",
        "sliceName": "doseQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetUri": "http://fhir.de/ValueSet/kbv/s-bmp-dosiereinheit"
        }
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.doseQuantity:doseQuantity.value",
        "path": "MedicationStatement.dosage.doseQuantity.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.doseQuantity:doseQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.doseQuantity.unit",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.doseQuantity:doseQuantity.system",
        "path": "MedicationStatement.dosage.doseQuantity.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.doseQuantity:doseQuantity.code",
        "path": "MedicationStatement.dosage.doseQuantity.code",
        "short": "Dosiereinheit",
        "definition": "The unit of the dose as a coded value.",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:eveningAdministration.rate[x]",
        "path": "MedicationStatement.dosage.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration",
        "path": "MedicationStatement.dosage",
        "sliceName": "nightAdministration",
        "short": "How it was taken or should be taken at night",
        "definition": "Indicates how the medication is/was or should be taken by the patient at night.",
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.sequence",
        "path": "MedicationStatement.dosage.sequence",
        "min": 1,
        "fixedInteger": 80
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.text",
        "path": "MedicationStatement.dosage.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.additionalInstruction",
        "path": "MedicationStatement.dosage.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.patientInstruction",
        "path": "MedicationStatement.dosage.patientInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing",
        "path": "MedicationStatement.dosage.timing",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.event",
        "path": "MedicationStatement.dosage.timing.event",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.repeat",
        "path": "MedicationStatement.dosage.timing.repeat",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code",
        "path": "MedicationStatement.dosage.timing.code",
        "short": "Coded Timing Schedule",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/einnahmezeitpunkte"
          }
        }
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.id",
        "path": "MedicationStatement.dosage.timing.code.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.coding",
        "path": "MedicationStatement.dosage.timing.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.coding.id",
        "path": "MedicationStatement.dosage.timing.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.coding.system",
        "path": "MedicationStatement.dosage.timing.code.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v3/TimingEvent"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.coding.version",
        "path": "MedicationStatement.dosage.timing.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.coding.code",
        "path": "MedicationStatement.dosage.timing.code.coding.code",
        "min": 1,
        "fixedCode": "HS"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.coding.display",
        "min": 1,
        "fixedString": "zur Nacht"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.coding.userSelected",
        "path": "MedicationStatement.dosage.timing.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.timing.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.timing.code.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.asNeeded[x]",
        "path": "MedicationStatement.dosage.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.route",
        "path": "MedicationStatement.dosage.route",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.method",
        "path": "MedicationStatement.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.doseQuantity:doseQuantity",
        "path": "MedicationStatement.dosage.doseQuantity",
        "sliceName": "doseQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetUri": "http://fhir.de/ValueSet/kbv/s-bmp-dosiereinheit"
        }
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.doseQuantity:doseQuantity.value",
        "path": "MedicationStatement.dosage.doseQuantity.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.doseQuantity:doseQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.dosage.doseQuantity.unit",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.doseQuantity:doseQuantity.system",
        "path": "MedicationStatement.dosage.doseQuantity.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.doseQuantity:doseQuantity.code",
        "path": "MedicationStatement.dosage.doseQuantity.code",
        "short": "Dosiereinheit",
        "definition": "The unit of the dose as a coded value.",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage:nightAdministration.rate[x]",
        "path": "MedicationStatement.dosage.rate[x]",
        "max": "0"
      }
    ]
  }
}