{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-MIO-CHW-Device",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_Device",
  "version": "1.0.0",
  "name": "KBV_PR_MIO_CHW_Device",
  "title": "KBV_PR_MIO_CHW_Device",
  "status": "draft",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "Dieses Profil bildet ein Gerät ab.",
  "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",
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Device|1.5.0",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device.meta",
        "path": "Device.meta",
        "min": 1
      },
      {
        "id": "Device.meta.versionId",
        "path": "Device.meta.versionId",
        "max": "0"
      },
      {
        "id": "Device.meta.lastUpdated",
        "path": "Device.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Device.meta.source",
        "path": "Device.meta.source",
        "max": "0"
      },
      {
        "id": "Device.meta.profile",
        "path": "Device.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Device.meta.profile:chw",
        "path": "Device.meta.profile",
        "sliceName": "chw",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_Device|1.0.0"
      },
      {
        "id": "Device.meta.security",
        "path": "Device.meta.security",
        "max": "0"
      },
      {
        "id": "Device.meta.tag",
        "path": "Device.meta.tag",
        "max": "0"
      },
      {
        "id": "Device.implicitRules",
        "path": "Device.implicitRules",
        "max": "0"
      },
      {
        "id": "Device.language",
        "path": "Device.language",
        "max": "0"
      },
      {
        "id": "Device.contained",
        "path": "Device.contained",
        "max": "0"
      },
      {
        "id": "Device.extension",
        "path": "Device.extension",
        "mustSupport": true
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung",
        "path": "Device.extension",
        "sliceName": "verantwortlichePersonEinrichtung",
        "mustSupport": true
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung.value[x]",
        "path": "Device.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung.value[x]:valueReference",
        "path": "Device.extension.value[x]",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_Practitioner|1.0.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_PractitionerRole|1.0.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_Organization|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung.value[x]:valueReference.reference",
        "path": "Device.extension.value[x].reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung.value[x]:valueReference.type",
        "path": "Device.extension.value[x].type",
        "max": "0"
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung.value[x]:valueReference.identifier",
        "path": "Device.extension.value[x].identifier",
        "max": "0"
      },
      {
        "id": "Device.extension:verantwortlichePersonEinrichtung.value[x]:valueReference.display",
        "path": "Device.extension.value[x].display",
        "max": "0"
      },
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "mustSupport": true
      },
      {
        "id": "Device.identifier.period",
        "path": "Device.identifier.period",
        "max": "0"
      },
      {
        "id": "Device.identifier.assigner",
        "path": "Device.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Device.definition",
        "path": "Device.definition",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_DeviceDefinition|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Device.definition.reference",
        "path": "Device.definition.reference",
        "mustSupport": true
      },
      {
        "id": "Device.definition.type",
        "path": "Device.definition.type",
        "max": "0"
      },
      {
        "id": "Device.definition.identifier",
        "path": "Device.definition.identifier",
        "max": "0"
      },
      {
        "id": "Device.definition.display",
        "path": "Device.definition.display",
        "max": "0"
      },
      {
        "id": "Device.udiCarrier",
        "path": "Device.udiCarrier",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Device.udiCarrier.deviceIdentifier",
        "path": "Device.udiCarrier.deviceIdentifier",
        "mustSupport": true
      },
      {
        "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",
        "mustSupport": true
      },
      {
        "id": "Device.statusReason",
        "path": "Device.statusReason",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Device.statusReason.coding",
        "path": "Device.statusReason.coding",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Device.statusReason.coding.version",
        "path": "Device.statusReason.coding.version",
        "min": 1
      },
      {
        "id": "Device.statusReason.coding.display",
        "path": "Device.statusReason.coding.display",
        "min": 1
      },
      {
        "id": "Device.statusReason.coding.userSelected",
        "path": "Device.statusReason.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Device.statusReason.text",
        "path": "Device.statusReason.text",
        "max": "0"
      },
      {
        "id": "Device.distinctIdentifier",
        "path": "Device.distinctIdentifier",
        "mustSupport": true
      },
      {
        "id": "Device.manufacturer",
        "path": "Device.manufacturer",
        "max": "0"
      },
      {
        "id": "Device.manufactureDate",
        "path": "Device.manufactureDate",
        "mustSupport": true
      },
      {
        "id": "Device.expirationDate",
        "path": "Device.expirationDate",
        "mustSupport": true
      },
      {
        "id": "Device.lotNumber",
        "path": "Device.lotNumber",
        "mustSupport": true
      },
      {
        "id": "Device.serialNumber",
        "path": "Device.serialNumber",
        "mustSupport": true
      },
      {
        "id": "Device.deviceName",
        "path": "Device.deviceName",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Device.deviceName.name",
        "path": "Device.deviceName.name",
        "mustSupport": true
      },
      {
        "id": "Device.modelNumber",
        "path": "Device.modelNumber",
        "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",
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:snomed",
        "path": "Device.type.coding",
        "sliceName": "snomed",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_Base_Device_SNOMED_CT|1.5.0"
        }
      },
      {
        "id": "Device.type.coding:snomed.system",
        "path": "Device.type.coding.system",
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:snomed.version",
        "path": "Device.type.coding.version",
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:snomed.code",
        "path": "Device.type.coding.code",
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:snomed.display",
        "path": "Device.type.coding.display",
        "mustSupport": true
      },
      {
        "id": "Device.type.coding:snomed.userSelected",
        "path": "Device.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Device.type.text",
        "path": "Device.type.text",
        "mustSupport": true
      },
      {
        "id": "Device.specialization",
        "path": "Device.specialization",
        "max": "0"
      },
      {
        "id": "Device.version",
        "path": "Device.version",
        "mustSupport": true
      },
      {
        "id": "Device.version.type",
        "path": "Device.version.type",
        "max": "0"
      },
      {
        "id": "Device.version.component",
        "path": "Device.version.component",
        "max": "0"
      },
      {
        "id": "Device.version.value",
        "path": "Device.version.value",
        "mustSupport": true
      },
      {
        "id": "Device.property",
        "path": "Device.property",
        "max": "0"
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_Patient|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Device.patient.reference",
        "path": "Device.patient.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.patient.type",
        "path": "Device.patient.type",
        "max": "0"
      },
      {
        "id": "Device.patient.identifier",
        "path": "Device.patient.identifier",
        "max": "0"
      },
      {
        "id": "Device.patient.display",
        "path": "Device.patient.display",
        "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",
        "mustSupport": true
      },
      {
        "id": "Device.note.author[x]",
        "path": "Device.note.author[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_Organization|1.0.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_CHW_Practitioner|1.0.0"
            ]
          },
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Device.note.author[x]:authorReference",
        "path": "Device.note.author[x]",
        "sliceName": "authorReference",
        "mustSupport": true
      },
      {
        "id": "Device.note.author[x]:authorReference.reference",
        "path": "Device.note.author[x].reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.note.author[x]:authorReference.type",
        "path": "Device.note.author[x].type",
        "max": "0"
      },
      {
        "id": "Device.note.author[x]:authorReference.identifier",
        "path": "Device.note.author[x].identifier",
        "max": "0"
      },
      {
        "id": "Device.note.author[x]:authorReference.display",
        "path": "Device.note.author[x].display",
        "max": "0"
      },
      {
        "id": "Device.note.author[x]:authorString",
        "path": "Device.note.author[x]",
        "sliceName": "authorString",
        "mustSupport": true
      },
      {
        "id": "Device.note.author[x]:authorString.value",
        "path": "Device.note.author[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.note.time",
        "path": "Device.note.time",
        "mustSupport": true
      },
      {
        "id": "Device.note.text",
        "path": "Device.note.text",
        "mustSupport": true
      },
      {
        "id": "Device.safety",
        "path": "Device.safety",
        "max": "0"
      },
      {
        "id": "Device.parent",
        "path": "Device.parent",
        "max": "0"
      }
    ]
  }
}