TIFlow - Abrechnungsinformationen
Version 2.0.0-ballot.1 - ci-build

Resource Profile: GEM_ERPCHRG_PR_ChargeItem

Official URL: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem Version: 2.0.0-ballot.1
Active as of 2028-04-01 Computable Name: GEM_ERPCHRG_PR_ChargeItem

Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ChargeItem 0..* ChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:markingFlag S 0..1 (Complex) Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy
URL: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
.... identifier:PrescriptionID Σ 1..1 Identifier Prescription Identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:AccessCode Σ 0..1 Identifier AccessCode Identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode
..... value Σ 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code planned | billable | not-billable | aborted | billed | entered-in-error | unknown
Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem.
Fixed Value: billable
... code Σ 1..1 CodeableConcept A code that identifies the charge, like a billing code
Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes.
... subject ΣC 1..1 Reference(Patient | Group) Individual service was done for/to
Constraints: ref-1
.... identifier Σ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... enterer ΣC 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Pharmacy that initially provided the Abgabedaten in ChargeItem
Constraints: ref-1
.... identifier Σ 1..1 IdentifierTelematikId Logical reference, when literal reference is not known
... Slices for supportingInformation SC 0..4 Reference(Resource) Further information supporting this charge
Slice: Unordered, Closed by value:display
Constraints: ref-1
.... supportingInformation:prescriptionItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle
.... supportingInformation:dispenseItemBinary C 0..1 Reference(Binary) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: Binary
.... supportingInformation:dispenseItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle
.... supportingInformation:receiptBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ChargeItem.identifier:PrescriptionID.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.identifier:AccessCode.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.status Base required ChargeItemStatus 📍4.0.1 FHIR Std.
ChargeItem.code Base example ChargeItemCode 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error ChargeItem If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ChargeItem If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ChargeItem A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ref-1 error ChargeItem.subject, ChargeItem.enterer, ChargeItem.supportingInformation, ChargeItem.supportingInformation:prescriptionItemBundle, ChargeItem.supportingInformation:dispenseItemBinary, ChargeItem.supportingInformation:dispenseItemBundle, ChargeItem.supportingInformation:receiptBundle SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ChargeItem

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ChargeItem 0..* ChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:markingFlag S 0..1 (Complex) Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy
URL: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag
... Slices for identifier 1..* Identifier Business Identifier for item
Slice: Unordered, Closed by value:system
.... identifier:PrescriptionID 1..1 Identifier Prescription Identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId
..... value 1..1 string The value that is unique
.... identifier:AccessCode 0..1 Identifier AccessCode Identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode
..... value 1..1 string The value that is unique
... status 1..1 code planned | billable | not-billable | aborted | billed | entered-in-error | unknown
Fixed Value: billable
.... coding
..... system 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/data-absent-reason
..... code 0..1 code Symbol in syntax defined by the system
Fixed Value: not-applicable
... subject
.... identifier 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... enterer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Pharmacy that initially provided the Abgabedaten in ChargeItem
.... identifier 1..1 IdentifierTelematikId Logical reference, when literal reference is not known
... Slices for supportingInformation S 0..4 Reference(Resource) Further information supporting this charge
Slice: Unordered, Closed by value:display
.... supportingInformation:prescriptionItemBundle 0..1 Reference(Bundle) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle
.... supportingInformation:dispenseItemBinary 0..1 Reference(Binary) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: Binary
.... supportingInformation:dispenseItemBundle 0..1 Reference(Bundle) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle
.... supportingInformation:receiptBundle 0..1 Reference(Bundle) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ChargeItem 0..* ChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:markingFlag S 0..1 (Complex) Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy
URL: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier Σ 1..* Identifier Business Identifier for item
Slice: Unordered, Closed by value:system
.... identifier:PrescriptionID Σ 1..1 Identifier Prescription Identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... identifier:AccessCode Σ 0..1 Identifier AccessCode Identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
... definitionUri 0..* uri Defining information about the code of this charge item
... definitionCanonical 0..* canonical(ChargeItemDefinition) Resource defining the code of this ChargeItem
... status ?!Σ 1..1 code planned | billable | not-billable | aborted | billed | entered-in-error | unknown
Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem.
Fixed Value: billable
... partOf C 0..* Reference(ChargeItem) Part of referenced ChargeItem
Constraints: ref-1
... code Σ 1..1 CodeableConcept A code that identifies the charge, like a billing code
Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/data-absent-reason
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: not-applicable
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... subject ΣC 1..1 Reference(Patient | Group) Individual service was done for/to
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context ΣC 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with event
Constraints: ref-1
... occurrence[x] Σ 0..1 When the charged service was applied
.... occurrenceDateTime dateTime
.... occurrencePeriod Period
.... occurrenceTiming Timing
... performer 0..* BackboneElement Who performed charged service
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function 0..1 CodeableConcept What type of performance was done
Binding: ProcedurePerformerRoleCodes (example): Codes describing the types of functional roles performers can take on when performing events.
.... actor C 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) Individual who was performing
Constraints: ref-1
... performingOrganization C 0..1 Reference(Organization) Organization providing the charged service
Constraints: ref-1
... requestingOrganization C 0..1 Reference(Organization) Organization requesting the charged service
Constraints: ref-1
... costCenter C 0..1 Reference(Organization) Organization that has ownership of the (potential, future) revenue
Constraints: ref-1
... quantity ΣC 0..1 Quantity Quantity of which the charge item has been serviced
Constraints: qty-3
... bodysite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
... factorOverride 0..1 decimal Factor overriding the associated rules
... priceOverride 0..1 Money Price overriding the associated rules
... overrideReason 0..1 string Reason for overriding the list price/factor
... enterer ΣC 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Pharmacy that initially provided the Abgabedaten in ChargeItem
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 1..1 IdentifierTelematikId Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... enteredDate Σ 0..1 dateTime Date the charge item was entered
... reason 0..* CodeableConcept Why was the charged service rendered?
Binding: ICD-10Codes (example): Example binding for reason.
... service C 0..* Reference(DiagnosticReport | ImagingStudy | Immunization | MedicationAdministration | MedicationDispense | Observation | Procedure | SupplyDelivery) Which rendered service is being charged?
Constraints: ref-1
... product[x] 0..1 Product charged
Binding: FHIRDeviceTypes (example): Example binding for product type.
.... productReference Reference(Device | Medication | Substance)
.... productCodeableConcept CodeableConcept
... account ΣC 0..* Reference(Account) Account to place this charge
Constraints: ref-1
... note 0..* Annotation Comments made about the ChargeItem
... Slices for supportingInformation SC 0..4 Reference(Resource) Further information supporting this charge
Slice: Unordered, Closed by value:display
Constraints: ref-1
.... supportingInformation:prescriptionItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle
.... supportingInformation:dispenseItemBinary C 0..1 Reference(Binary) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: Binary
.... supportingInformation:dispenseItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle
.... supportingInformation:receiptBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ChargeItem.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ChargeItem.identifier:PrescriptionID.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.identifier:PrescriptionID.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
ChargeItem.identifier:AccessCode.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.identifier:AccessCode.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
ChargeItem.status Base required ChargeItemStatus 📍4.0.1 FHIR Std.
ChargeItem.code Base example ChargeItemCode 📍4.0.1 FHIR Std.
ChargeItem.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.performer.​function Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
ChargeItem.bodysite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
ChargeItem.enterer.type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.reason Base example ICD-10 Codes 📍4.0.1 FHIR Std.
ChargeItem.product[x] Base example FHIR Device Types 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:prescriptionItemBundle.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:dispenseItemBinary.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:dispenseItemBundle.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:receiptBundle.​type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error ChargeItem If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ChargeItem If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ChargeItem A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
per-1 error ChargeItem.identifier:PrescriptionID.period, ChargeItem.identifier:AccessCode.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3 error ChargeItem.quantity If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error ChargeItem.identifier:PrescriptionID.assigner, ChargeItem.identifier:AccessCode.assigner, ChargeItem.partOf, ChargeItem.subject, ChargeItem.context, ChargeItem.performer.actor, ChargeItem.performingOrganization, ChargeItem.requestingOrganization, ChargeItem.costCenter, ChargeItem.enterer, ChargeItem.service, ChargeItem.account, ChargeItem.supportingInformation, ChargeItem.supportingInformation:prescriptionItemBundle, ChargeItem.supportingInformation:dispenseItemBinary, ChargeItem.supportingInformation:dispenseItemBundle, ChargeItem.supportingInformation:receiptBundle SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ChargeItem

Summary

Mandatory: 5 elements(7 nested mandatory elements)
Must-Support: 2 elements
Fixed: 9 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ChargeItem.identifier (Closed)
  • The element 1 is sliced based on the value of ChargeItem.supportingInformation (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ChargeItem 0..* ChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:markingFlag S 0..1 (Complex) Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy
URL: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
.... identifier:PrescriptionID Σ 1..1 Identifier Prescription Identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:AccessCode Σ 0..1 Identifier AccessCode Identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode
..... value Σ 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code planned | billable | not-billable | aborted | billed | entered-in-error | unknown
Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem.
Fixed Value: billable
... code Σ 1..1 CodeableConcept A code that identifies the charge, like a billing code
Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes.
... subject ΣC 1..1 Reference(Patient | Group) Individual service was done for/to
Constraints: ref-1
.... identifier Σ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... enterer ΣC 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Pharmacy that initially provided the Abgabedaten in ChargeItem
Constraints: ref-1
.... identifier Σ 1..1 IdentifierTelematikId Logical reference, when literal reference is not known
... Slices for supportingInformation SC 0..4 Reference(Resource) Further information supporting this charge
Slice: Unordered, Closed by value:display
Constraints: ref-1
.... supportingInformation:prescriptionItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle
.... supportingInformation:dispenseItemBinary C 0..1 Reference(Binary) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: Binary
.... supportingInformation:dispenseItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle
.... supportingInformation:receiptBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ChargeItem.identifier:PrescriptionID.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.identifier:AccessCode.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.status Base required ChargeItemStatus 📍4.0.1 FHIR Std.
ChargeItem.code Base example ChargeItemCode 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error ChargeItem If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ChargeItem If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ChargeItem A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ref-1 error ChargeItem.subject, ChargeItem.enterer, ChargeItem.supportingInformation, ChargeItem.supportingInformation:prescriptionItemBundle, ChargeItem.supportingInformation:dispenseItemBinary, ChargeItem.supportingInformation:dispenseItemBundle, ChargeItem.supportingInformation:receiptBundle SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from ChargeItem

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ChargeItem 0..* ChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:markingFlag S 0..1 (Complex) Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy
URL: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag
... Slices for identifier 1..* Identifier Business Identifier for item
Slice: Unordered, Closed by value:system
.... identifier:PrescriptionID 1..1 Identifier Prescription Identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId
..... value 1..1 string The value that is unique
.... identifier:AccessCode 0..1 Identifier AccessCode Identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode
..... value 1..1 string The value that is unique
... status 1..1 code planned | billable | not-billable | aborted | billed | entered-in-error | unknown
Fixed Value: billable
.... coding
..... system 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/data-absent-reason
..... code 0..1 code Symbol in syntax defined by the system
Fixed Value: not-applicable
... subject
.... identifier 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
... enterer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Pharmacy that initially provided the Abgabedaten in ChargeItem
.... identifier 1..1 IdentifierTelematikId Logical reference, when literal reference is not known
... Slices for supportingInformation S 0..4 Reference(Resource) Further information supporting this charge
Slice: Unordered, Closed by value:display
.... supportingInformation:prescriptionItemBundle 0..1 Reference(Bundle) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle
.... supportingInformation:dispenseItemBinary 0..1 Reference(Binary) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: Binary
.... supportingInformation:dispenseItemBundle 0..1 Reference(Bundle) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle
.... supportingInformation:receiptBundle 0..1 Reference(Bundle) Further information supporting this charge
..... display 1..1 string Text alternative for the resource
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ChargeItem 0..* ChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:markingFlag S 0..1 (Complex) Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy
URL: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier Σ 1..* Identifier Business Identifier for item
Slice: Unordered, Closed by value:system
.... identifier:PrescriptionID Σ 1..1 Identifier Prescription Identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... identifier:AccessCode Σ 0..1 Identifier AccessCode Identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
... definitionUri 0..* uri Defining information about the code of this charge item
... definitionCanonical 0..* canonical(ChargeItemDefinition) Resource defining the code of this ChargeItem
... status ?!Σ 1..1 code planned | billable | not-billable | aborted | billed | entered-in-error | unknown
Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem.
Fixed Value: billable
... partOf C 0..* Reference(ChargeItem) Part of referenced ChargeItem
Constraints: ref-1
... code Σ 1..1 CodeableConcept A code that identifies the charge, like a billing code
Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/data-absent-reason
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: not-applicable
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... subject ΣC 1..1 Reference(Patient | Group) Individual service was done for/to
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 1..1 IdentifierKvid10 Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context ΣC 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with event
Constraints: ref-1
... occurrence[x] Σ 0..1 When the charged service was applied
.... occurrenceDateTime dateTime
.... occurrencePeriod Period
.... occurrenceTiming Timing
... performer 0..* BackboneElement Who performed charged service
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function 0..1 CodeableConcept What type of performance was done
Binding: ProcedurePerformerRoleCodes (example): Codes describing the types of functional roles performers can take on when performing events.
.... actor C 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) Individual who was performing
Constraints: ref-1
... performingOrganization C 0..1 Reference(Organization) Organization providing the charged service
Constraints: ref-1
... requestingOrganization C 0..1 Reference(Organization) Organization requesting the charged service
Constraints: ref-1
... costCenter C 0..1 Reference(Organization) Organization that has ownership of the (potential, future) revenue
Constraints: ref-1
... quantity ΣC 0..1 Quantity Quantity of which the charge item has been serviced
Constraints: qty-3
... bodysite Σ 0..* CodeableConcept Anatomical location, if relevant
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
... factorOverride 0..1 decimal Factor overriding the associated rules
... priceOverride 0..1 Money Price overriding the associated rules
... overrideReason 0..1 string Reason for overriding the list price/factor
... enterer ΣC 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Pharmacy that initially provided the Abgabedaten in ChargeItem
Constraints: ref-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 1..1 IdentifierTelematikId Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... enteredDate Σ 0..1 dateTime Date the charge item was entered
... reason 0..* CodeableConcept Why was the charged service rendered?
Binding: ICD-10Codes (example): Example binding for reason.
... service C 0..* Reference(DiagnosticReport | ImagingStudy | Immunization | MedicationAdministration | MedicationDispense | Observation | Procedure | SupplyDelivery) Which rendered service is being charged?
Constraints: ref-1
... product[x] 0..1 Product charged
Binding: FHIRDeviceTypes (example): Example binding for product type.
.... productReference Reference(Device | Medication | Substance)
.... productCodeableConcept CodeableConcept
... account ΣC 0..* Reference(Account) Account to place this charge
Constraints: ref-1
... note 0..* Annotation Comments made about the ChargeItem
... Slices for supportingInformation SC 0..4 Reference(Resource) Further information supporting this charge
Slice: Unordered, Closed by value:display
Constraints: ref-1
.... supportingInformation:prescriptionItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle
.... supportingInformation:dispenseItemBinary C 0..1 Reference(Binary) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: Binary
.... supportingInformation:dispenseItemBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle
.... supportingInformation:receiptBundle C 0..1 Reference(Bundle) Further information supporting this charge
Constraints: ref-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 1..1 string Text alternative for the resource
Fixed Value: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ChargeItem.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ChargeItem.identifier:PrescriptionID.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.identifier:PrescriptionID.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
ChargeItem.identifier:AccessCode.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
ChargeItem.identifier:AccessCode.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
ChargeItem.status Base required ChargeItemStatus 📍4.0.1 FHIR Std.
ChargeItem.code Base example ChargeItemCode 📍4.0.1 FHIR Std.
ChargeItem.subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.performer.​function Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
ChargeItem.bodysite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
ChargeItem.enterer.type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.reason Base example ICD-10 Codes 📍4.0.1 FHIR Std.
ChargeItem.product[x] Base example FHIR Device Types 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:prescriptionItemBundle.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:dispenseItemBinary.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:dispenseItemBundle.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
ChargeItem.supportingInformation:receiptBundle.​type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error ChargeItem If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ChargeItem If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ChargeItem If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ChargeItem A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
per-1 error ChargeItem.identifier:PrescriptionID.period, ChargeItem.identifier:AccessCode.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3 error ChargeItem.quantity If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error ChargeItem.identifier:PrescriptionID.assigner, ChargeItem.identifier:AccessCode.assigner, ChargeItem.partOf, ChargeItem.subject, ChargeItem.context, ChargeItem.performer.actor, ChargeItem.performingOrganization, ChargeItem.requestingOrganization, ChargeItem.costCenter, ChargeItem.enterer, ChargeItem.service, ChargeItem.account, ChargeItem.supportingInformation, ChargeItem.supportingInformation:prescriptionItemBundle, ChargeItem.supportingInformation:dispenseItemBinary, ChargeItem.supportingInformation:dispenseItemBundle, ChargeItem.supportingInformation:receiptBundle SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ChargeItem

Summary

Mandatory: 5 elements(7 nested mandatory elements)
Must-Support: 2 elements
Fixed: 9 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ChargeItem.identifier (Closed)
  • The element 1 is sliced based on the value of ChargeItem.supportingInformation (Closed)

 

Other representations of profile: CSV, Excel, Schematron