{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-MIO-DIGA-MedicationStatement-Medication-Information",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Information",
  "version": "1.1.0",
  "name": "KBV_PR_MIO_DIGA_MedicationStatement_Medication_Information",
  "title": "KBV_PR_MIO_DIGA_MedicationStatement_Medication_Information",
  "status": "active",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "Dieses Profil bildet die Medikations-Information ab.",
  "copyright": "Im folgenden Profil können Codes aus den Codesystemen Snomed, Loinc oder Ucum enthalten sein, die dem folgenden Urheberrecht unterliegen: This material includes SNOMED Clinical Terms® SNOMED CT® which is used by permission of SNOMED International. All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. SNOMED and SNOMED CT are registered trademarks of SNOMED International. Implementers of these artefacts must have the appropriate SNOMED CT Affiliate license. This material contains content from Loinc http://loinc.org. Loinc is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes Loinc Committee and is available at no cost under the license at http://loinc.org/license. Loinc® is a registered United States trademark of Regenstrief Institute, Inc. This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at ​http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at ​http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright © 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures UCUM Organization. All rights reserved. THE UCUM TABLE IN ALL FORMATS, UCUM DEFINITIONS, AND SPECIFICATION ARE PROVIDED \"AS IS.\" ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_MedicationStatement|1.3.0",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement",
        "path": "MedicationStatement",
        "definition": "Dieses Profil bildet die Medikations-Information ab."
      },
      {
        "id": "MedicationStatement.meta",
        "path": "MedicationStatement.meta",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.versionId",
        "path": "MedicationStatement.meta.versionId",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.lastUpdated",
        "path": "MedicationStatement.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.source",
        "path": "MedicationStatement.meta.source",
        "max": "0"
      },
      {
        "id": "MedicationStatement.meta.profile",
        "path": "MedicationStatement.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.profile:mioProfile",
        "path": "MedicationStatement.meta.profile",
        "sliceName": "mioProfile",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_MedicationStatement_Medication_Information|1.1.0"
      },
      {
        "id": "MedicationStatement.meta.security",
        "path": "MedicationStatement.meta.security",
        "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",
        "max": "0"
      },
      {
        "id": "MedicationStatement.text",
        "path": "MedicationStatement.text",
        "definition": "In diesem Element können die, in der Instanz, enthaltenen Informationen in einer menschenlesbaren Form zusammengefasst werden. Dabei ist zu beachten, dass keine Informationen aufgenommen werden dürfen, die nicht in strukturierter Form an anderer Stelle in der Instanz enthalten sind."
      },
      {
        "id": "MedicationStatement.text.status",
        "path": "MedicationStatement.text.status",
        "fixedCode": "extensions"
      },
      {
        "id": "MedicationStatement.contained",
        "path": "MedicationStatement.contained",
        "max": "0"
      },
      {
        "id": "MedicationStatement.extension",
        "path": "MedicationStatement.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:behandlungsziel",
        "path": "MedicationStatement.extension",
        "sliceName": "behandlungsziel",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:behandlungsziel.value[x]",
        "path": "MedicationStatement.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:behandlungsziel.value[x]:valueReference",
        "path": "MedicationStatement.extension.valueReference",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal_Treatment_Goal|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:problem",
        "path": "MedicationStatement.extension",
        "sliceName": "problem",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:problem.value[x]",
        "path": "MedicationStatement.extension.value[x]",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:problem.value[x]:valueReference",
        "path": "MedicationStatement.extension.valueReference",
        "sliceName": "valueReference",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.identifier",
        "path": "MedicationStatement.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.identifier.type",
        "path": "MedicationStatement.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "version": "2.9",
              "code": "RI",
              "display": "Resource identifier"
            }
          ]
        }
      },
      {
        "id": "MedicationStatement.identifier.type.coding",
        "path": "MedicationStatement.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.identifier.type.coding.system",
        "path": "MedicationStatement.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.identifier.type.coding.version",
        "path": "MedicationStatement.identifier.type.coding.version",
        "min": 1
      },
      {
        "id": "MedicationStatement.identifier.type.coding.code",
        "path": "MedicationStatement.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.identifier.type.coding.display",
        "path": "MedicationStatement.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.identifier.type.coding.userSelected",
        "path": "MedicationStatement.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.type.text",
        "path": "MedicationStatement.identifier.type.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.system",
        "path": "MedicationStatement.identifier.system",
        "min": 1,
        "fixedUri": "urn:ietf:rfc:3986",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.identifier.value",
        "path": "MedicationStatement.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "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",
        "max": "0"
      },
      {
        "id": "MedicationStatement.partOf",
        "path": "MedicationStatement.partOf",
        "max": "0"
      },
      {
        "id": "MedicationStatement.status",
        "path": "MedicationStatement.status",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.statusReason",
        "path": "MedicationStatement.statusReason",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.category",
        "path": "MedicationStatement.category",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]",
        "path": "MedicationStatement.medication[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "Reference"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationReference",
        "path": "MedicationStatement.medication[x]",
        "sliceName": "medicationReference",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Medication|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationReference.reference",
        "path": "MedicationStatement.medication[x].reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationReference.type",
        "path": "MedicationStatement.medication[x].type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationReference.identifier",
        "path": "MedicationStatement.medication[x].identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationReference.display",
        "path": "MedicationStatement.medication[x].display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.subject.reference",
        "path": "MedicationStatement.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.subject.type",
        "path": "MedicationStatement.subject.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject.identifier",
        "path": "MedicationStatement.subject.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject.display",
        "path": "MedicationStatement.subject.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.context",
        "path": "MedicationStatement.context",
        "max": "0"
      },
      {
        "id": "MedicationStatement.effective[x]",
        "path": "MedicationStatement.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]:effectiveDateTime",
        "path": "MedicationStatement.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod",
        "path": "MedicationStatement.effectivePeriod",
        "sliceName": "effectivePeriod",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod.start",
        "path": "MedicationStatement.effectivePeriod.start",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]:effectivePeriod.end",
        "path": "MedicationStatement.effectivePeriod.end",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dateAsserted",
        "path": "MedicationStatement.dateAsserted",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_RelatedPerson|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_PractitionerRole|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.informationSource.reference",
        "path": "MedicationStatement.informationSource.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.informationSource.type",
        "path": "MedicationStatement.informationSource.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource.identifier",
        "path": "MedicationStatement.informationSource.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource.display",
        "path": "MedicationStatement.informationSource.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom",
        "path": "MedicationStatement.derivedFrom",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reasonCode",
        "path": "MedicationStatement.reasonCode",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.reasonCode.coding",
        "path": "MedicationStatement.reasonCode.coding",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.reasonCode.coding.system",
        "path": "MedicationStatement.reasonCode.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.reasonCode.coding.version",
        "path": "MedicationStatement.reasonCode.coding.version",
        "min": 1
      },
      {
        "id": "MedicationStatement.reasonCode.coding.code",
        "path": "MedicationStatement.reasonCode.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.reasonCode.coding.display",
        "path": "MedicationStatement.reasonCode.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.reasonCode.coding.userSelected",
        "path": "MedicationStatement.reasonCode.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reasonCode.text",
        "path": "MedicationStatement.reasonCode.text",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.reasonReference",
        "path": "MedicationStatement.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note",
        "path": "MedicationStatement.note",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.note.author[x]",
        "path": "MedicationStatement.note.author[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.time",
        "path": "MedicationStatement.note.time",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.text",
        "path": "MedicationStatement.note.text",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.sequence",
        "path": "MedicationStatement.dosage.sequence",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.text",
        "path": "MedicationStatement.dosage.text",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.additionalInstruction",
        "path": "MedicationStatement.dosage.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.patientInstruction",
        "path": "MedicationStatement.dosage.patientInstruction",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing",
        "path": "MedicationStatement.dosage.timing",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.event",
        "path": "MedicationStatement.dosage.timing.event",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat",
        "path": "MedicationStatement.dosage.timing.repeat",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.bounds[x]",
        "path": "MedicationStatement.dosage.timing.repeat.bounds[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.count",
        "path": "MedicationStatement.dosage.timing.repeat.count",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.countMax",
        "path": "MedicationStatement.dosage.timing.repeat.countMax",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.duration",
        "path": "MedicationStatement.dosage.timing.repeat.duration",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.durationMax",
        "path": "MedicationStatement.dosage.timing.repeat.durationMax",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.durationUnit",
        "path": "MedicationStatement.dosage.timing.repeat.durationUnit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.frequency",
        "path": "MedicationStatement.dosage.timing.repeat.frequency",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.frequencyMax",
        "path": "MedicationStatement.dosage.timing.repeat.frequencyMax",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.period",
        "path": "MedicationStatement.dosage.timing.repeat.period",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.periodMax",
        "path": "MedicationStatement.dosage.timing.repeat.periodMax",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.periodUnit",
        "path": "MedicationStatement.dosage.timing.repeat.periodUnit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.dayOfWeek",
        "path": "MedicationStatement.dosage.timing.repeat.dayOfWeek",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.timeOfDay",
        "path": "MedicationStatement.dosage.timing.repeat.timeOfDay",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.when",
        "path": "MedicationStatement.dosage.timing.repeat.when",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.timing.repeat.offset",
        "path": "MedicationStatement.dosage.timing.repeat.offset",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing.code",
        "path": "MedicationStatement.dosage.timing.code",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x]",
        "path": "MedicationStatement.dosage.asNeeded[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededBoolean",
        "path": "MedicationStatement.dosage.asNeededBoolean",
        "sliceName": "asNeededBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept",
        "sliceName": "asNeededCodeableConcept",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept.coding",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept.coding",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept.coding.system",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept.coding.version",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept.coding.version",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept.coding.code",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept.coding.display",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept.coding.userSelected",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x].asNeededCodeableConcept.text",
        "path": "MedicationStatement.dosage.asNeededCodeableConcept.text",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.site",
        "path": "MedicationStatement.dosage.site",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.site.coding",
        "path": "MedicationStatement.dosage.site.coding",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.site.coding.system",
        "path": "MedicationStatement.dosage.site.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.site.coding.version",
        "path": "MedicationStatement.dosage.site.coding.version",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.site.coding.code",
        "path": "MedicationStatement.dosage.site.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.site.coding.display",
        "path": "MedicationStatement.dosage.site.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.site.coding.userSelected",
        "path": "MedicationStatement.dosage.site.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.site.text",
        "path": "MedicationStatement.dosage.site.text",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route",
        "path": "MedicationStatement.dosage.route",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding",
        "path": "MedicationStatement.dosage.route.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding:codeSnomed",
        "path": "MedicationStatement.dosage.route.coding",
        "sliceName": "codeSnomed",
        "patternCoding": {
          "system": "http://snomed.info/sct"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding:codeSnomed.system",
        "path": "MedicationStatement.dosage.route.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:codeSnomed.version",
        "path": "MedicationStatement.dosage.route.coding.version",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:codeSnomed.code",
        "path": "MedicationStatement.dosage.route.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:codeSnomed.display",
        "path": "MedicationStatement.dosage.route.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:codeSnomed.userSelected",
        "path": "MedicationStatement.dosage.route.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.coding:edqmCode",
        "path": "MedicationStatement.dosage.route.coding",
        "sliceName": "edqmCode",
        "patternCoding": {
          "system": "http://standardterms.edqm.eu"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding:edqmCode.system",
        "path": "MedicationStatement.dosage.route.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:edqmCode.version",
        "path": "MedicationStatement.dosage.route.coding.version",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:edqmCode.code",
        "path": "MedicationStatement.dosage.route.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:edqmCode.display",
        "path": "MedicationStatement.dosage.route.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding:edqmCode.userSelected",
        "path": "MedicationStatement.dosage.route.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.text",
        "path": "MedicationStatement.dosage.route.text",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.method",
        "path": "MedicationStatement.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate",
        "path": "MedicationStatement.dosage.doseAndRate",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.type",
        "path": "MedicationStatement.dosage.doseAndRate.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]",
        "path": "MedicationStatement.dosage.doseAndRate.dose[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity",
        "sliceName": "doseQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.value",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.comparator",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.comparator",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.unit",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.system",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.code",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange",
        "sliceName": "doseRange",
        "type": [
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.low",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.value",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.unit",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.system",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.code",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.high",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.value",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.unit",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.system",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.code",
        "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]",
        "path": "MedicationStatement.dosage.doseAndRate.rate[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "max": "1",
        "type": [
          {
            "code": "Ratio"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio",
        "sliceName": "rateRatio",
        "max": "1",
        "type": [
          {
            "code": "Ratio"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.value",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.comparator",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.comparator",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.unit",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.system",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.code",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.value",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.comparator",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.comparator",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.unit",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.system",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.code",
        "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.numerator",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.numerator",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.numerator.value",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.numerator.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.numerator.comparator",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.numerator.comparator",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.numerator.unit",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.numerator.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.numerator.system",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.numerator.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.numerator.code",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.numerator.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.denominator",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.denominator",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.denominator.value",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.denominator.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.denominator.comparator",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.denominator.comparator",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.denominator.unit",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.denominator.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.denominator.system",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.denominator.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod.denominator.code",
        "path": "MedicationStatement.dosage.maxDosePerPeriod.denominator.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerAdministration.value",
        "path": "MedicationStatement.dosage.maxDosePerAdministration.value",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerAdministration.unit",
        "path": "MedicationStatement.dosage.maxDosePerAdministration.unit",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerAdministration.system",
        "path": "MedicationStatement.dosage.maxDosePerAdministration.system",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerAdministration.code",
        "path": "MedicationStatement.dosage.maxDosePerAdministration.code",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      }
    ]
  }
}