PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.vos@1.20.0
    https://fhir.kbv.de/StructureDefinition/74_PR_VoS_DokuRef
{
  "description": "Übergabe von Rezepten, signierten eRezepten oder Medikationsplänen als pkcs#7-, pdf- oder XML-Dateien vom PVS an die VoS und vice versa.",
  "_filename": "74_PR_VoS_DokuRef.json",
  "package_name": "kbv.ita.vos",
  "date": "2021-07-08",
  "derivation": "constraint",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "fhirVersion": "3.0.1",
  "name": "74_PR_VoS_DokuRef",
  "abstract": false,
  "copyright": "Copyright © [2021], Kassenärztliche Bundesvereinigung (KBV). All rights reserved.",
  "type": "DocumentReference",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "74_PR_VoS_DokuRef",
  "package_version": "1.20.0",
  "status": "active",
  "id": "1cc3142d-26bb-4f29-9676-9149894e3f6e",
  "kind": "resource",
  "url": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_DokuRef",
  "version": "1.20.0",
  "differential": {
    "element": [ {
      "id": "DocumentReference",
      "path": "DocumentReference",
      "constraint": [ {
        "key": "Extension-eRezept",
        "human": "Die Extension zum Storno-Status des eRezepts muss genau dann verwendet werden, wenn der DokumentenTyp ein signiertes eRezept ist.",
        "severity": "error",
        "expression": "(extension('https://fhir.kbv.de/StructureDefinition/74_EX_VoS_ERezeptStatus').empty() and (type.coding.code='Signiertes_eRezept').not()) or (extension('https://fhir.kbv.de/StructureDefinition/74_EX_VoS_ERezeptStatus').exists() and type.coding.code='Signiertes_eRezept')"
      }, {
        "key": "Extension-eRezept-2",
        "human": "Die Extension mit den Zugriffsdaten des eRezepts muss genau dann verwendet werden, wenn der DokumentenTyp ein signiertes eRezept ist.",
        "severity": "error",
        "expression": "(extension('https://fhir.kbv.de/StructureDefinition/74_EX_VoS_ERezeptZugriff').empty() and (type.coding.code='Signiertes_eRezept').not()) or (extension('https://fhir.kbv.de/StructureDefinition/74_EX_VoS_ERezeptZugriff').exists() and type.coding.code='Signiertes_eRezept')"
      } ]
    }, {
      "id": "DocumentReference.extension",
      "path": "DocumentReference.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.extension:eRezept-Storno",
      "path": "DocumentReference.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.kbv.de/StructureDefinition/74_EX_VoS_ERezeptStatus"
      } ],
      "sliceName": "eRezept-Storno",
      "mustSupport": true
    }, {
      "id": "DocumentReference.extension:eRezept-Storno.valueBoolean:valueBoolean",
      "path": "DocumentReference.extension.valueBoolean",
      "sliceName": "valueBoolean",
      "mustSupport": true
    }, {
      "id": "DocumentReference.extension:eRezept-Zugriffsdaten",
      "path": "DocumentReference.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.kbv.de/StructureDefinition/74_EX_VoS_ERezeptZugriff"
      } ],
      "sliceName": "eRezept-Zugriffsdaten",
      "definition": "Wird genau dann verwendet, wenn die DocumentReference-Instanz ein signiertes eRezept enthält.\r\nEnthält den AccessCode und die Task-ID des eRezepts auf dem Fachdienst",
      "mustSupport": true
    }, {
      "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension",
      "path": "DocumentReference.extension.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:AccessCode",
      "path": "DocumentReference.extension.extension",
      "sliceName": "AccessCode",
      "mustSupport": true
    }, {
      "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:AccessCode.valueString:valueString",
      "path": "DocumentReference.extension.extension.valueString",
      "sliceName": "valueString",
      "mustSupport": true
    }, {
      "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:Task-ID",
      "path": "DocumentReference.extension.extension",
      "sliceName": "Task-ID",
      "mustSupport": true
    }, {
      "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:Task-ID.valueString:valueString",
      "path": "DocumentReference.extension.extension.valueString",
      "sliceName": "valueString",
      "mustSupport": true
    }, {
      "id": "DocumentReference.masterIdentifier",
      "path": "DocumentReference.masterIdentifier",
      "mustSupport": true
    }, {
      "id": "DocumentReference.masterIdentifier.use",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.use"
    }, {
      "id": "DocumentReference.masterIdentifier.type",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.type"
    }, {
      "id": "DocumentReference.masterIdentifier.value",
      "min": 1,
      "path": "DocumentReference.masterIdentifier.value"
    }, {
      "id": "DocumentReference.masterIdentifier.period",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.period"
    }, {
      "id": "DocumentReference.masterIdentifier.assigner",
      "max": "0",
      "path": "DocumentReference.masterIdentifier.assigner"
    }, {
      "id": "DocumentReference.identifier.use",
      "max": "0",
      "path": "DocumentReference.identifier.use"
    }, {
      "id": "DocumentReference.identifier.type",
      "max": "0",
      "path": "DocumentReference.identifier.type"
    }, {
      "id": "DocumentReference.identifier.value",
      "min": 1,
      "path": "DocumentReference.identifier.value"
    }, {
      "id": "DocumentReference.identifier.period",
      "max": "0",
      "path": "DocumentReference.identifier.period"
    }, {
      "id": "DocumentReference.identifier.assigner",
      "max": "0",
      "path": "DocumentReference.identifier.assigner"
    }, {
      "id": "DocumentReference.status",
      "path": "DocumentReference.status",
      "fixedCode": "current",
      "mustSupport": true
    }, {
      "id": "DocumentReference.docStatus",
      "max": "0",
      "path": "DocumentReference.docStatus"
    }, {
      "id": "DocumentReference.type",
      "path": "DocumentReference.type",
      "binding": {
        "strength": "required",
        "valueSetUri": "https://fhir.kbv.de/ValueSet/74_VS_VoS_DokumentTyp"
      },
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.type.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding.system",
      "min": 1,
      "path": "DocumentReference.type.coding.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding.code",
      "min": 1,
      "path": "DocumentReference.type.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding.userSelected",
      "max": "0",
      "path": "DocumentReference.type.coding.userSelected"
    }, {
      "id": "DocumentReference.type.text",
      "max": "0",
      "path": "DocumentReference.type.text"
    }, {
      "id": "DocumentReference.class",
      "max": "0",
      "path": "DocumentReference.class"
    }, {
      "id": "DocumentReference.subject",
      "path": "DocumentReference.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_Patient"
      } ]
    }, {
      "id": "DocumentReference.subject.identifier",
      "max": "0",
      "path": "DocumentReference.subject.identifier"
    }, {
      "id": "DocumentReference.subject.display",
      "max": "0",
      "path": "DocumentReference.subject.display"
    }, {
      "id": "DocumentReference.indexed",
      "path": "DocumentReference.indexed",
      "mustSupport": true
    }, {
      "id": "DocumentReference.author",
      "max": "2",
      "path": "DocumentReference.author",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_Behandelnder"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_System"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "identifier.type.coding.code",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "DocumentReference.author.reference",
      "min": 1,
      "path": "DocumentReference.author.reference",
      "mustSupport": true
    }, {
      "id": "DocumentReference.author:Behandelnder",
      "max": "1",
      "path": "DocumentReference.author",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_Behandelnder"
      } ],
      "short": "Der Behandelnde, der das Dokument ausgestellt hat",
      "sliceName": "Behandelnder",
      "definition": "Der Behandelnde (Arzt), der den Medikationsplan bzw. das Rezept ausgestellt/ ausgedruckt hat."
    }, {
      "id": "DocumentReference.author:Behandelnder.reference",
      "min": 1,
      "path": "DocumentReference.author.reference"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier",
      "min": 1,
      "path": "DocumentReference.author.identifier"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.use",
      "max": "0",
      "path": "DocumentReference.author.identifier.use"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.type",
      "min": 1,
      "path": "DocumentReference.author.identifier.type"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.author.identifier.type.coding"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.type.coding.system",
      "min": 1,
      "path": "DocumentReference.author.identifier.type.coding.system",
      "fixedUri": "https://fhir.kbv.de/CodeSystem/74_CS_VoS_AuthorTyp"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.type.coding.code",
      "min": 1,
      "path": "DocumentReference.author.identifier.type.coding.code",
      "fixedCode": "Behandelnder"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.type.text",
      "max": "0",
      "path": "DocumentReference.author.identifier.type.text"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.system",
      "max": "0",
      "path": "DocumentReference.author.identifier.system"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.value",
      "max": "0",
      "path": "DocumentReference.author.identifier.value"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.period",
      "max": "0",
      "path": "DocumentReference.author.identifier.period"
    }, {
      "id": "DocumentReference.author:Behandelnder.identifier.assigner",
      "max": "0",
      "path": "DocumentReference.author.identifier.assigner"
    }, {
      "id": "DocumentReference.author:Behandelnder.display",
      "max": "0",
      "path": "DocumentReference.author.display"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem",
      "max": "1",
      "path": "DocumentReference.author",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_System"
      } ],
      "short": "Verordnungssoftware, die das Dokument ausgestellt hat",
      "sliceName": "ausstellendesSystem",
      "definition": "Verordnungssoftware, mit der der Medikationsplan oder das Rezept ausgestellt/ gedruckt wurden"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.reference",
      "min": 1,
      "path": "DocumentReference.author.reference"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier",
      "min": 1,
      "path": "DocumentReference.author.identifier"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.use",
      "max": "0",
      "path": "DocumentReference.author.identifier.use"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.type",
      "min": 1,
      "path": "DocumentReference.author.identifier.type"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.author.identifier.type.coding"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.type.coding.system",
      "min": 1,
      "path": "DocumentReference.author.identifier.type.coding.system",
      "fixedUri": "https://fhir.kbv.de/CodeSystem/74_CS_VoS_AuthorTyp"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.type.coding.code",
      "min": 1,
      "path": "DocumentReference.author.identifier.type.coding.code",
      "fixedCode": "System"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.type.text",
      "max": "0",
      "path": "DocumentReference.author.identifier.type.text"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.system",
      "max": "0",
      "path": "DocumentReference.author.identifier.system",
      "fixedUri": "Behandelnder"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.value",
      "max": "0",
      "path": "DocumentReference.author.identifier.value"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.period",
      "max": "0",
      "path": "DocumentReference.author.identifier.period"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.identifier.assigner",
      "max": "0",
      "path": "DocumentReference.author.identifier.assigner"
    }, {
      "id": "DocumentReference.author:ausstellendesSystem.display",
      "max": "0",
      "path": "DocumentReference.author.display"
    }, {
      "id": "DocumentReference.authenticator",
      "max": "0",
      "path": "DocumentReference.authenticator"
    }, {
      "id": "DocumentReference.custodian",
      "path": "DocumentReference.custodian",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_Betriebsstaette"
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.custodian.reference",
      "min": 1,
      "path": "DocumentReference.custodian.reference",
      "mustSupport": true
    }, {
      "id": "DocumentReference.custodian.identifier",
      "max": "0",
      "path": "DocumentReference.custodian.identifier"
    }, {
      "id": "DocumentReference.custodian.display",
      "max": "0",
      "path": "DocumentReference.custodian.display"
    }, {
      "id": "DocumentReference.relatesTo",
      "path": "DocumentReference.relatesTo",
      "short": "Medikationsplanverknüpfung",
      "definition": "Verknüpfung zwischen verschiedenen Repräsentationen (PDF oder XML) eines Medikationsplans. In diesem Fall ist relatesTo.code = transforms.\r\nAlternativ können auch Verknüpfungen zwischen verschiedenen Seiten eines Medikationsplans übertragen werden. In diesem Fall ist relatesTo.Code =  appends."
    }, {
      "id": "DocumentReference.relatesTo.target.reference",
      "min": 1,
      "path": "DocumentReference.relatesTo.target.reference"
    }, {
      "id": "DocumentReference.relatesTo.target.identifier",
      "max": "0",
      "path": "DocumentReference.relatesTo.target.identifier"
    }, {
      "id": "DocumentReference.relatesTo.target.display",
      "max": "0",
      "path": "DocumentReference.relatesTo.target.display"
    }, {
      "id": "DocumentReference.description",
      "max": "0",
      "path": "DocumentReference.description"
    }, {
      "id": "DocumentReference.securityLabel",
      "max": "0",
      "path": "DocumentReference.securityLabel"
    }, {
      "id": "DocumentReference.content",
      "path": "DocumentReference.content",
      "definition": "Medikationsplan oder Rezept",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment",
      "path": "DocumentReference.content.attachment",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.contentType",
      "min": 1,
      "path": "DocumentReference.content.attachment.contentType",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.data",
      "min": 1,
      "path": "DocumentReference.content.attachment.data",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.url",
      "max": "0",
      "path": "DocumentReference.content.attachment.url"
    }, {
      "id": "DocumentReference.context",
      "path": "DocumentReference.context",
      "short": "Betreffende FHIR-Rezeptressourcen",
      "definition": "Verweis auf die im PDF-Ausdruck eines Rezeptes vorhandenen FHIR-Ressourcen gemäß https://fhir.kbv.de/StructureDefinition/74_PR_VoS_Rezept"
    }, {
      "id": "DocumentReference.context.encounter",
      "max": "0",
      "path": "DocumentReference.context.encounter"
    }, {
      "id": "DocumentReference.context.event",
      "max": "0",
      "path": "DocumentReference.context.event"
    }, {
      "id": "DocumentReference.context.period",
      "max": "0",
      "path": "DocumentReference.context.period"
    }, {
      "id": "DocumentReference.context.facilityType",
      "max": "0",
      "path": "DocumentReference.context.facilityType"
    }, {
      "id": "DocumentReference.context.practiceSetting",
      "max": "0",
      "path": "DocumentReference.context.practiceSetting"
    }, {
      "id": "DocumentReference.context.sourcePatientInfo",
      "max": "0",
      "path": "DocumentReference.context.sourcePatientInfo"
    }, {
      "id": "DocumentReference.context.related",
      "min": 1,
      "path": "DocumentReference.context.related"
    }, {
      "id": "DocumentReference.context.related.identifier",
      "max": "0",
      "path": "DocumentReference.context.related.identifier"
    }, {
      "id": "DocumentReference.context.related.ref",
      "min": 1,
      "path": "DocumentReference.context.related.ref",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_VoS_Rezept"
      } ]
    }, {
      "id": "DocumentReference.context.related.ref.reference",
      "min": 1,
      "path": "DocumentReference.context.related.ref.reference"
    }, {
      "id": "DocumentReference.context.related.ref.identifier",
      "max": "0",
      "path": "DocumentReference.context.related.ref.identifier"
    }, {
      "id": "DocumentReference.context.related.ref.display",
      "max": "0",
      "path": "DocumentReference.context.related.ref.display"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
}