PackagesCanonicalsLogsProblems
    Packages
    elb.ck.private@0.0.1
    https://e-lb.de/fhir/StructureDefinition/KK_ELB_InvoiceContainerBundle
{
  "description": null,
  "_filename": "KK_ELB_InvoiceContainerBundle.StructureDefinition.json",
  "package_name": "elb.ck.private",
  "date": "2023-04-13T09:00:58.8118673+00:00",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "KK_ELB_InvoiceContainerBundle",
  "abstract": false,
  "type": "Bundle",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.0.1",
  "status": "draft",
  "id": "7fde94cd-c300-42de-a1e9-09c31244672d",
  "kind": "resource",
  "url": "https://e-lb.de/fhir/StructureDefinition/KK_ELB_InvoiceContainerBundle",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "constraint": [ {
        "key": "Therapieart",
        "human": "Es darf nicht sowohl ein ServiceRequest mit GT als auch mit ET geben",
        "severity": "error",
        "expression": "entry.where(resource is ServiceRequest).select(resource.code.coding.where(system='https://e-lb.de/fhir/CodeSystem/KK_ELB_CS_HLM_LER_Zusatzinfos').where(code='GT')).exists() implies entry.where(resource is ServiceRequest).select(resource.code.coding.where(system='https://e-lb.de/fhir/CodeSystem/KK_ELB_CS_HLM_LER_Zusatzinfos').where(code='ET')).exists().not()"
      }, {
        "key": "DiffTherapieart",
        "human": "Jede Therarpieart darf nur einmal innerhalb des Containers vorkommen",
        "severity": "error",
        "expression": "entry.where(resource is ServiceRequest).select(resource.code.coding.where(system='https://e-lb.de/fhir/CodeSystem/KK_ELB_CS_HLM_LER_Zusatzinfos').code).isDistinct()"
      } ]
    }, {
      "id": "Bundle.meta",
      "min": 1,
      "path": "Bundle.meta",
      "mustSupport": true
    }, {
      "id": "Bundle.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Bundle.meta.profile",
      "mustSupport": true
    }, {
      "id": "Bundle.implicitRules",
      "max": "0",
      "path": "Bundle.implicitRules"
    }, {
      "id": "Bundle.language",
      "max": "0",
      "path": "Bundle.language"
    }, {
      "id": "Bundle.identifier",
      "min": 1,
      "path": "Bundle.identifier",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.system",
      "min": 1,
      "path": "Bundle.identifier.system",
      "fixedUri": "https://e-lb.de/fhir/sid/KK_ELB_Belegnummer",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.value",
      "min": 1,
      "path": "Bundle.identifier.value",
      "maxLength": 10,
      "mustSupport": true
    }, {
      "id": "Bundle.type",
      "path": "Bundle.type",
      "fixedCode": "collection",
      "mustSupport": true
    }, {
      "id": "Bundle.total",
      "max": "0",
      "path": "Bundle.total"
    }, {
      "id": "Bundle.link",
      "max": "0",
      "path": "Bundle.link"
    }, {
      "id": "Bundle.entry",
      "min": 1,
      "path": "Bundle.entry",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "resource",
          "type": "profile"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Bundle.entry:SignedChargeItem",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "SignedChargeItem",
      "constraint": [ {
        "key": "sig-1",
        "human": "Signature of ChargeItem must be present",
        "xpath": "exists(f:resource:signature)",
        "severity": "error",
        "expression": "resource.signature.exists()"
      } ],
      "mustSupport": true
    }, {
      "id": "Bundle.entry:SignedChargeItem.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:SignedChargeItem.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://e-lb.de/fhir/StructureDefinition/KK_ELB_ResponseDocumentBundle" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Bundle.entry:BinaryFile",
      "path": "Bundle.entry",
      "sliceName": "BinaryFile"
    }, {
      "id": "Bundle.entry:BinaryFile.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:BinaryFile.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/Binary" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Bundle.entry:BinaryFile.resource.contentType",
      "path": "Bundle.entry.resource.contentType",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:BinaryFile.resource.data",
      "min": 1,
      "path": "Bundle.entry.resource.data",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:HebammeAttestServiceRequest",
      "path": "Bundle.entry",
      "sliceName": "HebammeAttestServiceRequest"
    }, {
      "id": "Bundle.entry:HebammeAttestServiceRequest.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:HebammeAttestServiceRequest.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://e-lb.de/fhir/StructureDefinition/KK_ELB_ServiceRequest" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Bundle.entry:Condition",
      "path": "Bundle.entry",
      "sliceName": "Condition"
    }, {
      "id": "Bundle.entry:Condition.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:Condition.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://e-lb.de/fhir/StructureDefinition/KK_ELB_Condition" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Bundle.entry:HeilmittelBundle",
      "path": "Bundle.entry",
      "sliceName": "HeilmittelBundle"
    }, {
      "id": "Bundle.entry:HeilmittelBundle.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:HeilmittelBundle.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://e-lb.de/fhir/StructureDefinition/KK_ELB_HLM_VO_DocumentBundle" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Bundle.entry:LERZusatzinfoServiceRequest",
      "max": "2",
      "path": "Bundle.entry",
      "sliceName": "LERZusatzinfoServiceRequest"
    }, {
      "id": "Bundle.entry:LERZusatzinfoServiceRequest.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:LERZusatzinfoServiceRequest.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://e-lb.de/fhir/StructureDefinition/KK_ELB_HLM_LER_Zusatzinfos_ServiceRequest" ]
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}