{
"description": null,
"_filename": "StructureDefinition-eeb-anfrage-bundle.json",
"package_name": "de.gematik.elektronische",
"date": "2023-02-17",
"derivation": "constraint",
"publisher": "gematik GmbH",
"fhirVersion": "4.0.1",
"name": "EEBAnfrageBundle",
"mapping": [ {
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping",
"identity": "v2"
}, {
"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"
} ],
"abstract": false,
"type": "Bundle",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": null,
"package_version": "versicherungsbescheinigung-1.0.0-rc1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Other"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "not-classified"
} ],
"status": "draft",
"id": "57002711-dabe-43a9-af51-5a53c5c71b5b",
"kind": "resource",
"url": "https://gematik.de/fhir/eeb/StructureDefinition/EEBAnfrageBundle",
"version": "1.0",
"differential": {
"element": [ {
"id": "Bundle",
"path": "Bundle",
"constraint": [ {
"key": "-eeb-angabeOrganizationIdentifier",
"human": "Im Organization-Profil muss als Identifier entweder das Institutionskennzeichen, die Betriebsstättennummer oder die KZV-Abrechnungsnummer angegeben werden.",
"source": "https://gematik.de/fhir/eeb/StructureDefinition/EEBAnfrageBundle",
"severity": "error",
"expression": "entry.where(resource is Organization).resource.identifier.type.coding.where(code='BSNR' or code='XX' or code='KZVA').exists()"
}, {
"key": "-eeb-angabePatientIdentifier",
"human": "Im Patient-Profil muss entweder ein Identifier (GKV oder PKV) oder folgende Informationen (Name, Vorname, Geburtsdatum und Postleitzahl) angegeben werden.",
"source": "https://gematik.de/fhir/eeb/StructureDefinition/EEBAnfrageBundle",
"severity": "error",
"expression": "entry.where(resource is Patient).resource.identifier.type.coding.where(code='GKV' or code='PKV').exists() or entry.where(resource is Patient).resource.where(name.family and name.given and birthDate and address.postalCode).exists()"
} ]
}, {
"id": "Bundle.id",
"min": 1,
"path": "Bundle.id"
}, {
"id": "Bundle.meta",
"min": 1,
"path": "Bundle.meta"
}, {
"id": "Bundle.meta.profile",
"max": "1",
"min": 1,
"path": "Bundle.meta.profile",
"fixedCanonical": "https://gematik.de/fhir/eeb/StructureDefinition/EEBAnfrageBundle"
}, {
"id": "Bundle.identifier",
"min": 1,
"path": "Bundle.identifier"
}, {
"id": "Bundle.identifier.use",
"max": "0",
"path": "Bundle.identifier.use"
}, {
"id": "Bundle.identifier.type",
"max": "0",
"path": "Bundle.identifier.type"
}, {
"id": "Bundle.identifier.system",
"min": 1,
"path": "Bundle.identifier.system",
"fixedUri": "urn:ietf:rfc:3986"
}, {
"id": "Bundle.identifier.value",
"min": 1,
"path": "Bundle.identifier.value",
"short": "Eindeutige UUID"
}, {
"id": "Bundle.identifier.period",
"max": "0",
"path": "Bundle.identifier.period"
}, {
"id": "Bundle.identifier.assigner",
"max": "0",
"path": "Bundle.identifier.assigner"
}, {
"id": "Bundle.type",
"path": "Bundle.type",
"fixedCode": "message"
}, {
"id": "Bundle.timestamp",
"min": 1,
"path": "Bundle.timestamp"
}, {
"id": "Bundle.total",
"max": "0",
"path": "Bundle.total"
}, {
"id": "Bundle.link",
"max": "0",
"path": "Bundle.link"
}, {
"id": "Bundle.entry",
"max": "3",
"min": 3,
"path": "Bundle.entry",
"slicing": {
"rules": "closed",
"discriminator": [ {
"path": "resource.meta.profile",
"type": "value"
} ]
}
}, {
"id": "Bundle.entry:EEBAnfrageHeader",
"max": "1",
"min": 1,
"path": "Bundle.entry",
"sliceName": "EEBAnfrageHeader"
}, {
"id": "Bundle.entry:EEBAnfrageHeader.link",
"max": "0",
"path": "Bundle.entry.link"
}, {
"id": "Bundle.entry:EEBAnfrageHeader.resource",
"min": 1,
"path": "Bundle.entry.resource",
"type": [ {
"code": "MessageHeader",
"profile": [ "https://gematik.de/fhir/eeb/StructureDefinition/EEBAnfrageHeader" ]
} ]
}, {
"id": "Bundle.entry:EEBAnfrageHeader.search",
"max": "0",
"path": "Bundle.entry.search"
}, {
"id": "Bundle.entry:EEBAnfrageHeader.request",
"max": "0",
"path": "Bundle.entry.request"
}, {
"id": "Bundle.entry:EEBAnfrageHeader.response",
"max": "0",
"path": "Bundle.entry.response"
}, {
"id": "Bundle.entry:EEBKnownPatient",
"max": "1",
"min": 0,
"path": "Bundle.entry",
"sliceName": "EEBKnownPatient"
}, {
"id": "Bundle.entry:EEBKnownPatient.link",
"max": "0",
"path": "Bundle.entry.link"
}, {
"id": "Bundle.entry:EEBKnownPatient.resource",
"min": 1,
"path": "Bundle.entry.resource",
"type": [ {
"code": "Patient",
"profile": [ "https://gematik.de/fhir/eeb/StructureDefinition/EEBKnownPatient" ]
} ]
}, {
"id": "Bundle.entry:EEBKnownPatient.search",
"max": "0",
"path": "Bundle.entry.search"
}, {
"id": "Bundle.entry:EEBKnownPatient.request",
"max": "0",
"path": "Bundle.entry.request"
}, {
"id": "Bundle.entry:EEBKnownPatient.response",
"max": "0",
"path": "Bundle.entry.response"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Patient",
"max": "1",
"min": 0,
"path": "Bundle.entry",
"sliceName": "KBV_PR_FOR_Patient"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Patient.link",
"max": "0",
"path": "Bundle.entry.link"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Patient.resource",
"min": 1,
"path": "Bundle.entry.resource",
"type": [ {
"code": "Patient",
"profile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient" ]
} ]
}, {
"id": "Bundle.entry:KBV_PR_FOR_Patient.search",
"max": "0",
"path": "Bundle.entry.search"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Patient.request",
"max": "0",
"path": "Bundle.entry.request"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Patient.response",
"max": "0",
"path": "Bundle.entry.response"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Organization",
"max": "1",
"min": 1,
"path": "Bundle.entry",
"sliceName": "KBV_PR_FOR_Organization"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Organization.link",
"max": "0",
"path": "Bundle.entry.link"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Organization.resource",
"min": 1,
"path": "Bundle.entry.resource",
"type": [ {
"code": "Organization",
"profile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization" ]
} ]
}, {
"id": "Bundle.entry:KBV_PR_FOR_Organization.search",
"max": "0",
"path": "Bundle.entry.search"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Organization.request",
"max": "0",
"path": "Bundle.entry.request"
}, {
"id": "Bundle.entry:KBV_PR_FOR_Organization.response",
"max": "0",
"path": "Bundle.entry.response"
}, {
"id": "Bundle.signature",
"max": "0",
"path": "Bundle.signature"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}