{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Software_PVS",
  "name": "74_PR_DMPD2_Software_PVS",
  "status": "draft",
  "experimental": false,
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "udi",
      "uri": "http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm",
      "name": "UDI Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device.id",
        "path": "Device.id",
        "min": 1
      },
      {
        "id": "Device.meta",
        "path": "Device.meta",
        "min": 1
      },
      {
        "id": "Device.meta.profile",
        "path": "Device.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Device.text",
        "path": "Device.text",
        "min": 1
      },
      {
        "id": "Device.text.status",
        "path": "Device.text.status",
        "fixedCode": "extensions"
      },
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "definition": "Enthält die KBV-Prüfnummer des Moduls, mit dem der Dokumentationsbogen erstellt wurde.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Device.identifier.use",
        "path": "Device.identifier.use",
        "max": "0"
      },
      {
        "id": "Device.identifier.type",
        "path": "Device.identifier.type",
        "max": "0"
      },
      {
        "id": "Device.identifier.system",
        "path": "Device.identifier.system",
        "short": "KBV-Prüfnummer",
        "min": 1,
        "fixedUri": "https://fhir.kbv.de/NamingSystem/74_NS_VoS_KBV-Pruefnummer",
        "mustSupport": true
      },
      {
        "id": "Device.identifier.value",
        "path": "Device.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.identifier.period",
        "path": "Device.identifier.period",
        "max": "0"
      },
      {
        "id": "Device.identifier.assigner",
        "path": "Device.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Device.udi",
        "path": "Device.udi",
        "max": "0"
      },
      {
        "id": "Device.status",
        "path": "Device.status",
        "max": "0"
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "short": "Softwaretyp",
        "definition": "Es wird zwischen PVS (Arztpraxissoftware), XSD (XML-Schnittstelle) und XPM (XML-Prüfmodul) unterschieden.\r\nIn dieser Ressource ist das PVS einzutragen.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.type.coding",
        "path": "Device.type.coding",
        "max": "0"
      },
      {
        "id": "Device.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Device.type.text",
        "min": 1,
        "fixedString": "PVS",
        "mustSupport": true
      },
      {
        "id": "Device.lotNumber",
        "path": "Device.lotNumber",
        "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.model",
        "path": "Device.model",
        "short": "Softwarename",
        "definition": "Hier wird der Name der Software übergeben.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.version",
        "path": "Device.version",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "max": "0"
      },
      {
        "id": "Device.owner",
        "path": "Device.owner",
        "definition": "Hier kann bei Softwaresystemen vom Typ \"PVS\" auf den Softwarehersteller referenziert werden, der als eigene Ressource anzulegen ist.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_SoftwareHersteller"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Device.owner.reference",
        "path": "Device.owner.reference",
        "min": 1
      },
      {
        "id": "Device.owner.identifier",
        "path": "Device.owner.identifier",
        "max": "0"
      },
      {
        "id": "Device.owner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Device.owner.display",
        "max": "0"
      },
      {
        "id": "Device.contact",
        "path": "Device.contact",
        "max": "0",
        "mustSupport": false
      },
      {
        "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"
      }
    ]
  }
}