{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-AW-Material-Sache",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_AW_Material_Sache",
  "version": "1.3.0",
  "name": "KBV_PR_AW_Material_Sache",
  "title": "KBV_PR_AW_Material_Sache",
  "status": "draft",
  "copyright": "Copyright © [2022], Kassenärztliche Bundesvereinigung (KBV). All rights reserved.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "udi",
      "uri": "http://fda.gov/UDI",
      "name": "UDI Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Device|1.3.0",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device",
        "path": "Device",
        "short": "Material_Sache",
        "definition": "Sind Materialien oder Sachen verwendet worden und zur Abrechnung hinzuzufügen, so können diese in dieser Ressource dokumentiert werden."
      },
      {
        "id": "Device.id",
        "path": "Device.id",
        "min": 1
      },
      {
        "id": "Device.meta",
        "path": "Device.meta",
        "min": 1
      },
      {
        "id": "Device.meta.versionId",
        "path": "Device.meta.versionId",
        "min": 1
      },
      {
        "id": "Device.meta.lastUpdated",
        "path": "Device.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Device.meta.profile",
        "path": "Device.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_AW_Material_Sache|1.3.0"
      },
      {
        "id": "Device.text",
        "path": "Device.text",
        "min": 1
      },
      {
        "id": "Device.text.status",
        "path": "Device.text.status",
        "short": "extensions",
        "fixedCode": "extensions"
      },
      {
        "id": "Device.extension",
        "path": "Device.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung",
        "path": "Device.extension",
        "sliceName": "verantwortlichePersonEinrichtung",
        "min": 0,
        "max": "0"
      },
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "max": "0"
      },
      {
        "id": "Device.definition",
        "path": "Device.definition",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier",
        "path": "Device.udiCarrier",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier.deviceIdentifier",
        "path": "Device.udiCarrier.deviceIdentifier",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier.issuer",
        "path": "Device.udiCarrier.issuer",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier.jurisdiction",
        "path": "Device.udiCarrier.jurisdiction",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier.carrierAIDC",
        "path": "Device.udiCarrier.carrierAIDC",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier.carrierHRF",
        "path": "Device.udiCarrier.carrierHRF",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier.entryType",
        "path": "Device.udiCarrier.entryType",
        "max": "0"
      },
      {
        "id": "Device.status",
        "path": "Device.status",
        "max": "0"
      },
      {
        "id": "Device.statusReason",
        "path": "Device.statusReason",
        "max": "0"
      },
      {
        "id": "Device.distinctIdentifier",
        "path": "Device.distinctIdentifier",
        "max": "0"
      },
      {
        "id": "Device.manufacturer",
        "path": "Device.manufacturer",
        "short": "Name des Herstellers",
        "definition": "In diesem Attribut ist der Name des Herstellers anzugeben.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.manufactureDate",
        "path": "Device.manufactureDate",
        "max": "0"
      },
      {
        "id": "Device.expirationDate",
        "path": "Device.expirationDate",
        "max": "0"
      },
      {
        "id": "Device.lotNumber",
        "path": "Device.lotNumber",
        "max": "0"
      },
      {
        "id": "Device.serialNumber",
        "path": "Device.serialNumber",
        "max": "0"
      },
      {
        "id": "Device.deviceName",
        "path": "Device.deviceName",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Device.deviceName.name",
        "path": "Device.deviceName.name",
        "short": "Sach-/Materialbezeichner",
        "definition": "Diese Element dient zur Angabe des Sach- oder Materialbezeichners",
        "mustSupport": true
      },
      {
        "id": "Device.deviceName.type",
        "path": "Device.deviceName.type",
        "fixedCode": "model-name",
        "mustSupport": true
      },
      {
        "id": "Device.modelNumber",
        "path": "Device.modelNumber",
        "short": "Artikel-/Modellnummer",
        "definition": "In diesem Attribut ist die Modellnummer des Materials oder der Sache zu dokumentieren.",
        "mustSupport": true
      },
      {
        "id": "Device.partNumber",
        "path": "Device.partNumber",
        "max": "0"
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "mustSupport": true
      },
      {
        "id": "Device.type.coding",
        "path": "Device.type.coding",
        "min": 1
      },
      {
        "id": "Device.type.coding:codeSnomed",
        "path": "Device.type.coding",
        "sliceName": "codeSnomed",
        "patternCoding": {
          "code": "49062001"
        }
      },
      {
        "id": "Device.type.coding:klassifizierung_Ressource",
        "path": "Device.type.coding",
        "sliceName": "klassifizierung_Ressource",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_AW_Ressourcentyp",
          "code": "Material_Sache"
        }
      },
      {
        "id": "Device.type.coding:klassifizierung_Ressource.system",
        "path": "Device.type.coding.system",
        "min": 1
      },
      {
        "id": "Device.type.coding:klassifizierung_Ressource.code",
        "path": "Device.type.coding.code",
        "min": 1
      },
      {
        "id": "Device.type.text",
        "path": "Device.type.text",
        "max": "0"
      },
      {
        "id": "Device.specialization",
        "path": "Device.specialization",
        "max": "0"
      },
      {
        "id": "Device.version",
        "path": "Device.version",
        "max": "0"
      },
      {
        "id": "Device.property",
        "path": "Device.property",
        "max": "0"
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "max": "0"
      },
      {
        "id": "Device.owner",
        "path": "Device.owner",
        "max": "0"
      },
      {
        "id": "Device.contact",
        "path": "Device.contact",
        "max": "0"
      },
      {
        "id": "Device.location.reference",
        "path": "Device.location.reference",
        "max": "0"
      },
      {
        "id": "Device.location.type",
        "path": "Device.location.type",
        "max": "0"
      },
      {
        "id": "Device.location.identifier",
        "path": "Device.location.identifier",
        "max": "0"
      },
      {
        "id": "Device.url",
        "path": "Device.url",
        "max": "0"
      },
      {
        "id": "Device.note",
        "path": "Device.note",
        "max": "0"
      },
      {
        "id": "Device.safety",
        "path": "Device.safety",
        "max": "0"
      },
      {
        "id": "Device.parent",
        "path": "Device.parent",
        "max": "0"
      }
    ]
  }
}