{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_MedicationStatement_SonstigeAntidiabetika",
  "version": "0.10",
  "name": "74_PR_DMPD2_MedicationStatement_SonstigeAntidiabetika",
  "status": "draft",
  "experimental": false,
  "publisher": "Kassenärztliche Bundesvereinigung",
  "contact": [
    {
      "name": "Kassenärztliche Bundesvereinigung",
      "telecom": [
        {
          "system": "url",
          "value": "www.kbv.de"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://fhir.de/StructureDefinition/medicationstatement-de-basis/0.2",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.id",
        "path": "MedicationStatement.id",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta",
        "path": "MedicationStatement.meta",
        "min": 1
      },
      {
        "id": "MedicationStatement.meta.versionId",
        "path": "MedicationStatement.meta.versionId",
        "min": 0
      },
      {
        "id": "MedicationStatement.meta.lastUpdated",
        "path": "MedicationStatement.meta.lastUpdated",
        "min": 0
      },
      {
        "id": "MedicationStatement.meta.profile",
        "path": "MedicationStatement.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.text",
        "path": "MedicationStatement.text",
        "min": 1
      },
      {
        "id": "MedicationStatement.text.status",
        "path": "MedicationStatement.text.status",
        "fixedCode": "extensions"
      },
      {
        "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.context",
        "path": "MedicationStatement.context",
        "max": "0"
      },
      {
        "id": "MedicationStatement.status",
        "path": "MedicationStatement.status",
        "fixedCode": "active"
      },
      {
        "id": "MedicationStatement.category",
        "path": "MedicationStatement.category",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept",
        "path": "MedicationStatement.medicationCodeableConcept",
        "sliceName": "medicationCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding",
        "path": "MedicationStatement.medicationCodeableConcept.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.system",
        "path": "MedicationStatement.medicationCodeableConcept.coding.system",
        "min": 1,
        "fixedUri": "http://www.whocc.no/atc"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.code",
        "path": "MedicationStatement.medicationCodeableConcept.coding.code",
        "min": 1,
        "fixedCode": "A10B"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.medicationCodeableConcept.coding.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.userSelected",
        "path": "MedicationStatement.medicationCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication[x]:medicationCodeableConcept.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "MedicationStatement.medicationCodeableConcept.text",
        "min": 1,
        "fixedString": "Sonstige antidiabetische Medikation",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effective[x]",
        "path": "MedicationStatement.effective[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dateAsserted",
        "path": "MedicationStatement.dateAsserted",
        "comment": "hier ist das Dokumentationsdatum der DMP-Dokumentation (Erstellungsdatum) zu übermitteln",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Behandelnder"
          }
        ],
        "mustSupport": true
      },
      {
        "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",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Patient"
          }
        ],
        "mustSupport": true
      },
      {
        "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",
        "max": "0"
      },
      {
        "id": "MedicationStatement.taken",
        "path": "MedicationStatement.taken",
        "fixedCode": "y"
      },
      {
        "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",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "max": "0"
      }
    ]
  }
}