{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CMR_Medication_Statement_Vitamine_K_Prophylaxis",
  "version": "1.0.1",
  "name": "KBV_PR_MIO_CMR_Medication_Statement_Vitamine_K_Prophylaxis",
  "status": "active",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "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",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement",
        "path": "MedicationStatement",
        "short": "Dieses Profil bildet die Vitamin K Prophylaxe ab.",
        "constraint": [
          {
            "key": "med-1",
            "severity": "error",
            "human": "Either free text or doseQuantity and route must exist",
            "expression": "dosage.text.empty().not() xor (dosage.route.empty().not() and dosage.doseAndRate.dose.empty().not())",
            "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CMR_Medication_Statement_Vitamine_K_Prophylaxis"
          }
        ]
      },
      {
        "id": "MedicationStatement.meta",
        "path": "MedicationStatement.meta",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.versionId",
        "path": "MedicationStatement.meta.versionId",
        "max": "0"
      },
      {
        "id": "MedicationStatement.meta.lastUpdated",
        "path": "MedicationStatement.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "MedicationStatement.meta.source",
        "path": "MedicationStatement.meta.source",
        "max": "0"
      },
      {
        "id": "MedicationStatement.meta.profile",
        "path": "MedicationStatement.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CMR_Medication_Statement_Vitamine_K_Prophylaxis|1.0.1"
      },
      {
        "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.contained",
        "path": "MedicationStatement.contained",
        "max": "0"
      },
      {
        "id": "MedicationStatement.extension:vitaminKEinleitung",
        "path": "MedicationStatement.extension",
        "sliceName": "vitaminKEinleitung",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_CMR_Note"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:vitaminKEinleitung.value[x]",
        "path": "MedicationStatement.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.extension:vitaminKEinleitung.value[x]:valueString",
        "path": "MedicationStatement.extension.value[x]",
        "sliceName": "valueString",
        "fixedString": "Vitamin-K-Prophylaxe gegeben:",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.identifier",
        "path": "MedicationStatement.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.basedOn",
        "path": "MedicationStatement.basedOn",
        "max": "0"
      },
      {
        "id": "MedicationStatement.partOf",
        "path": "MedicationStatement.partOf",
        "max": "0"
      },
      {
        "id": "MedicationStatement.status",
        "path": "MedicationStatement.status",
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_MIO_CMR_Medication_Statement_Status"
        }
      },
      {
        "id": "MedicationStatement.statusReason",
        "path": "MedicationStatement.statusReason",
        "max": "0"
      },
      {
        "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": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept",
        "path": "MedicationStatement.medication[x]",
        "sliceName": "medicationCodeableConcept",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding",
        "path": "MedicationStatement.medication[x].coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.system",
        "path": "MedicationStatement.medication[x].coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.version",
        "path": "MedicationStatement.medication[x].coding.version",
        "min": 1,
        "fixedString": "http://snomed.info/sct/900000000000207008/version/20210131"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.code",
        "path": "MedicationStatement.medication[x].coding.code",
        "min": 1,
        "fixedCode": "66656000"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display",
        "path": "MedicationStatement.medication[x].coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display.extension",
        "path": "MedicationStatement.medication[x].coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display.extension:anzeigenameMedicationSnomed",
        "path": "MedicationStatement.medication[x].coding.display.extension",
        "sliceName": "anzeigenameMedicationSnomed",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display.extension:anzeigenameMedicationSnomed.extension",
        "path": "MedicationStatement.medication[x].coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display.extension:anzeigenameMedicationSnomed.extension:content",
        "path": "MedicationStatement.medication[x].coding.display.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display.extension:anzeigenameMedicationSnomed.extension:content.value[x]",
        "path": "MedicationStatement.medication[x].coding.display.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display.extension:anzeigenameMedicationSnomed.extension:content.value[x]:valueString",
        "path": "MedicationStatement.medication[x].coding.display.extension.extension.valueString",
        "sliceName": "valueString",
        "min": 1,
        "fixedString": "Vitamin-K",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.userSelected",
        "path": "MedicationStatement.medication[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.text",
        "path": "MedicationStatement.medication[x].text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CMR_Patient|1.0.1"
            ]
          }
        ],
        "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",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CMR_Encounter|1.0.1"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.context.reference",
        "path": "MedicationStatement.context.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.context.type",
        "path": "MedicationStatement.context.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.context.identifier",
        "path": "MedicationStatement.context.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.context.display",
        "path": "MedicationStatement.context.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.effective[x]",
        "path": "MedicationStatement.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]:effectiveDateTime",
        "path": "MedicationStatement.effective[x]",
        "sliceName": "effectiveDateTime",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dateAsserted",
        "path": "MedicationStatement.dateAsserted",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom",
        "path": "MedicationStatement.derivedFrom",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reasonCode",
        "path": "MedicationStatement.reasonCode",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reasonReference",
        "path": "MedicationStatement.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note",
        "path": "MedicationStatement.note",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "min": 1,
        "max": "1",
        "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",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing",
        "path": "MedicationStatement.dosage.timing",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeeded[x]",
        "path": "MedicationStatement.dosage.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route",
        "path": "MedicationStatement.dosage.route",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding",
        "path": "MedicationStatement.dosage.route.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding.system",
        "path": "MedicationStatement.dosage.route.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.version",
        "path": "MedicationStatement.dosage.route.coding.version",
        "min": 1,
        "fixedString": "http://snomed.info/sct/900000000000207008/version/20210131"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.code",
        "path": "MedicationStatement.dosage.route.coding.code",
        "min": 1,
        "fixedCode": "26643006"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display",
        "path": "MedicationStatement.dosage.route.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display.extension",
        "path": "MedicationStatement.dosage.route.coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display.extension:anzeigenameRouteSnomed",
        "path": "MedicationStatement.dosage.route.coding.display.extension",
        "sliceName": "anzeigenameRouteSnomed",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display.extension:anzeigenameRouteSnomed.extension",
        "path": "MedicationStatement.dosage.route.coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display.extension:anzeigenameRouteSnomed.extension:content",
        "path": "MedicationStatement.dosage.route.coding.display.extension.extension",
        "sliceName": "content"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display.extension:anzeigenameRouteSnomed.extension:content.value[x]",
        "path": "MedicationStatement.dosage.route.coding.display.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display.extension:anzeigenameRouteSnomed.extension:content.value[x]:valueString",
        "path": "MedicationStatement.dosage.route.coding.display.extension.extension.valueString",
        "sliceName": "valueString",
        "min": 1,
        "fixedString": "oral",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding.userSelected",
        "path": "MedicationStatement.dosage.route.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.text",
        "path": "MedicationStatement.dosage.route.text",
        "max": "0"
      },
      {
        "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"
        },
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity",
        "path": "MedicationStatement.dosage.doseAndRate.dose[x]",
        "sliceName": "doseQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.value",
        "path": "MedicationStatement.dosage.doseAndRate.dose[x].value",
        "min": 1,
        "fixedDecimal": 2
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.unit",
        "path": "MedicationStatement.dosage.doseAndRate.dose[x].unit",
        "min": 1,
        "fixedString": "mg"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.system",
        "path": "MedicationStatement.dosage.doseAndRate.dose[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.code",
        "path": "MedicationStatement.dosage.doseAndRate.dose[x].code",
        "min": 1,
        "fixedCode": "mg"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]",
        "path": "MedicationStatement.dosage.doseAndRate.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      }
    ]
  }
}