Atrius India Core FHIR Implementation Guide
0.1.0 - ci-build

Atrius India Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Atrius India Core Invoice

Official URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-invoice Version: 0.1.0
Draft as of 2026-07-24 Computable Name: AtriusInInvoice
Other Identifiers: OID:1.3.6.1.4.1.66219.1.42.71

Atrius India Core Invoice. Parent: FHIR R4. NDHM Invoice parity; referenced from atrius-in-invoice-record Composition.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice 0..* Invoice(4.0.1) Invoice containing ChargeItems from an Account
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:placeOfSupplyState 0..1 string Atrius Place of Supply State
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-place-of-supply-state
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... 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.
..... text SΣ 0..1 string Plain text representation of the concept
... status ?!SΣ 1..1 code draft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.
... type SΣ 0..1 CodeableConcept Type of Invoice
Binding: InvoiceType (6.5.0) (extensible)
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) Recipient(s) of goods and services
... recipient Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Organization(0.1.0)) Recipient of this invoice
... date SΣ 0..1 dateTime Invoice date / posting date
... issuer S 0..1 Reference(Atrius India Core Organization(0.1.0)) Issuing Organization of Invoice
... lineItem S 0..* BackboneElement Line items of this Invoice
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:hsnSac 0..1 CodeableConcept Atrius HSN or SAC Code
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-hsn-sac-code
Constraints: ext-1
..... extension:gstBreakdown 0..1 (Complex) Atrius GST Line Breakdown
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-gst-line-breakdown
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
.... priceComponent 0..* BackboneElement Components of total line item price
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... code 0..1 CodeableConcept Code identifying the specific component
Binding: PriceComponent (6.5.0) (extensible)
...... text SΣ 0..1 string Plain text representation of the concept
... totalNet SΣ 0..1 Money Net total of this Invoice
... totalGross SΣ 0..1 Money Gross total of this Invoice

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Invoice.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Invoice.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Invoice.status Base required InvoiceStatus 📍4.0.1 FHIR Std.
Invoice.type Base extensible Invoice Type 📍6.5.0 FHIR Implementation Guide for ABDM v6.5
Invoice.lineItem.priceComponent.​type Base required InvoicePriceComponentType 📍4.0.1 FHIR Std.
Invoice.lineItem.priceComponent.​code Base extensible Price Component 📍6.5.0 FHIR Implementation Guide for ABDM v6.5

Constraints

Id Grade Path(s) Description Expression
dom-2 error Invoice If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Invoice 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 Invoice 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 Invoice If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Invoice A resource should have narrative for robust management text.`div`.exists()
ele-1 error Invoice.implicitRules, Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.identifier, Invoice.identifier.use, Invoice.identifier.type, Invoice.identifier.type.text, Invoice.status, Invoice.type, Invoice.type.text, Invoice.subject, Invoice.recipient, Invoice.date, Invoice.issuer, Invoice.lineItem, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.chargeItem[x], Invoice.lineItem.priceComponent, Invoice.lineItem.priceComponent.modifierExtension, Invoice.lineItem.priceComponent.type, Invoice.lineItem.priceComponent.code, Invoice.lineItem.priceComponent.code.text, Invoice.totalNet, Invoice.totalGross All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.priceComponent.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice 0..* Invoice(4.0.1) Invoice containing ChargeItems from an Account
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:placeOfSupplyState 0..1 string Atrius Place of Supply State
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-place-of-supply-state
... identifier S 0..* Identifier Business Identifier for item
.... type
..... text S 0..1 string Plain text representation of the concept
... status S 1..1 code draft | issued | balanced | cancelled | entered-in-error
.... text S 0..1 string Plain text representation of the concept
... subject S 0..1 Reference(Atrius India Core Patient(0.1.0)) Recipient(s) of goods and services
... recipient 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Organization(0.1.0)) Recipient of this invoice
... date S 0..1 dateTime Invoice date / posting date
... issuer S 0..1 Reference(Atrius India Core Organization(0.1.0)) Issuing Organization of Invoice
... lineItem S 0..* BackboneElement Line items of this Invoice
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:hsnSac 0..1 CodeableConcept Atrius HSN or SAC Code
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-hsn-sac-code
..... extension:gstBreakdown 0..1 (Complex) Atrius GST Line Breakdown
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-gst-line-breakdown
.... priceComponent
..... code 0..1 CodeableConcept Code identifying the specific component
Binding: PriceComponent (6.5.0) (extensible)
...... text S 0..1 string Plain text representation of the concept
... totalNet S 0..1 Money Net total of this Invoice
... totalGross S 0..1 Money Gross total of this Invoice

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Invoice.type Base extensible Invoice Type 📍6.5.0 FHIR Implementation Guide for ABDM v6.5
Invoice.lineItem.priceComponent.​code Base extensible Price Component 📍6.5.0 FHIR Implementation Guide for ABDM v6.5
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice 0..* Invoice(4.0.1) Invoice containing ChargeItems from an Account
... 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
... 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, Open by value:url
Constraints: ext-1
.... extension:placeOfSupplyState 0..1 string Atrius Place of Supply State
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-place-of-supply-state
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier SΣ 0..* Identifier Business Identifier for item
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... 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.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... coding Σ 0..* Coding Code defined by a terminology system
..... text SΣ 0..1 string Plain text representation of the concept
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 1..1 code draft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.
... cancelledReason 0..1 string Reason for cancellation of this Invoice
... type SΣ 0..1 CodeableConcept Type of Invoice
Binding: InvoiceType (6.5.0) (extensible)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) Recipient(s) of goods and services
... recipient Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Organization(0.1.0)) Recipient of this invoice
... date SΣ 0..1 dateTime Invoice date / posting date
... participant 0..* BackboneElement Participant in creation of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... role 0..1 CodeableConcept Type of involvement in creation of this Invoice
.... actor 1..1 Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson) Individual who was involved
... issuer S 0..1 Reference(Atrius India Core Organization(0.1.0)) Issuing Organization of Invoice
... account 0..1 Reference(Account) Account that is being balanced
... lineItem S 0..* BackboneElement Line items of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:hsnSac 0..1 CodeableConcept Atrius HSN or SAC Code
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-hsn-sac-code
Constraints: ext-1
..... extension:gstBreakdown 0..1 (Complex) Atrius GST Line Breakdown
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-gst-line-breakdown
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence 0..1 positiveInt Sequence number of line item
.... chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
.... priceComponent 0..* BackboneElement Components of total line item price
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... code 0..1 CodeableConcept Code identifying the specific component
Binding: PriceComponent (6.5.0) (extensible)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
...... coding Σ 0..* Coding Code defined by a terminology system
...... text SΣ 0..1 string Plain text representation of the concept
..... factor 0..1 decimal Factor used for calculating this component
..... amount 0..1 Money Monetary amount associated with this component
... totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
... totalNet SΣ 0..1 Money Net total of this Invoice
... totalGross SΣ 0..1 Money Gross total of this Invoice
... paymentTerms 0..1 markdown Payment details
... note 0..* Annotation Comments made about the invoice

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Invoice.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Invoice.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Invoice.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Invoice.status Base required InvoiceStatus 📍4.0.1 FHIR Std.
Invoice.type Base extensible Invoice Type 📍6.5.0 FHIR Implementation Guide for ABDM v6.5
Invoice.lineItem.priceComponent.​type Base required InvoicePriceComponentType 📍4.0.1 FHIR Std.
Invoice.lineItem.priceComponent.​code Base extensible Price Component 📍6.5.0 FHIR Implementation Guide for ABDM v6.5

Constraints

Id Grade Path(s) Description Expression
dom-2 error Invoice If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Invoice 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 Invoice 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 Invoice If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Invoice A resource should have narrative for robust management text.`div`.exists()
ele-1 error Invoice.meta, Invoice.implicitRules, Invoice.language, Invoice.text, Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.identifier, Invoice.identifier.extension, Invoice.identifier.use, Invoice.identifier.type, Invoice.identifier.type.extension, Invoice.identifier.type.coding, Invoice.identifier.type.text, Invoice.identifier.system, Invoice.identifier.value, Invoice.identifier.period, Invoice.identifier.assigner, Invoice.status, Invoice.cancelledReason, Invoice.type, Invoice.type.extension, Invoice.type.coding, Invoice.type.text, Invoice.subject, Invoice.recipient, Invoice.date, Invoice.participant, Invoice.participant.extension, Invoice.participant.modifierExtension, Invoice.participant.role, Invoice.participant.actor, Invoice.issuer, Invoice.account, Invoice.lineItem, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.sequence, Invoice.lineItem.chargeItem[x], Invoice.lineItem.priceComponent, Invoice.lineItem.priceComponent.extension, Invoice.lineItem.priceComponent.modifierExtension, Invoice.lineItem.priceComponent.type, Invoice.lineItem.priceComponent.code, Invoice.lineItem.priceComponent.code.extension, Invoice.lineItem.priceComponent.code.coding, Invoice.lineItem.priceComponent.code.text, Invoice.lineItem.priceComponent.factor, Invoice.lineItem.priceComponent.amount, Invoice.totalPriceComponent, Invoice.totalNet, Invoice.totalGross, Invoice.paymentTerms, Invoice.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.identifier.extension, Invoice.identifier.type.extension, Invoice.type.extension, Invoice.participant.extension, Invoice.participant.modifierExtension, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.priceComponent.extension, Invoice.lineItem.priceComponent.modifierExtension, Invoice.lineItem.priceComponent.code.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice 0..* Invoice(4.0.1) Invoice containing ChargeItems from an Account
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:placeOfSupplyState 0..1 string Atrius Place of Supply State
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-place-of-supply-state
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... 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.
..... text SΣ 0..1 string Plain text representation of the concept
... status ?!SΣ 1..1 code draft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.
... type SΣ 0..1 CodeableConcept Type of Invoice
Binding: InvoiceType (6.5.0) (extensible)
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) Recipient(s) of goods and services
... recipient Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Organization(0.1.0)) Recipient of this invoice
... date SΣ 0..1 dateTime Invoice date / posting date
... issuer S 0..1 Reference(Atrius India Core Organization(0.1.0)) Issuing Organization of Invoice
... lineItem S 0..* BackboneElement Line items of this Invoice
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:hsnSac 0..1 CodeableConcept Atrius HSN or SAC Code
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-hsn-sac-code
Constraints: ext-1
..... extension:gstBreakdown 0..1 (Complex) Atrius GST Line Breakdown
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-gst-line-breakdown
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
.... priceComponent 0..* BackboneElement Components of total line item price
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... code 0..1 CodeableConcept Code identifying the specific component
Binding: PriceComponent (6.5.0) (extensible)
...... text SΣ 0..1 string Plain text representation of the concept
... totalNet SΣ 0..1 Money Net total of this Invoice
... totalGross SΣ 0..1 Money Gross total of this Invoice

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Invoice.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Invoice.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Invoice.status Base required InvoiceStatus 📍4.0.1 FHIR Std.
Invoice.type Base extensible Invoice Type 📍6.5.0 FHIR Implementation Guide for ABDM v6.5
Invoice.lineItem.priceComponent.​type Base required InvoicePriceComponentType 📍4.0.1 FHIR Std.
Invoice.lineItem.priceComponent.​code Base extensible Price Component 📍6.5.0 FHIR Implementation Guide for ABDM v6.5

Constraints

Id Grade Path(s) Description Expression
dom-2 error Invoice If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Invoice 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 Invoice 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 Invoice If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Invoice A resource should have narrative for robust management text.`div`.exists()
ele-1 error Invoice.implicitRules, Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.identifier, Invoice.identifier.use, Invoice.identifier.type, Invoice.identifier.type.text, Invoice.status, Invoice.type, Invoice.type.text, Invoice.subject, Invoice.recipient, Invoice.date, Invoice.issuer, Invoice.lineItem, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.chargeItem[x], Invoice.lineItem.priceComponent, Invoice.lineItem.priceComponent.modifierExtension, Invoice.lineItem.priceComponent.type, Invoice.lineItem.priceComponent.code, Invoice.lineItem.priceComponent.code.text, Invoice.totalNet, Invoice.totalGross All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.priceComponent.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice 0..* Invoice(4.0.1) Invoice containing ChargeItems from an Account
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:placeOfSupplyState 0..1 string Atrius Place of Supply State
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-place-of-supply-state
... identifier S 0..* Identifier Business Identifier for item
.... type
..... text S 0..1 string Plain text representation of the concept
... status S 1..1 code draft | issued | balanced | cancelled | entered-in-error
.... text S 0..1 string Plain text representation of the concept
... subject S 0..1 Reference(Atrius India Core Patient(0.1.0)) Recipient(s) of goods and services
... recipient 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Organization(0.1.0)) Recipient of this invoice
... date S 0..1 dateTime Invoice date / posting date
... issuer S 0..1 Reference(Atrius India Core Organization(0.1.0)) Issuing Organization of Invoice
... lineItem S 0..* BackboneElement Line items of this Invoice
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:hsnSac 0..1 CodeableConcept Atrius HSN or SAC Code
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-hsn-sac-code
..... extension:gstBreakdown 0..1 (Complex) Atrius GST Line Breakdown
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-gst-line-breakdown
.... priceComponent
..... code 0..1 CodeableConcept Code identifying the specific component
Binding: PriceComponent (6.5.0) (extensible)
...... text S 0..1 string Plain text representation of the concept
... totalNet S 0..1 Money Net total of this Invoice
... totalGross S 0..1 Money Gross total of this Invoice

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Invoice.type Base extensible Invoice Type 📍6.5.0 FHIR Implementation Guide for ABDM v6.5
Invoice.lineItem.priceComponent.​code Base extensible Price Component 📍6.5.0 FHIR Implementation Guide for ABDM v6.5

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Invoice 0..* Invoice(4.0.1) Invoice containing ChargeItems from an Account
... 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
... 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, Open by value:url
Constraints: ext-1
.... extension:placeOfSupplyState 0..1 string Atrius Place of Supply State
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-place-of-supply-state
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier SΣ 0..* Identifier Business Identifier for item
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... 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.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... coding Σ 0..* Coding Code defined by a terminology system
..... text SΣ 0..1 string Plain text representation of the concept
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 1..1 code draft | issued | balanced | cancelled | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.
... cancelledReason 0..1 string Reason for cancellation of this Invoice
... type SΣ 0..1 CodeableConcept Type of Invoice
Binding: InvoiceType (6.5.0) (extensible)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) Recipient(s) of goods and services
... recipient Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Organization(0.1.0)) Recipient of this invoice
... date SΣ 0..1 dateTime Invoice date / posting date
... participant 0..* BackboneElement Participant in creation of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... role 0..1 CodeableConcept Type of involvement in creation of this Invoice
.... actor 1..1 Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson) Individual who was involved
... issuer S 0..1 Reference(Atrius India Core Organization(0.1.0)) Issuing Organization of Invoice
... account 0..1 Reference(Account) Account that is being balanced
... lineItem S 0..* BackboneElement Line items of this Invoice
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:hsnSac 0..1 CodeableConcept Atrius HSN or SAC Code
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-hsn-sac-code
Constraints: ext-1
..... extension:gstBreakdown 0..1 (Complex) Atrius GST Line Breakdown
URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-gst-line-breakdown
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence 0..1 positiveInt Sequence number of line item
.... chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
.... priceComponent 0..* BackboneElement Components of total line item price
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... type 1..1 code base | surcharge | deduction | discount | tax | informational
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.
..... code 0..1 CodeableConcept Code identifying the specific component
Binding: PriceComponent (6.5.0) (extensible)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
...... coding Σ 0..* Coding Code defined by a terminology system
...... text SΣ 0..1 string Plain text representation of the concept
..... factor 0..1 decimal Factor used for calculating this component
..... amount 0..1 Money Monetary amount associated with this component
... totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
... totalNet SΣ 0..1 Money Net total of this Invoice
... totalGross SΣ 0..1 Money Gross total of this Invoice
... paymentTerms 0..1 markdown Payment details
... note 0..* Annotation Comments made about the invoice

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Invoice.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Invoice.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Invoice.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Invoice.status Base required InvoiceStatus 📍4.0.1 FHIR Std.
Invoice.type Base extensible Invoice Type 📍6.5.0 FHIR Implementation Guide for ABDM v6.5
Invoice.lineItem.priceComponent.​type Base required InvoicePriceComponentType 📍4.0.1 FHIR Std.
Invoice.lineItem.priceComponent.​code Base extensible Price Component 📍6.5.0 FHIR Implementation Guide for ABDM v6.5

Constraints

Id Grade Path(s) Description Expression
dom-2 error Invoice If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Invoice 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 Invoice 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 Invoice If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Invoice A resource should have narrative for robust management text.`div`.exists()
ele-1 error Invoice.meta, Invoice.implicitRules, Invoice.language, Invoice.text, Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.identifier, Invoice.identifier.extension, Invoice.identifier.use, Invoice.identifier.type, Invoice.identifier.type.extension, Invoice.identifier.type.coding, Invoice.identifier.type.text, Invoice.identifier.system, Invoice.identifier.value, Invoice.identifier.period, Invoice.identifier.assigner, Invoice.status, Invoice.cancelledReason, Invoice.type, Invoice.type.extension, Invoice.type.coding, Invoice.type.text, Invoice.subject, Invoice.recipient, Invoice.date, Invoice.participant, Invoice.participant.extension, Invoice.participant.modifierExtension, Invoice.participant.role, Invoice.participant.actor, Invoice.issuer, Invoice.account, Invoice.lineItem, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.sequence, Invoice.lineItem.chargeItem[x], Invoice.lineItem.priceComponent, Invoice.lineItem.priceComponent.extension, Invoice.lineItem.priceComponent.modifierExtension, Invoice.lineItem.priceComponent.type, Invoice.lineItem.priceComponent.code, Invoice.lineItem.priceComponent.code.extension, Invoice.lineItem.priceComponent.code.coding, Invoice.lineItem.priceComponent.code.text, Invoice.lineItem.priceComponent.factor, Invoice.lineItem.priceComponent.amount, Invoice.totalPriceComponent, Invoice.totalNet, Invoice.totalGross, Invoice.paymentTerms, Invoice.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Invoice.extension, Invoice.extension:placeOfSupplyState, Invoice.modifierExtension, Invoice.identifier.extension, Invoice.identifier.type.extension, Invoice.type.extension, Invoice.participant.extension, Invoice.participant.modifierExtension, Invoice.lineItem.extension, Invoice.lineItem.extension:hsnSac, Invoice.lineItem.extension:gstBreakdown, Invoice.lineItem.modifierExtension, Invoice.lineItem.priceComponent.extension, Invoice.lineItem.priceComponent.modifierExtension, Invoice.lineItem.priceComponent.code.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron