Magentus Practice Management FHIR Implementation Guide
1.2.35 - ci-build

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.35) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Genie Invoice

Official URL: http://fhir.geniesolutions.io/StructureDefinition/genie-invoice Version: 1.2.35
Draft as of 2025-03-02 Computable Name: GSInvoice

Genie Invoice profile

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..* Invoice Invoice containing ChargeItems from an Account
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... id SΣ 1..1 id Generated from Genie context and invoice table Id
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:charge-item S 0..* GSChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!SΣ 1..1 code draft | balanced | cancelled | issued | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.


ele-1: All FHIR elements must have a @value or children
... cancelledReason S 0..1 string Reason for cancellation of this Invoice
ele-1: All FHIR elements must have a @value or children
... type SΣ 0..1 CodeableConcept IDVA | ODVA | ...
ele-1: All FHIR elements must have a @value or children
... subject SΣ 0..1 Reference(AU Base Patient) patient reference
ele-1: All FHIR elements must have a @value or children
... recipient SΣ 0..1 Reference(AU Base Patient | AU Base Related Person | AU Base Organisation) Reference to account holder of patient for invoice, could be medicare, dva etc.
ele-1: All FHIR elements must have a @value or children
... date SΣ 0..1 dateTime Invoice date
ele-1: All FHIR elements must have a @value or children
... participant 0..* BackboneElement Participant in creation of this Invoice
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... role S 0..1 CodeableConcept creator | servicingProvider
ele-1: All FHIR elements must have a @value or children
.... actor S 1..1 Reference(AU Base Practitioner | AU Base Practitioner Role) Reference to the creator or servcingProvider
ele-1: All FHIR elements must have a @value or children
... issuer S 0..1 Reference(AU Base Organisation) Practice related to the invoice
ele-1: All FHIR elements must have a @value or children
... lineItem 0..* BackboneElement Line items of this Invoice
ele-1: All FHIR elements must have a @value or children
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension:line-item-payment S 0..1 Money Invoice Item Payment
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension:line-item-balance S 0..1 Money Invoice Item Balance
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... sequence S 0..1 positiveInt Incremental Id on invoice, e.g. 1
ele-1: All FHIR elements must have a @value or children
.... Slices for chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
..... chargeItem[x]:chargeItemCodeableConcept S 0..1 CodeableConcept Billed item number
ele-1: All FHIR elements must have a @value or children
..... chargeItem[x]:chargeItemReference S 0..1 Reference(Genie ChargeItem Base) Reference to contained ChargeItem, e.g. #23
ele-1: All FHIR elements must have a @value or children
.... priceComponent 0..* BackboneElement Components of total line item price
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... type S 1..1 code base | discount | tax | deduction
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.


ele-1: All FHIR elements must have a @value or children
..... amount S 0..1 Money Monetary amount associated with this component
ele-1: All FHIR elements must have a @value or children
... totalGross SΣ 0..1 Money Total with tax
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard

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()

This structure is derived from Invoice

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..* Invoice Invoice containing ChargeItems from an Account
... id S 1..1 id Generated from Genie context and invoice table Id
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:charge-item S 0..* GSChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... status S 1..1 code draft | balanced | cancelled | issued | entered-in-error
... cancelledReason S 0..1 string Reason for cancellation of this Invoice
... type S 0..1 CodeableConcept IDVA | ODVA | ...
... subject S 0..1 Reference(AU Base Patient) patient reference
... recipient S 0..1 Reference(AU Base Patient | AU Base Related Person | AU Base Organisation) Reference to account holder of patient for invoice, could be medicare, dva etc.
... date S 0..1 dateTime Invoice date
... participant
.... role S 0..1 CodeableConcept creator | servicingProvider
.... actor S 1..1 Reference(AU Base Practitioner | AU Base Practitioner Role) Reference to the creator or servcingProvider
... issuer S 0..1 Reference(AU Base Organisation) Practice related to the invoice
... lineItem
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:line-item-payment S 0..1 Money Invoice Item Payment
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment
..... extension:line-item-balance S 0..1 Money Invoice Item Balance
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance
.... sequence S 0..1 positiveInt Incremental Id on invoice, e.g. 1
.... Slices for chargeItem[x] 1..1 Reference(ChargeItem), CodeableConcept Reference to ChargeItem containing details of this line item or an inline billing code
Slice: Unordered, Open by type:$this
..... chargeItem[x]:chargeItemCodeableConcept S 0..1 CodeableConcept Billed item number
..... chargeItem[x]:chargeItemReference S 0..1 Reference(Genie ChargeItem Base) Reference to contained ChargeItem, e.g. #23
.... priceComponent
..... type S 1..1 code base | discount | tax | deduction
..... amount S 0..1 Money Monetary amount associated with this component
... totalGross S 0..1 Money Total with tax

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..* Invoice Invoice containing ChargeItems from an Account
... id SΣ 1..1 id Generated from Genie context and invoice table Id
... 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
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:charge-item S 0..* GSChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business Identifier for item
... status ?!SΣ 1..1 code draft | balanced | cancelled | issued | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.

... cancelledReason S 0..1 string Reason for cancellation of this Invoice
... type SΣ 0..1 CodeableConcept IDVA | ODVA | ...
... subject SΣ 0..1 Reference(AU Base Patient) patient reference
... recipient SΣ 0..1 Reference(AU Base Patient | AU Base Related Person | AU Base Organisation) Reference to account holder of patient for invoice, could be medicare, dva etc.
... date SΣ 0..1 dateTime Invoice 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role S 0..1 CodeableConcept creator | servicingProvider
.... actor S 1..1 Reference(AU Base Practitioner | AU Base Practitioner Role) Reference to the creator or servcingProvider
... issuer S 0..1 Reference(AU Base Organisation) Practice related to the invoice
... account 0..1 Reference(Account) Account that is being balanced
... lineItem 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
..... extension:line-item-payment S 0..1 Money Invoice Item Payment
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment
..... extension:line-item-balance S 0..1 Money Invoice Item Balance
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence S 0..1 positiveInt Incremental Id on invoice, e.g. 1
.... Slices for chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
Slice: Unordered, Closed by type:$this
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
..... chargeItem[x]:chargeItemCodeableConcept S 0..1 CodeableConcept Billed item number
..... chargeItem[x]:chargeItemReference S 0..1 Reference(Genie ChargeItem Base) Reference to contained ChargeItem, e.g. #23
.... 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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 code base | discount | tax | deduction
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.

..... code 0..1 CodeableConcept Code identifying the specific component
..... factor 0..1 decimal Factor used for calculating this component
..... amount S 0..1 Money Monetary amount associated with this component
... totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
... totalNet Σ 0..1 Money Net total of this Invoice
... totalGross SΣ 0..1 Money Total with tax
... paymentTerms 0..1 markdown Payment details
... note 0..* Annotation Comments made about the invoice

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard

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()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..* Invoice Invoice containing ChargeItems from an Account
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... id SΣ 1..1 id Generated from Genie context and invoice table Id
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:charge-item S 0..* GSChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!SΣ 1..1 code draft | balanced | cancelled | issued | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.


ele-1: All FHIR elements must have a @value or children
... cancelledReason S 0..1 string Reason for cancellation of this Invoice
ele-1: All FHIR elements must have a @value or children
... type SΣ 0..1 CodeableConcept IDVA | ODVA | ...
ele-1: All FHIR elements must have a @value or children
... subject SΣ 0..1 Reference(AU Base Patient) patient reference
ele-1: All FHIR elements must have a @value or children
... recipient SΣ 0..1 Reference(AU Base Patient | AU Base Related Person | AU Base Organisation) Reference to account holder of patient for invoice, could be medicare, dva etc.
ele-1: All FHIR elements must have a @value or children
... date SΣ 0..1 dateTime Invoice date
ele-1: All FHIR elements must have a @value or children
... participant 0..* BackboneElement Participant in creation of this Invoice
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... role S 0..1 CodeableConcept creator | servicingProvider
ele-1: All FHIR elements must have a @value or children
.... actor S 1..1 Reference(AU Base Practitioner | AU Base Practitioner Role) Reference to the creator or servcingProvider
ele-1: All FHIR elements must have a @value or children
... issuer S 0..1 Reference(AU Base Organisation) Practice related to the invoice
ele-1: All FHIR elements must have a @value or children
... lineItem 0..* BackboneElement Line items of this Invoice
ele-1: All FHIR elements must have a @value or children
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension:line-item-payment S 0..1 Money Invoice Item Payment
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension:line-item-balance S 0..1 Money Invoice Item Balance
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... sequence S 0..1 positiveInt Incremental Id on invoice, e.g. 1
ele-1: All FHIR elements must have a @value or children
.... Slices for chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
..... chargeItem[x]:chargeItemCodeableConcept S 0..1 CodeableConcept Billed item number
ele-1: All FHIR elements must have a @value or children
..... chargeItem[x]:chargeItemReference S 0..1 Reference(Genie ChargeItem Base) Reference to contained ChargeItem, e.g. #23
ele-1: All FHIR elements must have a @value or children
.... priceComponent 0..* BackboneElement Components of total line item price
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... type S 1..1 code base | discount | tax | deduction
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.


ele-1: All FHIR elements must have a @value or children
..... amount S 0..1 Money Monetary amount associated with this component
ele-1: All FHIR elements must have a @value or children
... totalGross SΣ 0..1 Money Total with tax
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard

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..* Invoice Invoice containing ChargeItems from an Account
... id S 1..1 id Generated from Genie context and invoice table Id
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:charge-item S 0..* GSChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... status S 1..1 code draft | balanced | cancelled | issued | entered-in-error
... cancelledReason S 0..1 string Reason for cancellation of this Invoice
... type S 0..1 CodeableConcept IDVA | ODVA | ...
... subject S 0..1 Reference(AU Base Patient) patient reference
... recipient S 0..1 Reference(AU Base Patient | AU Base Related Person | AU Base Organisation) Reference to account holder of patient for invoice, could be medicare, dva etc.
... date S 0..1 dateTime Invoice date
... participant
.... role S 0..1 CodeableConcept creator | servicingProvider
.... actor S 1..1 Reference(AU Base Practitioner | AU Base Practitioner Role) Reference to the creator or servcingProvider
... issuer S 0..1 Reference(AU Base Organisation) Practice related to the invoice
... lineItem
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:line-item-payment S 0..1 Money Invoice Item Payment
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment
..... extension:line-item-balance S 0..1 Money Invoice Item Balance
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance
.... sequence S 0..1 positiveInt Incremental Id on invoice, e.g. 1
.... Slices for chargeItem[x] 1..1 Reference(ChargeItem), CodeableConcept Reference to ChargeItem containing details of this line item or an inline billing code
Slice: Unordered, Open by type:$this
..... chargeItem[x]:chargeItemCodeableConcept S 0..1 CodeableConcept Billed item number
..... chargeItem[x]:chargeItemReference S 0..1 Reference(Genie ChargeItem Base) Reference to contained ChargeItem, e.g. #23
.... priceComponent
..... type S 1..1 code base | discount | tax | deduction
..... amount S 0..1 Money Monetary amount associated with this component
... totalGross S 0..1 Money Total with tax

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Invoice 0..* Invoice Invoice containing ChargeItems from an Account
... id SΣ 1..1 id Generated from Genie context and invoice table Id
... 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
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:charge-item S 0..* GSChargeItem Item containing charge code(s) associated with the provision of healthcare provider products
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business Identifier for item
... status ?!SΣ 1..1 code draft | balanced | cancelled | issued | entered-in-error
Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice.

... cancelledReason S 0..1 string Reason for cancellation of this Invoice
... type SΣ 0..1 CodeableConcept IDVA | ODVA | ...
... subject SΣ 0..1 Reference(AU Base Patient) patient reference
... recipient SΣ 0..1 Reference(AU Base Patient | AU Base Related Person | AU Base Organisation) Reference to account holder of patient for invoice, could be medicare, dva etc.
... date SΣ 0..1 dateTime Invoice 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
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role S 0..1 CodeableConcept creator | servicingProvider
.... actor S 1..1 Reference(AU Base Practitioner | AU Base Practitioner Role) Reference to the creator or servcingProvider
... issuer S 0..1 Reference(AU Base Organisation) Practice related to the invoice
... account 0..1 Reference(Account) Account that is being balanced
... lineItem 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
..... extension:line-item-payment S 0..1 Money Invoice Item Payment
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment
..... extension:line-item-balance S 0..1 Money Invoice Item Balance
URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence S 0..1 positiveInt Incremental Id on invoice, e.g. 1
.... Slices for chargeItem[x] 1..1 Reference to ChargeItem containing details of this line item or an inline billing code
Slice: Unordered, Closed by type:$this
..... chargeItemReference Reference(ChargeItem)
..... chargeItemCodeableConcept CodeableConcept
..... chargeItem[x]:chargeItemCodeableConcept S 0..1 CodeableConcept Billed item number
..... chargeItem[x]:chargeItemReference S 0..1 Reference(Genie ChargeItem Base) Reference to contained ChargeItem, e.g. #23
.... 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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 code base | discount | tax | deduction
Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component.

..... code 0..1 CodeableConcept Code identifying the specific component
..... factor 0..1 decimal Factor used for calculating this component
..... amount S 0..1 Money Monetary amount associated with this component
... totalPriceComponent 0..* See priceComponent (Invoice) Components of Invoice total
... totalNet Σ 0..1 Money Net total of this Invoice
... totalGross SΣ 0..1 Money Total with tax
... paymentTerms 0..1 markdown Payment details
... note 0..* Annotation Comments made about the invoice

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Invoice.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Invoice.statusrequiredInvoiceStatus
http://hl7.org/fhir/ValueSet/invoice-status|4.0.1
from the FHIR Standard
Invoice.lineItem.priceComponent.typerequiredInvoicePriceComponentType
http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1
from the FHIR Standard

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