Metadaten

CanonicalStatusVersionBasis
https://gematik.de/fhir/erg/StructureDefinition/erg-rechnungactive1.0.0-CChttp://hl7.org/fhir/StructureDefinition/Invoice

Inhalt

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
pdf-repraesentation-rechnungS I0..1Extension(Reference(Binary))
periodS I0..1Extension(datePeriod)
AbrechnungsrelevanteDiagnoseS I0..*Extension(Reference(Condition))
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeS Σ1..1CodeableConceptBindingPattern
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
statusS Σ ?!1..1codeBindingPattern
cancelledReason0..1string
typeS Σ1..1CodeableConceptPattern
id0..1string
extensionI0..*Extension
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ1..1string
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierS Σ1..1IdentifierKvid10
displayS Σ1..1string
dateS Σ1..1dateTime
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
roleS0..1CodeableConceptBinding
actorI1..1Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
role1..1CodeableConceptPattern
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierS Σ0..1IdentifierIknr, IdentifierTelematikId
displayΣ0..1string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
role1..1CodeableConceptPattern
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierS Σ0..1IdentifierIknr, IdentifierTelematikId
displayΣ0..1string
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierS Σ1..1IdentifierTelematikId
displayS Σ1..1string
accountI0..1Reference(Account)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
sequence0..1positiveInt
chargeItemReferenceReference(ChargeItem)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
type1..1codeBinding
code0..1CodeableConcept
factor0..1decimal
amount0..1Money
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
type1..1codeBindingPattern
code0..1CodeableConcept
factorS1..1decimal
amountS1..1Money
totalNetS Σ0..1Money
totalGrossS Σ0..1Money
id0..1string
zahlungszielS I1..1Extension(date)
value0..1System.String
note0..*Annotation
FeldnameKurzbeschreibungHinweise
Invoice.extension:pdf-repraesentation-rechnung
Invoice.extension:period
Invoice.extension:AbrechnungsrelevanteDiagnose
Invoice.identifier
Invoice.identifier:rechnungsnummer.type
Invoice.identifier:rechnungsnummer.systemNamensraum der Rechnungsnummern des Leistungeerbringers
Invoice.identifier:rechnungsnummer.valueRechnungsnummer
Invoice.status
Invoice.type
Invoice.subjectBehandelte Person
Invoice.subject.reference
Invoice.subject.displayName der behandelten Person

Der Name der behandelten Person muss angegeben werden und kann vom Namen des Rechnungsempfängers abweichen, z.B. wenn Eltern Rechnungen für ihre Kinder erhalten.

Invoice.recipientRechnungsempfänger

Das System des Leistungserbringers referenziert hier üblicherweise auf die lokale Instanz des Patienten um die Rechnung einer Patientenakte zuzuordnen. Der Fachdienst substitutiert den Link mit der Referenz auf das Postfach des Patienten bei der Extraktion der Invoice aus dem Bundle. Die Angabe der Versichertennummer dient der Plausibilisierung. Die KV-Nummer in der Instanz des Bundles muss daher mit der KV-Nummer übereinstimmen, die im Fachdienst für das Postfach des Rechnungsempfängers hinterlegt ist.

Invoice.recipient.identifier
Invoice.recipient.display
Invoice.date
Invoice.participant
Invoice.participant.role
Invoice.participant:leistungserbringer
Invoice.participant:leistungserbringer.actor.identifier
Invoice.participant:forderungsinhaber
Invoice.participant:forderungsinhaber.actor.identifier
Invoice.issuerLeistungserbringer

Der Leistungserbringer kann vom einreichenden Benutzer der Rechnung (z.B. Abrechnungsdiesntleister) abweichen

Invoice.issuer.identifierTelematik-ID des Leistungserbrigners
Invoice.issuer.displayName des Leistungserbringers
Invoice.lineItemRechnungspositionen
Invoice.lineItem.chargeItem[x]
Invoice.totalPriceComponent
Invoice.totalPriceComponent:taxSteuersatz und -Betrag
Invoice.totalPriceComponent:tax.factor
Invoice.totalPriceComponent:tax.amount
Invoice.totalNetNettobetrag der Rechnungssumme
Invoice.totalGrossBruttobetrag der Rechnungssumme
Invoice.paymentTerms.extension:zahlungsziel
<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="erg-rechnung" />
    <url value="https://gematik.de/fhir/erg/StructureDefinition/erg-rechnung" />
    <version value="1.0.0-CC" />
    <name value="ERGRechnung" />
    <title value="ERG Rechnung" />
    <status value="active" />
    <experimental value="false" />
    <date value="2024-06-20" />
    <publisher value="gematik GmbH" />
    <contact>
        <telecom>
            <system value="url" />
            <value value="http://gematik.de/" />
        </telecom>
    </contact>
    <fhirVersion value="4.0.1" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="Invoice" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Invoice" />
    <derivation value="constraint" />
    <differential>
        <element id="Invoice.extension:pdf-repraesentation-rechnung">
            <path value="Invoice.extension" />
            <sliceName value="pdf-repraesentation-rechnung" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="https://gematik.de/fhir/erg/StructureDefinition/erg-pdf-repraesentation-rechnung" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.extension:period">
            <path value="Invoice.extension" />
            <sliceName value="period" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://hl7.org/fhir/5.0/StructureDefinition/extension-Invoice.period" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.extension:AbrechnungsrelevanteDiagnose">
            <path value="Invoice.extension" />
            <sliceName value="AbrechnungsrelevanteDiagnose" />
            <min value="0" />
            <max value="*" />
            <type>
                <code value="Extension" />
                <profile value="https://gematik.de/fhir/erg/StructureDefinition/erg-abrechnungsrelevante-diagnose" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.identifier">
            <path value="Invoice.identifier" />
            <slicing>
                <discriminator>
                    <type value="pattern" />
                    <path value="type" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.identifier:rechnungsnummer">
            <path value="Invoice.identifier" />
            <sliceName value="rechnungsnummer" />
            <short value="Vom System des Leistungserbringers vergebene Rechnungsnummer" />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Invoice.identifier:rechnungsnummer.type">
            <path value="Invoice.identifier.type" />
            <min value="1" />
            <patternCodeableConcept>
                <coding>
                    <system value="http://fhir.de/CodeSystem/identifier-type-de-basis" />
                    <code value="invoice" />
                </coding>
            </patternCodeableConcept>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.identifier:rechnungsnummer.system">
            <path value="Invoice.identifier.system" />
            <short value="Namensraum der Rechnungsnummern des Leistungeerbringers" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.identifier:rechnungsnummer.value">
            <path value="Invoice.identifier.value" />
            <short value="Rechnungsnummer" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.status">
            <path value="Invoice.status" />
            <patternCode value="issued" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.type">
            <path value="Invoice.type" />
            <min value="1" />
            <patternCodeableConcept>
                <coding>
                    <system value="https://gematik.de/fhir/erg/CodeSystem/erg-rechnung-type-cs" />
                    <code value="erechnung" />
                </coding>
            </patternCodeableConcept>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.subject">
            <path value="Invoice.subject" />
            <short value="Behandelte Person" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.subject.reference">
            <path value="Invoice.subject.reference" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.subject.display">
            <path value="Invoice.subject.display" />
            <short value="Name der behandelten Person" />
            <comment value="Der Name der behandelten Person muss angegeben werden und kann vom Namen des Rechnungsempf&#228;ngers abweichen, z.B. wenn Eltern Rechnungen f&#252;r ihre Kinder erhalten." />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.recipient">
            <path value="Invoice.recipient" />
            <short value="Rechnungsempf&#228;nger" />
            <comment value="Das System des Leistungserbringers referenziert hier &#252;blicherweise \n  auf die lokale Instanz des Patienten um die Rechnung einer Patientenakte zuzuordnen. \n  Der Fachdienst substitutiert den Link mit der Referenz auf das Postfach des Patienten \n  bei der Extraktion der Invoice aus dem Bundle. Die Angabe der Versichertennummer dient \n  der Plausibilisierung. Die KV-Nummer in der Instanz des Bundles muss daher mit der \n  KV-Nummer &#252;bereinstimmen, die im Fachdienst f&#252;r das Postfach des Rechnungsempf&#228;ngers hinterlegt ist." />
            <min value="1" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.recipient.identifier">
            <path value="Invoice.recipient.identifier" />
            <min value="1" />
            <type>
                <code value="Identifier" />
                <profile value="http://fhir.de/StructureDefinition/identifier-kvid-10" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.recipient.display">
            <path value="Invoice.recipient.display" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.date">
            <path value="Invoice.date" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.participant">
            <path value="Invoice.participant" />
            <slicing>
                <discriminator>
                    <type value="pattern" />
                    <path value="role" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.participant.role">
            <path value="Invoice.participant.role" />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="https://gematik.de/fhir/erg/ValueSet/erg-participant-role-VS" />
            </binding>
        </element>
        <element id="Invoice.participant:leistungserbringer">
            <path value="Invoice.participant" />
            <sliceName value="leistungserbringer" />
            <min value="0" />
            <max value="*" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.participant:leistungserbringer.role">
            <path value="Invoice.participant.role" />
            <min value="1" />
            <patternCodeableConcept>
                <coding>
                    <system value="https://gematik.de/fhir/erg/CodeSystem/erg-participant-role-CS" />
                    <code value="leistungserbringer" />
                </coding>
            </patternCodeableConcept>
        </element>
        <element id="Invoice.participant:leistungserbringer.actor">
            <path value="Invoice.participant.actor" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
            </type>
        </element>
        <element id="Invoice.participant:leistungserbringer.actor.identifier">
            <path value="Invoice.participant.actor.identifier" />
            <type>
                <code value="Identifier" />
                <profile value="http://fhir.de/StructureDefinition/identifier-iknr" />
                <profile value="http://fhir.de/StructureDefinition/identifier-telematik-id" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.participant:forderungsinhaber">
            <path value="Invoice.participant" />
            <sliceName value="forderungsinhaber" />
            <min value="0" />
            <max value="*" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.participant:forderungsinhaber.role">
            <path value="Invoice.participant.role" />
            <min value="1" />
            <patternCodeableConcept>
                <coding>
                    <system value="https://gematik.de/fhir/erg/CodeSystem/erg-participant-role-CS" />
                    <code value="forderungsinhaber" />
                </coding>
            </patternCodeableConcept>
        </element>
        <element id="Invoice.participant:forderungsinhaber.actor">
            <path value="Invoice.participant.actor" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
            </type>
        </element>
        <element id="Invoice.participant:forderungsinhaber.actor.identifier">
            <path value="Invoice.participant.actor.identifier" />
            <type>
                <code value="Identifier" />
                <profile value="http://fhir.de/StructureDefinition/identifier-iknr" />
                <profile value="http://fhir.de/StructureDefinition/identifier-telematik-id" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.issuer">
            <path value="Invoice.issuer" />
            <short value="Leistungserbringer" />
            <comment value="Der Leistungserbringer kann vom einreichenden Benutzer \n      der Rechnung (z.B. Abrechnungsdiesntleister) abweichen" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.issuer.identifier">
            <path value="Invoice.issuer.identifier" />
            <short value="Telematik-ID des Leistungserbrigners" />
            <min value="1" />
            <type>
                <code value="Identifier" />
                <profile value="http://fhir.de/StructureDefinition/identifier-telematik-id" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.issuer.display">
            <path value="Invoice.issuer.display" />
            <short value="Name des Leistungserbringers" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.lineItem">
            <path value="Invoice.lineItem" />
            <short value="Rechnungspositionen" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.lineItem.chargeItem[x]">
            <path value="Invoice.lineItem.chargeItem[x]" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/ChargeItem" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.totalPriceComponent">
            <path value="Invoice.totalPriceComponent" />
            <slicing>
                <discriminator>
                    <type value="pattern" />
                    <path value="code" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.totalPriceComponent:tax">
            <path value="Invoice.totalPriceComponent" />
            <sliceName value="tax" />
            <short value="Steuersatz und -Betrag" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="BackboneElement" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Invoice.totalPriceComponent:tax.type">
            <path value="Invoice.totalPriceComponent.type" />
            <patternCode value="tax" />
        </element>
        <element id="Invoice.totalPriceComponent:tax.factor">
            <path value="Invoice.totalPriceComponent.factor" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.totalPriceComponent:tax.amount">
            <path value="Invoice.totalPriceComponent.amount" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.totalNet">
            <path value="Invoice.totalNet" />
            <short value="Nettobetrag der Rechnungssumme" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.totalGross">
            <path value="Invoice.totalGross" />
            <short value="Bruttobetrag der Rechnungssumme" />
            <mustSupport value="true" />
        </element>
        <element id="Invoice.paymentTerms.extension">
            <path value="Invoice.paymentTerms.extension" />
            <min value="1" />
        </element>
        <element id="Invoice.paymentTerms.extension:zahlungsziel">
            <path value="Invoice.paymentTerms.extension" />
            <sliceName value="zahlungsziel" />
            <min value="1" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="https://gematik.de/fhir/erg/StructureDefinition/erg-zahlungsziel" />
            </type>
            <mustSupport value="true" />
        </element>
    </differential>
</StructureDefinition>
{
    "resourceType": "StructureDefinition",
    "id": "erg-rechnung",
    "url": "https://gematik.de/fhir/erg/StructureDefinition/erg-rechnung",
    "version": "1.0.0-CC",
    "name": "ERGRechnung",
    "title": "ERG Rechnung",
    "status": "active",
    "experimental": false,
    "date": "2024-06-20",
    "publisher": "gematik GmbH",
    "contact":  [
        {
            "telecom":  [
                {
                    "system": "url",
                    "value": "http://gematik.de/"
                }
            ]
        }
    ],
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "Invoice",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Invoice",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Invoice.extension:pdf-repraesentation-rechnung",
                "path": "Invoice.extension",
                "sliceName": "pdf-repraesentation-rechnung",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://gematik.de/fhir/erg/StructureDefinition/erg-pdf-repraesentation-rechnung"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.extension:period",
                "path": "Invoice.extension",
                "sliceName": "period",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://hl7.org/fhir/5.0/StructureDefinition/extension-Invoice.period"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.extension:AbrechnungsrelevanteDiagnose",
                "path": "Invoice.extension",
                "sliceName": "AbrechnungsrelevanteDiagnose",
                "min": 0,
                "max": "*",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://gematik.de/fhir/erg/StructureDefinition/erg-abrechnungsrelevante-diagnose"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.identifier",
                "path": "Invoice.identifier",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "pattern",
                            "path": "type"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.identifier:rechnungsnummer",
                "path": "Invoice.identifier",
                "sliceName": "rechnungsnummer",
                "short": "Vom System des Leistungserbringers vergebene Rechnungsnummer",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Invoice.identifier:rechnungsnummer.type",
                "path": "Invoice.identifier.type",
                "min": 1,
                "patternCodeableConcept": {
                    "coding":  [
                        {
                            "code": "invoice",
                            "system": "http://fhir.de/CodeSystem/identifier-type-de-basis"
                        }
                    ]
                },
                "mustSupport": true
            },
            {
                "id": "Invoice.identifier:rechnungsnummer.system",
                "path": "Invoice.identifier.system",
                "short": "Namensraum der Rechnungsnummern des Leistungeerbringers",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.identifier:rechnungsnummer.value",
                "path": "Invoice.identifier.value",
                "short": "Rechnungsnummer",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.status",
                "path": "Invoice.status",
                "patternCode": "issued",
                "mustSupport": true
            },
            {
                "id": "Invoice.type",
                "path": "Invoice.type",
                "min": 1,
                "patternCodeableConcept": {
                    "coding":  [
                        {
                            "code": "erechnung",
                            "system": "https://gematik.de/fhir/erg/CodeSystem/erg-rechnung-type-cs"
                        }
                    ]
                },
                "mustSupport": true
            },
            {
                "id": "Invoice.subject",
                "path": "Invoice.subject",
                "short": "Behandelte Person",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.subject.reference",
                "path": "Invoice.subject.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.subject.display",
                "path": "Invoice.subject.display",
                "short": "Name der behandelten Person",
                "comment": "Der Name der behandelten Person muss angegeben werden und kann vom Namen des Rechnungsempfängers abweichen, z.B. wenn Eltern Rechnungen für ihre Kinder erhalten.",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.recipient",
                "path": "Invoice.recipient",
                "short": "Rechnungsempfänger",
                "comment": "Das System des Leistungserbringers referenziert hier üblicherweise \n  auf die lokale Instanz des Patienten um die Rechnung einer Patientenakte zuzuordnen. \n  Der Fachdienst substitutiert den Link mit der Referenz auf das Postfach des Patienten \n  bei der Extraktion der Invoice aus dem Bundle. Die Angabe der Versichertennummer dient \n  der Plausibilisierung. Die KV-Nummer in der Instanz des Bundles muss daher mit der \n  KV-Nummer übereinstimmen, die im Fachdienst für das Postfach des Rechnungsempfängers hinterlegt ist. ",
                "min": 1,
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://hl7.org/fhir/StructureDefinition/Patient"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.recipient.identifier",
                "path": "Invoice.recipient.identifier",
                "min": 1,
                "type":  [
                    {
                        "code": "Identifier",
                        "profile":  [
                            "http://fhir.de/StructureDefinition/identifier-kvid-10"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.recipient.display",
                "path": "Invoice.recipient.display",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.date",
                "path": "Invoice.date",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.participant",
                "path": "Invoice.participant",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "pattern",
                            "path": "role"
                        }
                    ],
                    "rules": "open"
                },
                "mustSupport": true
            },
            {
                "id": "Invoice.participant.role",
                "path": "Invoice.participant.role",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://gematik.de/fhir/erg/ValueSet/erg-participant-role-VS"
                }
            },
            {
                "id": "Invoice.participant:leistungserbringer",
                "path": "Invoice.participant",
                "sliceName": "leistungserbringer",
                "min": 0,
                "max": "*",
                "mustSupport": true
            },
            {
                "id": "Invoice.participant:leistungserbringer.role",
                "path": "Invoice.participant.role",
                "min": 1,
                "patternCodeableConcept": {
                    "coding":  [
                        {
                            "code": "leistungserbringer",
                            "system": "https://gematik.de/fhir/erg/CodeSystem/erg-participant-role-CS"
                        }
                    ]
                }
            },
            {
                "id": "Invoice.participant:leistungserbringer.actor",
                "path": "Invoice.participant.actor",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://hl7.org/fhir/StructureDefinition/Practitioner",
                            "http://hl7.org/fhir/StructureDefinition/Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Invoice.participant:leistungserbringer.actor.identifier",
                "path": "Invoice.participant.actor.identifier",
                "type":  [
                    {
                        "code": "Identifier",
                        "profile":  [
                            "http://fhir.de/StructureDefinition/identifier-iknr",
                            "http://fhir.de/StructureDefinition/identifier-telematik-id"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.participant:forderungsinhaber",
                "path": "Invoice.participant",
                "sliceName": "forderungsinhaber",
                "min": 0,
                "max": "*",
                "mustSupport": true
            },
            {
                "id": "Invoice.participant:forderungsinhaber.role",
                "path": "Invoice.participant.role",
                "min": 1,
                "patternCodeableConcept": {
                    "coding":  [
                        {
                            "code": "forderungsinhaber",
                            "system": "https://gematik.de/fhir/erg/CodeSystem/erg-participant-role-CS"
                        }
                    ]
                }
            },
            {
                "id": "Invoice.participant:forderungsinhaber.actor",
                "path": "Invoice.participant.actor",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://hl7.org/fhir/StructureDefinition/Practitioner",
                            "http://hl7.org/fhir/StructureDefinition/Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Invoice.participant:forderungsinhaber.actor.identifier",
                "path": "Invoice.participant.actor.identifier",
                "type":  [
                    {
                        "code": "Identifier",
                        "profile":  [
                            "http://fhir.de/StructureDefinition/identifier-iknr",
                            "http://fhir.de/StructureDefinition/identifier-telematik-id"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.issuer",
                "path": "Invoice.issuer",
                "short": "Leistungserbringer",
                "comment": "Der Leistungserbringer kann vom einreichenden Benutzer \n      der Rechnung (z.B. Abrechnungsdiesntleister) abweichen",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.issuer.identifier",
                "path": "Invoice.issuer.identifier",
                "short": "Telematik-ID des Leistungserbrigners",
                "min": 1,
                "type":  [
                    {
                        "code": "Identifier",
                        "profile":  [
                            "http://fhir.de/StructureDefinition/identifier-telematik-id"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.issuer.display",
                "path": "Invoice.issuer.display",
                "short": "Name des Leistungserbringers",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.lineItem",
                "path": "Invoice.lineItem",
                "short": "Rechnungspositionen",
                "mustSupport": true
            },
            {
                "id": "Invoice.lineItem.chargeItem[x]",
                "path": "Invoice.lineItem.chargeItem[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://hl7.org/fhir/StructureDefinition/ChargeItem"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.totalPriceComponent",
                "path": "Invoice.totalPriceComponent",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "pattern",
                            "path": "code"
                        }
                    ],
                    "rules": "open"
                },
                "mustSupport": true
            },
            {
                "id": "Invoice.totalPriceComponent:tax",
                "path": "Invoice.totalPriceComponent",
                "sliceName": "tax",
                "short": "Steuersatz und -Betrag",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "BackboneElement"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Invoice.totalPriceComponent:tax.type",
                "path": "Invoice.totalPriceComponent.type",
                "patternCode": "tax"
            },
            {
                "id": "Invoice.totalPriceComponent:tax.factor",
                "path": "Invoice.totalPriceComponent.factor",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.totalPriceComponent:tax.amount",
                "path": "Invoice.totalPriceComponent.amount",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Invoice.totalNet",
                "path": "Invoice.totalNet",
                "short": "Nettobetrag der Rechnungssumme",
                "mustSupport": true
            },
            {
                "id": "Invoice.totalGross",
                "path": "Invoice.totalGross",
                "short": "Bruttobetrag der Rechnungssumme",
                "mustSupport": true
            },
            {
                "id": "Invoice.paymentTerms.extension",
                "path": "Invoice.paymentTerms.extension",
                "min": 1
            },
            {
                "id": "Invoice.paymentTerms.extension:zahlungsziel",
                "path": "Invoice.paymentTerms.extension",
                "sliceName": "zahlungsziel",
                "min": 1,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://gematik.de/fhir/erg/StructureDefinition/erg-zahlungsziel"
                        ]
                    }
                ],
                "mustSupport": true
            }
        ]
    }
}