{
  "resourceType": "StructureDefinition",
  "url": "http://www.kbv.de/fhir/Profil/74_PR_VM_Rezept",
  "version": "1.01",
  "name": "74_PR_VM_Rezept",
  "title": "74_PR_VM_Rezept",
  "status": "active",
  "date": "2018-06-28",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "StructureDefinition für die Verwendung des KBV-Profils \"74_PR_VM_Rezept\"",
  "copyright": "Copyright © [2018], Kassenärztliche Bundesvereinigung (KBV). All rights reserved.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://fhir.de/StructureDefinition/medicationrequest-de-basis/0.2",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos",
        "path": "MedicationRequest.extension",
        "sliceName": "rezept-zusatzinfos",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:gebuehrenfrei",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "gebuehrenfrei",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:gebuehrenfrei.valueBoolean:valueBoolean",
        "path": "MedicationRequest.extension.extension.valueBoolean",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:unfall",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "unfall",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:unfall.valueBoolean:valueBoolean",
        "path": "MedicationRequest.extension.extension.valueBoolean",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:arbeitsunfall",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "arbeitsunfall",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:arbeitsunfall.valueBoolean:valueBoolean",
        "path": "MedicationRequest.extension.extension.valueBoolean",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:aut-idem",
        "path": "MedicationRequest.extension.extension",
        "sliceName": "aut-idem",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:rezept-zusatzinfos.extension:aut-idem.valueBoolean:valueBoolean",
        "path": "MedicationRequest.extension.extension.valueBoolean",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:RezeptTyp",
        "path": "MedicationRequest.extension",
        "sliceName": "RezeptTyp",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.kbv.de/fhir/Extension/74_EX_VM_RezeptTyp"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:RezeptTyp.valueCodeableConcept:valueCodeableConcept",
        "path": "MedicationRequest.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetUri": "http://www.kbv.de/fhir/ValueSet/74_VS_VM_RezeptTyp"
        }
      },
      {
        "id": "MedicationRequest.extension:RezeptTyp.valueCodeableConcept:valueCodeableConcept.coding",
        "path": "MedicationRequest.extension.valueCodeableConcept.coding",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:RezeptTyp.valueCodeableConcept:valueCodeableConcept.coding.system",
        "path": "MedicationRequest.extension.valueCodeableConcept.coding.system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:RezeptTyp.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "MedicationRequest.extension.valueCodeableConcept.coding.code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:KennzeichenStatus",
        "path": "MedicationRequest.extension",
        "sliceName": "KennzeichenStatus",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.kbv.de/fhir/Extension/74_EX_VM_KennzeichenStatus"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:KennzeichenStatus.valueCodeableConcept:valueCodeableConcept",
        "path": "MedicationRequest.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:KennzeichenStatus.valueCodeableConcept:valueCodeableConcept.coding",
        "path": "MedicationRequest.extension.valueCodeableConcept.coding",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:KennzeichenStatus.valueCodeableConcept:valueCodeableConcept.coding.system",
        "path": "MedicationRequest.extension.valueCodeableConcept.coding.system",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:KennzeichenStatus.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "MedicationRequest.extension.valueCodeableConcept.coding.code",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:MPKennzeichen",
        "path": "MedicationRequest.extension",
        "sliceName": "MPKennzeichen",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.kbv.de/fhir/Extension/74_EX_VM_MPKennzeichen"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.extension:MPKennzeichen.valueBoolean:valueBoolean",
        "path": "MedicationRequest.extension.valueBoolean",
        "sliceName": "valueBoolean",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.definition",
        "path": "MedicationRequest.definition",
        "max": "0"
      },
      {
        "id": "MedicationRequest.basedOn",
        "path": "MedicationRequest.basedOn",
        "max": "0"
      },
      {
        "id": "MedicationRequest.groupIdentifier",
        "path": "MedicationRequest.groupIdentifier",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.status",
        "path": "MedicationRequest.status",
        "max": "0"
      },
      {
        "id": "MedicationRequest.intent",
        "path": "MedicationRequest.intent",
        "fixedCode": "order",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.category",
        "path": "MedicationRequest.category",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priority",
        "path": "MedicationRequest.priority",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication[x]:medicationReference",
        "path": "MedicationRequest.medicationReference",
        "sliceName": "medicationReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.kbv.de/fhir/Profil/74_PR_VM_Medikament"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.medication[x]:medicationReference.reference",
        "path": "MedicationRequest.medicationReference.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.subject",
        "path": "MedicationRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.kbv.de/fhir/Profil/74_PR_VM_Patient"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.context",
        "path": "MedicationRequest.context",
        "max": "0"
      },
      {
        "id": "MedicationRequest.supportingInformation",
        "path": "MedicationRequest.supportingInformation",
        "max": "0"
      },
      {
        "id": "MedicationRequest.authoredOn",
        "path": "MedicationRequest.authoredOn",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester",
        "path": "MedicationRequest.requester",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester.agent",
        "path": "MedicationRequest.requester.agent",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.kbv.de/fhir/Profil/74_PR_VM_Behandler"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.requester.agent.reference",
        "path": "MedicationRequest.requester.agent.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.recorder",
        "path": "MedicationRequest.recorder",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonCode",
        "path": "MedicationRequest.reasonCode",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reasonReference",
        "path": "MedicationRequest.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note",
        "path": "MedicationRequest.note",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest",
        "path": "MedicationRequest.dispenseRequest",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity",
        "path": "MedicationRequest.dispenseRequest.quantity",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.value",
        "path": "MedicationRequest.dispenseRequest.quantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationRequest.dispenseRequest.quantity.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.system",
        "path": "MedicationRequest.dispenseRequest.quantity.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity.code",
        "path": "MedicationRequest.dispenseRequest.quantity.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationRequest.substitution",
        "path": "MedicationRequest.substitution",
        "max": "0"
      },
      {
        "id": "MedicationRequest.priorPrescription",
        "path": "MedicationRequest.priorPrescription",
        "max": "0"
      },
      {
        "id": "MedicationRequest.detectedIssue",
        "path": "MedicationRequest.detectedIssue",
        "max": "0"
      },
      {
        "id": "MedicationRequest.eventHistory",
        "path": "MedicationRequest.eventHistory",
        "max": "0"
      }
    ]
  }
}