FHIR Implementation Guide for ABDM
6.0.0 - active India flag

Banner

This page is part of the FHIR Implementation Guide for ABDM (v6.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: StructureDefinition/Invoice

Official URL: https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice Version: 6.0.0
Draft as of 2024-01-24 Computable Name: Invoice

This profile sets the minimum expectations for the details to be added in order to generate invoices for various healthcare process or workflows.

Usage:

Formal Views of Profile Content

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

This structure is derived from Invoice

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..*InvoiceInvoice containing ChargeItems from an Account
... identifier 1..1IdentifierBusiness Identifier for invoice (e.g invoice number or bill number)
.... type
..... text S0..1stringPlain text representation of the concept
.... value 1..1stringThe value that is unique (example the invoice number or bill number)
.... assigner 0..1Reference(Organization)Organization that issued id (may be just text)
... type 1..1CodeableConceptType of Invoice
Binding: Invoice Types (extensible): Valueset for invoice types

.... coding 1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 1..1stringRepresentation defined by the system
.... text S0..1stringPlain text representation of the concept
... subject 1..1Reference(Group | Patient)Recipient(s) of goods and services
... date 1..1dateTimeInvoice date / posting date
... participant
.... actor 1..1Reference(Device | RelatedPerson | Practitioner | Organization | Patient | PractitionerRole)Individual who was involved
... issuer 0..1Reference(Organization)Issuing Organization of Invoice
... lineItem 1..*BackboneElementLine items of this Invoice
.... chargeItem[x] 1..1Reference to ChargeItem containing details of this line item or an inline billing code. In the context of ABDM the Chargeitem resource reference must be populated indicating the details for the medicines or other service charged.
..... chargeItemReferenceReference(ChargeItem)
..... chargeItemCodeableConceptCodeableConcept
.... priceComponent 1..*BackboneElementComponents of total line item price
..... code 1..1CodeableConceptCode identifying the specific component
Binding: Price Components (extensible): Price components

...... coding 1..1CodingCode defined by a terminology system
....... system 1..1uriIdentity of the terminology system
....... code 1..1codeSymbol in syntax defined by the system
....... display 1..1stringRepresentation defined by the system
...... text S0..1stringPlain text representation of the concept
..... amount 1..1MoneyMonetary amount associated with this component
... totalNet 1..1MoneyNet total of this Invoice
... totalGross 1..1MoneyGross total of this Invoice

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Invoice.typeextensibleInvoiceTypes
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-invoice-types
from this IG
Invoice.lineItem.priceComponent.codeextensiblePriceComponents (a valid code from Price Component)
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-price-components
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..*InvoiceInvoice containing ChargeItems from an Account
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierBusiness Identifier for invoice (e.g invoice number or bill number)
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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.

..... text SΣ0..1stringPlain text representation of the concept
.... value Σ1..1stringThe value that is unique (example the invoice number or bill number)
Example General: 123456
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... type Σ1..1CodeableConceptType of Invoice
Binding: Invoice Types (extensible): Valueset for invoice types

.... coding Σ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
.... text SΣ0..1stringPlain text representation of the concept
... subject Σ1..1Reference(Group | Patient)Recipient(s) of goods and services
... recipient Σ0..1Reference(RelatedPerson | Patient | Organization)Recipient of this invoice
... date Σ1..1dateTimeInvoice date / posting date
... issuer 0..1Reference(Organization)Issuing Organization of Invoice
... lineItem 1..*BackboneElementLine items of this Invoice
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... chargeItem[x] 1..1Reference to ChargeItem containing details of this line item or an inline billing code. In the context of ABDM the Chargeitem resource reference must be populated indicating the details for the medicines or other service charged.
..... chargeItemReferenceReference(ChargeItem)
..... chargeItemCodeableConceptCodeableConcept
.... priceComponent 1..*BackboneElementComponents of total line item price
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1codebase | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.

..... code 1..1CodeableConceptCode identifying the specific component
Binding: Price Components (extensible): Price components

...... coding Σ1..1CodingCode defined by a terminology system
....... system Σ1..1uriIdentity of the terminology system
....... code Σ1..1codeSymbol in syntax defined by the system
....... display Σ1..1stringRepresentation defined by the system
...... text SΣ0..1stringPlain text representation of the concept
..... amount 1..1MoneyMonetary amount associated with this component
... totalNet Σ1..1MoneyNet total of this Invoice
... totalGross Σ1..1MoneyGross total of this Invoice

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Invoice.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.typeextensibleInvoiceTypes
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-invoice-types
from this IG
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.codeextensiblePriceComponents (a valid code from Price Component)
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-price-components
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorInvoiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorInvoiceIf 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-4errorInvoiceIf 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-5errorInvoiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceInvoiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..*InvoiceInvoice containing ChargeItems from an Account
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierBusiness Identifier for invoice (e.g invoice number or bill number)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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.

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*CodingCode defined by a terminology system
..... text SΣ0..1stringPlain text representation of the concept
.... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1stringThe value that is unique (example the invoice number or bill number)
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!Σ1..1codedraft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.

... cancelledReason 0..1stringReason for cancellation of this Invoice
... type Σ1..1CodeableConceptType of Invoice
Binding: Invoice Types (extensible): Valueset for invoice types

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..1CodingCode defined by a terminology system
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text SΣ0..1stringPlain text representation of the concept
... subject Σ1..1Reference(Group | Patient)Recipient(s) of goods and services
... recipient Σ0..1Reference(RelatedPerson | Patient | Organization)Recipient of this invoice
... date Σ1..1dateTimeInvoice date / posting date
... participant 0..*BackboneElementParticipant in creation of this Invoice
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... role 0..1CodeableConceptType of involvement in creation of this Invoice
.... actor 1..1Reference(Device | RelatedPerson | Practitioner | Organization | Patient | PractitionerRole)Individual who was involved
... issuer 0..1Reference(Organization)Issuing Organization of Invoice
... account 0..1Reference(Account)Account that is being balanced
... lineItem 1..*BackboneElementLine items of this Invoice
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequence 0..1positiveIntSequence number of line item
.... chargeItem[x] 1..1Reference to ChargeItem containing details of this line item or an inline billing code. In the context of ABDM the Chargeitem resource reference must be populated indicating the details for the medicines or other service charged.
..... chargeItemReferenceReference(ChargeItem)
..... chargeItemCodeableConceptCodeableConcept
.... priceComponent 1..*BackboneElementComponents of total line item price
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1codebase | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.

..... code 1..1CodeableConceptCode identifying the specific component
Binding: Price Components (extensible): Price components

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ1..1CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ1..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ1..1codeSymbol in syntax defined by the system
....... display Σ1..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text SΣ0..1stringPlain text representation of the concept
..... factor 0..1decimalFactor used for calculating this component
..... amount 1..1MoneyMonetary amount associated with this component
... totalPriceComponent 0..*See priceComponent (Invoice)Components of Invoice total
... totalNet Σ1..1MoneyNet total of this Invoice
... totalGross Σ1..1MoneyGross total of this Invoice
... paymentTerms 0..1markdownPayment details
... note 0..*AnnotationComments made about the invoice

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Invoice.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Invoice.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.typeextensibleInvoiceTypes
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-invoice-types
from this IG
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.codeextensiblePriceComponents (a valid code from Price Component)
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-price-components
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorInvoiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorInvoiceIf 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-4errorInvoiceIf 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-5errorInvoiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceInvoiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Invoice

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..*InvoiceInvoice containing ChargeItems from an Account
... identifier 1..1IdentifierBusiness Identifier for invoice (e.g invoice number or bill number)
.... type
..... text S0..1stringPlain text representation of the concept
.... value 1..1stringThe value that is unique (example the invoice number or bill number)
.... assigner 0..1Reference(Organization)Organization that issued id (may be just text)
... type 1..1CodeableConceptType of Invoice
Binding: Invoice Types (extensible): Valueset for invoice types

.... coding 1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 1..1stringRepresentation defined by the system
.... text S0..1stringPlain text representation of the concept
... subject 1..1Reference(Group | Patient)Recipient(s) of goods and services
... date 1..1dateTimeInvoice date / posting date
... participant
.... actor 1..1Reference(Device | RelatedPerson | Practitioner | Organization | Patient | PractitionerRole)Individual who was involved
... issuer 0..1Reference(Organization)Issuing Organization of Invoice
... lineItem 1..*BackboneElementLine items of this Invoice
.... chargeItem[x] 1..1Reference to ChargeItem containing details of this line item or an inline billing code. In the context of ABDM the Chargeitem resource reference must be populated indicating the details for the medicines or other service charged.
..... chargeItemReferenceReference(ChargeItem)
..... chargeItemCodeableConceptCodeableConcept
.... priceComponent 1..*BackboneElementComponents of total line item price
..... code 1..1CodeableConceptCode identifying the specific component
Binding: Price Components (extensible): Price components

...... coding 1..1CodingCode defined by a terminology system
....... system 1..1uriIdentity of the terminology system
....... code 1..1codeSymbol in syntax defined by the system
....... display 1..1stringRepresentation defined by the system
...... text S0..1stringPlain text representation of the concept
..... amount 1..1MoneyMonetary amount associated with this component
... totalNet 1..1MoneyNet total of this Invoice
... totalGross 1..1MoneyGross total of this Invoice

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Invoice.typeextensibleInvoiceTypes
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-invoice-types
from this IG
Invoice.lineItem.priceComponent.codeextensiblePriceComponents (a valid code from Price Component)
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-price-components
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..*InvoiceInvoice containing ChargeItems from an Account
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierBusiness Identifier for invoice (e.g invoice number or bill number)
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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.

..... text SΣ0..1stringPlain text representation of the concept
.... value Σ1..1stringThe value that is unique (example the invoice number or bill number)
Example General: 123456
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... type Σ1..1CodeableConceptType of Invoice
Binding: Invoice Types (extensible): Valueset for invoice types

.... coding Σ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
.... text SΣ0..1stringPlain text representation of the concept
... subject Σ1..1Reference(Group | Patient)Recipient(s) of goods and services
... recipient Σ0..1Reference(RelatedPerson | Patient | Organization)Recipient of this invoice
... date Σ1..1dateTimeInvoice date / posting date
... issuer 0..1Reference(Organization)Issuing Organization of Invoice
... lineItem 1..*BackboneElementLine items of this Invoice
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... chargeItem[x] 1..1Reference to ChargeItem containing details of this line item or an inline billing code. In the context of ABDM the Chargeitem resource reference must be populated indicating the details for the medicines or other service charged.
..... chargeItemReferenceReference(ChargeItem)
..... chargeItemCodeableConceptCodeableConcept
.... priceComponent 1..*BackboneElementComponents of total line item price
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1codebase | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.

..... code 1..1CodeableConceptCode identifying the specific component
Binding: Price Components (extensible): Price components

...... coding Σ1..1CodingCode defined by a terminology system
....... system Σ1..1uriIdentity of the terminology system
....... code Σ1..1codeSymbol in syntax defined by the system
....... display Σ1..1stringRepresentation defined by the system
...... text SΣ0..1stringPlain text representation of the concept
..... amount 1..1MoneyMonetary amount associated with this component
... totalNet Σ1..1MoneyNet total of this Invoice
... totalGross Σ1..1MoneyGross total of this Invoice

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Invoice.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.typeextensibleInvoiceTypes
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-invoice-types
from this IG
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.codeextensiblePriceComponents (a valid code from Price Component)
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-price-components
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorInvoiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorInvoiceIf 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-4errorInvoiceIf 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-5errorInvoiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceInvoiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..*InvoiceInvoice containing ChargeItems from an Account
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierBusiness Identifier for invoice (e.g invoice number or bill number)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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.

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*CodingCode defined by a terminology system
..... text SΣ0..1stringPlain text representation of the concept
.... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1stringThe value that is unique (example the invoice number or bill number)
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!Σ1..1codedraft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.

... cancelledReason 0..1stringReason for cancellation of this Invoice
... type Σ1..1CodeableConceptType of Invoice
Binding: Invoice Types (extensible): Valueset for invoice types

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..1CodingCode defined by a terminology system
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text SΣ0..1stringPlain text representation of the concept
... subject Σ1..1Reference(Group | Patient)Recipient(s) of goods and services
... recipient Σ0..1Reference(RelatedPerson | Patient | Organization)Recipient of this invoice
... date Σ1..1dateTimeInvoice date / posting date
... participant 0..*BackboneElementParticipant in creation of this Invoice
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... role 0..1CodeableConceptType of involvement in creation of this Invoice
.... actor 1..1Reference(Device | RelatedPerson | Practitioner | Organization | Patient | PractitionerRole)Individual who was involved
... issuer 0..1Reference(Organization)Issuing Organization of Invoice
... account 0..1Reference(Account)Account that is being balanced
... lineItem 1..*BackboneElementLine items of this Invoice
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequence 0..1positiveIntSequence number of line item
.... chargeItem[x] 1..1Reference to ChargeItem containing details of this line item or an inline billing code. In the context of ABDM the Chargeitem resource reference must be populated indicating the details for the medicines or other service charged.
..... chargeItemReferenceReference(ChargeItem)
..... chargeItemCodeableConceptCodeableConcept
.... priceComponent 1..*BackboneElementComponents of total line item price
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1codebase | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.

..... code 1..1CodeableConceptCode identifying the specific component
Binding: Price Components (extensible): Price components

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ1..1CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ1..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ1..1codeSymbol in syntax defined by the system
....... display Σ1..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text SΣ0..1stringPlain text representation of the concept
..... factor 0..1decimalFactor used for calculating this component
..... amount 1..1MoneyMonetary amount associated with this component
... totalPriceComponent 0..*See priceComponent (Invoice)Components of Invoice total
... totalNet Σ1..1MoneyNet total of this Invoice
... totalGross Σ1..1MoneyGross total of this Invoice
... paymentTerms 0..1markdownPayment details
... note 0..*AnnotationComments made about the invoice

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Invoice.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Invoice.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.typeextensibleInvoiceTypes
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-invoice-types
from this IG
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.codeextensiblePriceComponents (a valid code from Price Component)
https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-price-components
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorInvoiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorInvoiceIf 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-4errorInvoiceIf 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-5errorInvoiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceInvoiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron