{ "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": "KBV_PR_VoS_DocumentReference.json", "package_name": "kbv.ita.vos", "date": "2023-02-01", "derivation": "constraint", "publisher": "Kassenärztliche Bundesvereinigung", "fhirVersion": "4.0.1", "name": "KBV_PR_VoS_DocumentReference", "mapping": [ { "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern", "identity": "workflow" }, { "uri": "http://hl7.org/fhir/composition", "name": "FHIR Composition", "identity": "fhircomposition" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/v3/cda", "name": "CDA (R2)", "identity": "cda" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" }, { "uri": "http://ihe.net/xds", "name": "XDS metadata equivalent", "identity": "xds" } ], "abstract": false, "type": "DocumentReference", "experimental": null, "resourceType": "StructureDefinition", "title": "KBV_PR_VoS_DocumentReference", "package_version": "2.1.0", "status": "active", "id": "197dda22-13d2-482c-824a-ae1907dc037d", "kind": "resource", "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_DocumentReference", "version": "2.1.0", "differential": { "element": [ { "id": "DocumentReference", "path": "DocumentReference", "constraint": [ { "key": "Extension-eRezept", "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/KBV_EX_VoS_ePrescription_Access').empty() and (type.coding.where(code='Signiertes_eRezept').exists().not())) or (extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_ePrescription_Access').exists() and type.coding.where(code='Signiertes_eRezept').exists())" } ], "definition": "Das Profil beinhaltet ein Rezept, ein signiertes eRezept oder einen Medikationsplan als pkcs#7-, pdf- oder XML-Datei" }, { "id": "DocumentReference.id", "min": 1, "path": "DocumentReference.id", "mustSupport": true }, { "id": "DocumentReference.meta", "min": 1, "path": "DocumentReference.meta", "mustSupport": true }, { "id": "DocumentReference.meta.source", "max": "0", "path": "DocumentReference.meta.source" }, { "id": "DocumentReference.meta.profile", "max": "1", "min": 1, "path": "DocumentReference.meta.profile", "mustSupport": true, "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_DocumentReference|2.1.0" }, { "id": "DocumentReference.meta.security", "max": "0", "path": "DocumentReference.meta.security" }, { "id": "DocumentReference.meta.tag", "max": "0", "path": "DocumentReference.meta.tag" }, { "id": "DocumentReference.implicitRules", "max": "0", "path": "DocumentReference.implicitRules" }, { "id": "DocumentReference.language", "max": "0", "path": "DocumentReference.language" }, { "id": "DocumentReference.contained", "max": "0", "path": "DocumentReference.contained" }, { "id": "DocumentReference.extension", "max": "1", "min": 0, "path": "DocumentReference.extension", "slicing": { "rules": "closed", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten", "max": "1", "min": 0, "path": "DocumentReference.extension", "type": [ { "code": "Extension", "profile": [ "https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_ePrescription_Access|2.1.0" ] } ], "sliceName": "eRezept-Zugriffsdaten", "isModifier": false, "mustSupport": true }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension", "min": 2, "path": "DocumentReference.extension.extension", "slicing": { "rules": "closed", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:AccessCode", "min": 1, "path": "DocumentReference.extension.extension", "sliceName": "AccessCode", "mustSupport": true }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:AccessCode.value[x]", "path": "DocumentReference.extension.extension.value[x]", "mustSupport": true }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:AccessCode.value[x]:valueString", "path": "DocumentReference.extension.extension.value[x]", "sliceName": "valueString", "mustSupport": true }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:Task-ID", "min": 1, "path": "DocumentReference.extension.extension", "sliceName": "Task-ID", "mustSupport": true }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:Task-ID.value[x]", "path": "DocumentReference.extension.extension.value[x]", "mustSupport": true }, { "id": "DocumentReference.extension:eRezept-Zugriffsdaten.extension:Task-ID.value[x]:valueString", "path": "DocumentReference.extension.extension.value[x]", "sliceName": "valueString", "mustSupport": true }, { "id": "DocumentReference.masterIdentifier", "path": "DocumentReference.masterIdentifier", "short": "Versionsspezifischer Identifikator", "definition": "Angabe eines versionsabhängigen Identifiers für das Dokument.", "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", "mustSupport": true }, { "id": "DocumentReference.masterIdentifier.period", "max": "0", "path": "DocumentReference.masterIdentifier.period" }, { "id": "DocumentReference.masterIdentifier.assigner", "max": "0", "path": "DocumentReference.masterIdentifier.assigner" }, { "id": "DocumentReference.identifier", "path": "DocumentReference.identifier", "short": "Versionsunabhängiger Identifikator", "definition": "Angabe von versionsunabhängigen Identifiern für das Dokument.", "mustSupport": true }, { "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", "mustSupport": true }, { "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", "min": 1, "path": "DocumentReference.type", "mustSupport": true }, { "id": "DocumentReference.type.coding", "max": "2", "min": 1, "path": "DocumentReference.type.coding", "slicing": { "rules": "closed", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "DocumentReference.type.coding:Dokumententyp", "max": "1", "min": 1, "path": "DocumentReference.type.coding", "binding": { "strength": "required", "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_VoS_DocumentType" }, "sliceName": "Dokumententyp", "mustSupport": true }, { "id": "DocumentReference.type.coding:Dokumententyp.system", "min": 1, "path": "DocumentReference.type.coding.system", "mustSupport": true }, { "id": "DocumentReference.type.coding:Dokumententyp.code", "min": 1, "path": "DocumentReference.type.coding.code", "mustSupport": true }, { "path": "DocumentReference.type.coding", "definition": "Die Übermittlung des XDS-Type-Codes ist im Rahmen der Dokumentenbereitstellung für Clients nicht verpflichtend, muss jedoch vom Server bei der Entgegennahme ggf. ergänzt und bei der Dokumentenabfrage zurückgegeben werden. Der XDS-Type-Code kann über die im Rahmen der [KDL-Spezifikation](https://simplifier.net/kdl) publizierten [ConceptMaps](https://simplifier.net/kdl/~resources?category=ConceptMap) aus dem KDL-Code ermittelt werden.", "short": "Dokumenttyp gem. IHE-De-Terminologie", "mustSupport": true, "sliceName": "XDS", "binding": { "strength": "required", "valueSet": "http://ihe-d.de/ValueSets/IHEXDStypeCode" }, "max": "1", "id": "DocumentReference.type.coding:XDS", "patternCoding": { "system": "http://ihe-d.de/CodeSystems/IHEXDStypeCode" } }, { "id": "DocumentReference.type.coding:XDS.system", "min": 1, "path": "DocumentReference.type.coding.system", "mustSupport": true }, { "id": "DocumentReference.type.coding:XDS.code", "min": 1, "path": "DocumentReference.type.coding.code", "mustSupport": true }, { "id": "DocumentReference.type.coding:XDS.display", "min": 1, "path": "DocumentReference.type.coding.display", "mustSupport": true }, { "id": "DocumentReference.type.text", "max": "0", "path": "DocumentReference.type.text" }, { "id": "DocumentReference.category", "max": "1", "path": "DocumentReference.category", "mustSupport": true }, { "id": "DocumentReference.category.coding", "max": "1", "min": 1, "path": "DocumentReference.category.coding", "slicing": { "rules": "closed", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "DocumentReference.category.coding:XDS", "max": "1", "min": 1, "path": "DocumentReference.category.coding", "binding": { "strength": "required", "valueSet": "http://ihe-d.de/ValueSets/IHEXDSclassCode" }, "sliceName": "XDS", "patternCoding": { "system": "http://ihe-d.de/CodeSystems/IHEXDSclassCode" } }, { "id": "DocumentReference.category.coding:XDS.system", "min": 1, "path": "DocumentReference.category.coding.system", "mustSupport": true }, { "id": "DocumentReference.category.coding:XDS.code", "min": 1, "path": "DocumentReference.category.coding.code", "mustSupport": true }, { "id": "DocumentReference.category.coding:XDS.display", "min": 1, "path": "DocumentReference.category.coding.display", "mustSupport": true }, { "id": "DocumentReference.subject", "path": "DocumentReference.subject", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Patient|2.1.0" ] } ], "mustSupport": true }, { "id": "DocumentReference.subject.reference", "min": 1, "path": "DocumentReference.subject.reference", "mustSupport": true }, { "id": "DocumentReference.subject.type", "max": "0", "path": "DocumentReference.subject.type" }, { "id": "DocumentReference.subject.identifier", "max": "0", "path": "DocumentReference.subject.identifier" }, { "id": "DocumentReference.subject.display", "max": "0", "path": "DocumentReference.subject.display" }, { "id": "DocumentReference.date", "min": 1, "path": "DocumentReference.date", "mustSupport": true }, { "id": "DocumentReference.author", "max": "2", "path": "DocumentReference.author", "slicing": { "rules": "closed", "discriminator": [ { "path": "type", "type": "value" } ] }, "mustSupport": true }, { "id": "DocumentReference.author:Behandelnder", "max": "1", "path": "DocumentReference.author", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Practitioner|2.1.0" ] } ], "sliceName": "Behandelnder", "mustSupport": true }, { "id": "DocumentReference.author:Behandelnder.reference", "min": 1, "path": "DocumentReference.author.reference", "mustSupport": true }, { "id": "DocumentReference.author:Behandelnder.type", "min": 1, "path": "DocumentReference.author.type", "fixedUri": "Practitioner", "mustSupport": true }, { "id": "DocumentReference.author:Behandelnder.identifier", "max": "0", "path": "DocumentReference.author.identifier" }, { "id": "DocumentReference.author:Behandelnder.display", "max": "0", "path": "DocumentReference.author.display" }, { "id": "DocumentReference.author:AusstellendesSystem", "max": "1", "path": "DocumentReference.author", "sliceName": "AusstellendesSystem", "mustSupport": true }, { "id": "DocumentReference.author:AusstellendesSystem.reference", "max": "0", "path": "DocumentReference.author.reference" }, { "id": "DocumentReference.author:AusstellendesSystem.type", "min": 1, "path": "DocumentReference.author.type", "fixedUri": "Device", "mustSupport": true }, { "id": "DocumentReference.author:AusstellendesSystem.identifier", "min": 1, "path": "DocumentReference.author.identifier", "mustSupport": true }, { "id": "DocumentReference.author:AusstellendesSystem.identifier.use", "max": "0", "path": "DocumentReference.author.identifier.use" }, { "id": "DocumentReference.author:AusstellendesSystem.identifier.type", "max": "0", "path": "DocumentReference.author.identifier.type" }, { "id": "DocumentReference.author:AusstellendesSystem.identifier.system", "min": 1, "path": "DocumentReference.author.identifier.system", "fixedUri": "https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer", "mustSupport": true }, { "id": "DocumentReference.author:AusstellendesSystem.identifier.value", "min": 1, "path": "DocumentReference.author.identifier.value", "mustSupport": true }, { "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/KBV_PR_VoS_Organization|2.1.0" ] } ], "mustSupport": true }, { "id": "DocumentReference.custodian.reference", "min": 1, "path": "DocumentReference.custodian.reference", "mustSupport": true }, { "id": "DocumentReference.custodian.type", "max": "0", "path": "DocumentReference.custodian.type" }, { "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 bundeseinheitlichen Medikationsplans. In diesem Fall ist relatesTo.code = transforms. Alternativ können auch Verknüpfungen zwischen verschiedenen Seiten eines bundeseinheitlichen Medikationsplans übertragen werden. In diesem Fall ist relatesTo.code = appends.", "mustSupport": true }, { "id": "DocumentReference.relatesTo.code", "path": "DocumentReference.relatesTo.code", "mustSupport": true }, { "id": "DocumentReference.relatesTo.target", "path": "DocumentReference.relatesTo.target", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_DocumentReference|2.1.0" ] } ], "mustSupport": true }, { "id": "DocumentReference.relatesTo.target.reference", "min": 1, "path": "DocumentReference.relatesTo.target.reference", "mustSupport": true }, { "id": "DocumentReference.relatesTo.target.type", "max": "0", "path": "DocumentReference.relatesTo.target.type" }, { "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", "max": "1", "path": "DocumentReference.content", "definition": "Hier wird das Dokument in Form eines formatierten Anhangs abgebildet.", "mustSupport": true }, { "id": "DocumentReference.content.attachment", "path": "DocumentReference.content.attachment", "mustSupport": true }, { "id": "DocumentReference.content.attachment.contentType", "min": 1, "path": "DocumentReference.content.attachment.contentType", "binding": { "strength": "required", "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_VoS_ContentTypes", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MimeType" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ] }, "definition": "Hier wird das Dateiformat ausgewählt. PDF-Dokument: application/pdf, XML-Dokument: application/xml, pkcs#7-Datei: application/pkcs7-mime", "mustSupport": true }, { "id": "DocumentReference.content.attachment.data", "min": 1, "path": "DocumentReference.content.attachment.data", "mustSupport": true }, { "id": "DocumentReference.context", "path": "DocumentReference.context", "definition": "Verweis auf die im PDF-Ausdruck eines Rezeptes vorhandenen FHIR-Ressourcen gemäß https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Prescription bzw. auf die eRezept-Bundles gemäß https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle aus dem Patientenausdruck.", "mustSupport": true }, { "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", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Prescription|2.1.0", "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle" ] } ], "mustSupport": true }, { "id": "DocumentReference.context.related.reference", "min": 1, "path": "DocumentReference.context.related.reference", "mustSupport": true }, { "id": "DocumentReference.context.related.type", "max": "0", "path": "DocumentReference.context.related.type" }, { "id": "DocumentReference.context.related.identifier", "max": "0", "path": "DocumentReference.context.related.identifier" }, { "id": "DocumentReference.context.related.display", "max": "0", "path": "DocumentReference.context.related.display" } ] }, "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_DocumentReference|1.3.0" }