{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_ChargeItem",
  "version": "1.0",
  "name": "GKVSV_PR_D350_ChargeItem",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "ChargeItem",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ChargeItem",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ChargeItem.meta",
        "path": "ChargeItem.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.meta.profile",
        "path": "ChargeItem.meta.profile",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.implicitRules",
        "path": "ChargeItem.implicitRules",
        "max": "0"
      },
      {
        "id": "ChargeItem.language",
        "path": "ChargeItem.language",
        "max": "0"
      },
      {
        "id": "ChargeItem.contained",
        "path": "ChargeItem.contained",
        "max": "0"
      },
      {
        "id": "ChargeItem.status",
        "path": "ChargeItem.status",
        "fixedCode": "unknown"
      },
      {
        "id": "ChargeItem.code",
        "path": "ChargeItem.code",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding",
        "path": "ChargeItem.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ChargeItem.code.coding:ebm",
        "path": "ChargeItem.code.coding",
        "sliceName": "ebm",
        "patternCoding": {
          "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_EBM"
        }
      },
      {
        "id": "ChargeItem.code.coding:ebm.system",
        "path": "ChargeItem.code.coding.system",
        "min": 1,
        "patternUri": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_EBM",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:ebm.code",
        "path": "ChargeItem.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:drg",
        "path": "ChargeItem.code.coding",
        "sliceName": "drg",
        "patternCoding": {
          "system": "https://fhir.gkvsv.de/fhir/sid/GKVSV_NS_D350_DRG"
        }
      },
      {
        "id": "ChargeItem.code.coding:drg.system",
        "path": "ChargeItem.code.coding.system",
        "min": 1,
        "patternUri": "https://fhir.gkvsv.de/fhir/sid/GKVSV_NS_D350_DRG",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:drg.code",
        "path": "ChargeItem.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:drg.display",
        "path": "ChargeItem.code.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:bfn",
        "path": "ChargeItem.code.coding",
        "sliceName": "bfn",
        "patternCoding": {
          "system": "https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_FHIR_BFN"
        }
      },
      {
        "id": "ChargeItem.code.coding:bfn.system",
        "path": "ChargeItem.code.coding.system",
        "min": 1,
        "patternUri": "https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_FHIR_BFN",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:bfn.code",
        "path": "ChargeItem.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:gin",
        "path": "ChargeItem.code.coding",
        "sliceName": "gin",
        "patternCoding": {
          "system": "https://fhir.gkvsv.de/fhir/sid/GKVSV_NS_D350_GIN"
        }
      },
      {
        "id": "ChargeItem.code.coding:gin.system",
        "path": "ChargeItem.code.coding.system",
        "min": 1,
        "patternUri": "https://fhir.gkvsv.de/fhir/sid/GKVSV_NS_D350_GIN",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:gin.code",
        "path": "ChargeItem.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:le",
        "path": "ChargeItem.code.coding",
        "sliceName": "le",
        "patternCoding": {
          "system": "https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_FHIR_LE_Abrechnungscode"
        }
      },
      {
        "id": "ChargeItem.code.coding:le.system",
        "path": "ChargeItem.code.coding.system",
        "min": 1,
        "patternUri": "https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_FHIR_LE_Abrechnungscode",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:le.code",
        "path": "ChargeItem.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.code.coding:pseudonr",
        "path": "ChargeItem.code.coding",
        "sliceName": "pseudonr",
        "patternCoding": {
          "system": "https://fhir.gkvsv.de/fhir/sid/GKVSV_NS_D350_Pseudonr"
        }
      },
      {
        "id": "ChargeItem.code.coding:pseudonr.system",
        "path": "ChargeItem.code.coding.system",
        "patternUri": "https://fhir.gkvsv.de/fhir/sid/GKVSV_NS_D350_Pseudonr"
      },
      {
        "id": "ChargeItem.code.coding:pseudonr.code",
        "path": "ChargeItem.code.coding.code",
        "max": "0"
      },
      {
        "id": "ChargeItem.code.coding:pseudonr.display",
        "path": "ChargeItem.code.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.subject",
        "path": "ChargeItem.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Patient|1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ChargeItem.performer",
        "path": "ChargeItem.performer",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "actor.type"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ChargeItem.performer:leistungserbringerPerson",
        "path": "ChargeItem.performer",
        "sliceName": "leistungserbringerPerson"
      },
      {
        "id": "ChargeItem.performer:leistungserbringerPerson.actor",
        "path": "ChargeItem.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Practitioner|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.performer:leistungserbringerPerson.actor.type",
        "path": "ChargeItem.performer.actor.type",
        "min": 1,
        "fixedUri": "Practitioner",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.performer:leistungserbringerOrganisation",
        "path": "ChargeItem.performer",
        "sliceName": "leistungserbringerOrganisation",
        "definition": "Indicates who or what performed or participated in the charged service.\r\nWenn ein LE ohne Angestelltenverhältnis \r\narbeitet:\r\nEs ist nur das Slice performer: \r\nleistungserbringerOrganisation \r\n(actor.type=Organization) zu verwenden\r\nWenn der LE sich hingegen in einem \r\nAngestelltenverhältnis befindet:\r\nEs wird sowohl das Slice \r\nperformer:leistungserbringerOrganisation \r\n(actor.type=Organization) als auch das Slice \r\nperformer:leistungserbringerPerson \r\n(actor.type= Practitioner) verwendet."
      },
      {
        "id": "ChargeItem.performer:leistungserbringerOrganisation.actor",
        "path": "ChargeItem.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Organization|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.performer:leistungserbringerOrganisation.actor.type",
        "path": "ChargeItem.performer.actor.type",
        "min": 1,
        "fixedUri": "Organization",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.performer:leistungserbringerPractitionerRole",
        "path": "ChargeItem.performer",
        "sliceName": "leistungserbringerPractitionerRole"
      },
      {
        "id": "ChargeItem.performer:leistungserbringerPractitionerRole.actor",
        "path": "ChargeItem.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_PractitionerRole|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.performer:leistungserbringerPractitionerRole.actor.type",
        "path": "ChargeItem.performer.actor.type",
        "min": 1,
        "fixedUri": "PractitionerRole"
      },
      {
        "id": "ChargeItem.performingOrganization",
        "path": "ChargeItem.performingOrganization",
        "definition": "The organization requesting the service.\r\nDie Organisation in der Leistung durchgeführt wird.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Organization|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.requestingOrganization",
        "path": "ChargeItem.requestingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Organization|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.costCenter",
        "path": "ChargeItem.costCenter",
        "max": "0"
      },
      {
        "id": "ChargeItem.bodysite",
        "path": "ChargeItem.bodysite",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ChargeItem.bodysite.coding.system",
        "path": "ChargeItem.bodysite.coding.system",
        "mustSupport": false
      },
      {
        "id": "ChargeItem.bodysite.coding.code",
        "path": "ChargeItem.bodysite.coding.code",
        "mustSupport": false
      },
      {
        "id": "ChargeItem.bodysite:icd10",
        "path": "ChargeItem.bodysite",
        "sliceName": "icd10",
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_ICD_SEITENLOKALISATION"
        }
      },
      {
        "id": "ChargeItem.bodysite:icd10.coding",
        "path": "ChargeItem.bodysite.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.bodysite:icd10.coding.system",
        "path": "ChargeItem.bodysite.coding.system",
        "min": 1,
        "fixedUri": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_SEITENLOKALISATION",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.bodysite:icd10.coding.code",
        "path": "ChargeItem.bodysite.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.bodysite:zahnangabe",
        "path": "ChargeItem.bodysite",
        "sliceName": "zahnangabe",
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.gkvsv.de/ValueSet/GKVSV_VS_FHIR_Zahnangabe"
        }
      },
      {
        "id": "ChargeItem.bodysite:zahnangabe.coding",
        "path": "ChargeItem.bodysite.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.bodysite:zahnangabe.coding.system",
        "path": "ChargeItem.bodysite.coding.system",
        "min": 1,
        "fixedUri": "https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_FHIR_Zahnangabe",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.bodysite:zahnangabe.coding.code",
        "path": "ChargeItem.bodysite.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.factorOverride",
        "path": "ChargeItem.factorOverride",
        "max": "0"
      },
      {
        "id": "ChargeItem.priceOverride",
        "path": "ChargeItem.priceOverride",
        "max": "0"
      },
      {
        "id": "ChargeItem.enterer",
        "path": "ChargeItem.enterer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Organization|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.reason",
        "path": "ChargeItem.reason",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ChargeItem.reason:aufnahmegrund",
        "path": "ChargeItem.reason",
        "sliceName": "aufnahmegrund",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://fhir.de/CodeSystem/dkgev/AufnahmegrundErsteUndZweiteStelle"
            }
          ]
        },
        "binding": {
          "strength": "required",
          "description": "Aufnahmegrund",
          "valueSet": "http://fhir.de/ValueSet/dkgev/AufnahmegrundErsteUndZweiteStelle"
        }
      },
      {
        "id": "ChargeItem.reason:aufnahmegrund.coding",
        "path": "ChargeItem.reason.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.reason:aufnahmegrund.coding.system",
        "path": "ChargeItem.reason.coding.system",
        "min": 1,
        "patternUri": "http://fhir.de/CodeSystem/dkgev/AufnahmegrundErsteUndZweiteStelle",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.reason:aufnahmegrund.coding.code",
        "path": "ChargeItem.reason.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.service",
        "path": "ChargeItem.service",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
              "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
              "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
              "http://hl7.org/fhir/StructureDefinition/Immunization",
              "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
              "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
              "http://hl7.org/fhir/StructureDefinition/Observation",
              "http://hl7.org/fhir/StructureDefinition/Procedure",
              "http://hl7.org/fhir/StructureDefinition/SupplyDelivery"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.service:serviceReferenceMedicationDispense",
        "path": "ChargeItem.service",
        "sliceName": "serviceReferenceMedicationDispense",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_MedicationDispense|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.service:serviceReferenceMedicationDispense.type",
        "path": "ChargeItem.service.type",
        "min": 1,
        "fixedUri": "MedicationDispense",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.service:serviceReferenceProcedure",
        "path": "ChargeItem.service",
        "sliceName": "serviceReferenceProcedure",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Procedure"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.service:serviceReferenceProcedure.type",
        "path": "ChargeItem.service.type",
        "min": 1,
        "fixedUri": "Procedure"
      },
      {
        "id": "ChargeItem.account",
        "path": "ChargeItem.account",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Account|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.supportingInformation",
        "path": "ChargeItem.supportingInformation",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "display"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ChargeItem.supportingInformation:diagnose",
        "path": "ChargeItem.supportingInformation",
        "sliceName": "diagnose",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Condition_Diagnosis|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.supportingInformation:diagnose.reference",
        "path": "ChargeItem.supportingInformation.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.supportingInformation:diagnose.display",
        "path": "ChargeItem.supportingInformation.display",
        "min": 1,
        "fixedString": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Condition_Diagnosis",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.supportingInformation:krankenkasse",
        "path": "ChargeItem.supportingInformation",
        "sliceName": "krankenkasse",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Organization"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.supportingInformation:krankenkasse.reference",
        "path": "ChargeItem.supportingInformation.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.supportingInformation:krankenkasse.display",
        "path": "ChargeItem.supportingInformation.display",
        "min": 1,
        "fixedString": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Organization",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.supportingInformation:verordnerUeberweiser_PractitionerRole",
        "path": "ChargeItem.supportingInformation",
        "sliceName": "verordnerUeberweiser_PractitionerRole",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_PractitionerRole|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.supportingInformation:verordnerUeberweiser_PractitionerRole.reference",
        "path": "ChargeItem.supportingInformation.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.supportingInformation:verordnerUeberweiser_PractitionerRole.display",
        "path": "ChargeItem.supportingInformation.display",
        "min": 1,
        "fixedString": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_PractitionerRole",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.supportingInformation:verordnungsUeberweisungsdatum",
        "path": "ChargeItem.supportingInformation",
        "sliceName": "verordnungsUeberweisungsdatum",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_ServiceRequest|1.0",
              "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_MedicationRequest|1.0"
            ]
          }
        ]
      },
      {
        "id": "ChargeItem.supportingInformation:verordnungsUeberweisungsdatum.reference",
        "path": "ChargeItem.supportingInformation.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ChargeItem.supportingInformation:verordnungsUeberweisungsdatum.display",
        "path": "ChargeItem.supportingInformation.display",
        "min": 1,
        "fixedString": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_D350_Request",
        "mustSupport": true
      }
    ]
  }
}