{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-AW-Hilfsmittel",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_AW_Hilfsmittel",
  "version": "1.3.0",
  "name": "KBV_PR_AW_Hilfsmittel",
  "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.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_Hilfsmittel|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": "closed"
        },
        "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.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",
        "max": "0"
      },
      {
        "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",
        "mustSupport": true
      },
      {
        "id": "Device.deviceName.type",
        "path": "Device.deviceName.type",
        "fixedCode": "model-name",
        "mustSupport": true
      },
      {
        "id": "Device.modelNumber",
        "path": "Device.modelNumber",
        "short": "Produktnummer",
        "definition": "Dieses Attribut dient der Angabe der Produktnummer",
        "mustSupport": true
      },
      {
        "id": "Device.partNumber",
        "path": "Device.partNumber",
        "max": "0"
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "short": "Kennzeichen Hilfsmittelart",
        "definition": "Kennzeichen, um welches Hilfsmittel es sich handelt (Sehhilfe, Hörhilfe etc.)",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_AW_Hilfsmittel_Hilfsmittelart"
        }
      },
      {
        "id": "Device.type.coding",
        "path": "Device.type.coding",
        "min": 1
      },
      {
        "id": "Device.type.coding:codeSnomed",
        "path": "Device.type.coding",
        "sliceName": "codeSnomed",
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:codeKBV",
        "path": "Device.type.coding",
        "sliceName": "codeKBV",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_AW_Hilfsmittel_Hilfsmittelart"
        },
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Hilfsmittelart",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_AW_Hilfsmittel_Hilfsmittelart"
        }
      },
      {
        "id": "Device.type.coding:codeKBV.system",
        "path": "Device.type.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:codeKBV.code",
        "path": "Device.type.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:codeKBV.userSelected",
        "path": "Device.type.coding.userSelected",
        "max": "0"
      },
      {
        "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",
        "path": "Device.location",
        "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"
      }
    ]
  }
}