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
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 1..1 | id | Generated from Genie context and invoice table Id |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
S | 0..* | GSChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products |
![]() ![]() ![]() |
?! | 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 |
![]() ![]() ![]() |
?!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 |
![]() ![]() ![]() |
S | 0..1 | string | Reason for cancellation of this Invoice ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | IDVA | ODVA | ... ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(AU Base Patient) | patient reference ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Invoice date ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | BackboneElement | Participant in creation of this Invoice ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | creator | servicingProvider ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Organisation) | Practice related to the invoice ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | BackboneElement | Line items of this Invoice ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Incremental Id on invoice, e.g. 1 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
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 | ||
![]() ![]() ![]() ![]() ![]() |
Reference(ChargeItem) | |||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Billed item number ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
0..* | BackboneElement | Components of total line item price ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Monetary amount associated with this component ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | Money | Total with tax ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Invoice.status | required | InvoiceStatushttp://hl7.org/fhir/ValueSet/invoice-status|4.0.1 from the FHIR Standard | |
Invoice.lineItem.priceComponent.type | required | InvoicePriceComponentTypehttp://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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 | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Invoice
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Invoice | Invoice containing ChargeItems from an Account | |
![]() ![]() ![]() |
S | 1..1 | id | Generated from Genie context and invoice table Id |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
S | 0..* | GSChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products |
![]() ![]() ![]() |
S | 1..1 | code | draft | balanced | cancelled | issued | entered-in-error |
![]() ![]() ![]() |
S | 0..1 | string | Reason for cancellation of this Invoice |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IDVA | ODVA | ... |
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Patient) | patient reference |
![]() ![]() ![]() |
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. |
![]() ![]() ![]() |
S | 0..1 | dateTime | Invoice date |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | creator | servicingProvider |
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | Reference to the creator or servcingProvider |
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Organisation) | Practice related to the invoice |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Payment URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Balance URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance |
![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Incremental Id on invoice, e.g. 1 |
![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Billed item number |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Genie ChargeItem Base) | Reference to contained ChargeItem, e.g. #23 |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | base | discount | tax | deduction |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() |
S | 0..1 | Money | Total with tax |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Invoice | Invoice containing ChargeItems from an Account | |||||
![]() ![]() ![]() |
SΣ | 1..1 | id | Generated from Genie context and invoice table Id | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() |
S | 0..* | GSChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Business Identifier for item | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | balanced | cancelled | issued | entered-in-error Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice. | ||||
![]() ![]() ![]() |
S | 0..1 | string | Reason for cancellation of this Invoice | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | IDVA | ODVA | ... | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(AU Base Patient) | patient reference | ||||
![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Invoice date | ||||
![]() ![]() ![]() |
0..* | BackboneElement | Participant in creation of this Invoice | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | creator | servicingProvider | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | Reference to the creator or servcingProvider | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Organisation) | Practice related to the invoice | ||||
![]() ![]() ![]() |
0..1 | Reference(Account) | Account that is being balanced | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Line items of this Invoice | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Payment URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Balance URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Incremental Id on invoice, e.g. 1 | ||||
![]() ![]() ![]() ![]() |
1..1 | Reference to ChargeItem containing details of this line item or an inline billing code Slice: Unordered, Closed by type:$this | ||||||
![]() ![]() ![]() ![]() ![]() |
Reference(ChargeItem) | |||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Billed item number | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Genie ChargeItem Base) | Reference to contained ChargeItem, e.g. #23 | ||||
![]() ![]() ![]() ![]() |
0..* | BackboneElement | Components of total line item price | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | base | discount | tax | deduction Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() |
0..* | See priceComponent (Invoice) | Components of Invoice total | |||||
![]() ![]() ![]() |
Σ | 0..1 | Money | Net total of this Invoice | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Money | Total with tax | ||||
![]() ![]() ![]() |
0..1 | markdown | Payment details | |||||
![]() ![]() ![]() |
0..* | Annotation | Comments made about the invoice | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Invoice.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Invoice.status | required | InvoiceStatushttp://hl7.org/fhir/ValueSet/invoice-status|4.0.1 from the FHIR Standard | ||||
Invoice.lineItem.priceComponent.type | required | InvoicePriceComponentTypehttp://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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 | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Invoice
Summary
Mandatory: 1 element
Must-Support: 19 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 1..1 | id | Generated from Genie context and invoice table Id |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
S | 0..* | GSChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products |
![]() ![]() ![]() |
?! | 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 |
![]() ![]() ![]() |
?!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 |
![]() ![]() ![]() |
S | 0..1 | string | Reason for cancellation of this Invoice ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | IDVA | ODVA | ... ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(AU Base Patient) | patient reference ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Invoice date ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | BackboneElement | Participant in creation of this Invoice ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | creator | servicingProvider ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Organisation) | Practice related to the invoice ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | BackboneElement | Line items of this Invoice ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Incremental Id on invoice, e.g. 1 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
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 | ||
![]() ![]() ![]() ![]() ![]() |
Reference(ChargeItem) | |||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Billed item number ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
0..* | BackboneElement | Components of total line item price ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Monetary amount associated with this component ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | Money | Total with tax ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Invoice.status | required | InvoiceStatushttp://hl7.org/fhir/ValueSet/invoice-status|4.0.1 from the FHIR Standard | |
Invoice.lineItem.priceComponent.type | required | InvoicePriceComponentTypehttp://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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 | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Differential View
This structure is derived from Invoice
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Invoice | Invoice containing ChargeItems from an Account | |
![]() ![]() ![]() |
S | 1..1 | id | Generated from Genie context and invoice table Id |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
S | 0..* | GSChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products |
![]() ![]() ![]() |
S | 1..1 | code | draft | balanced | cancelled | issued | entered-in-error |
![]() ![]() ![]() |
S | 0..1 | string | Reason for cancellation of this Invoice |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | IDVA | ODVA | ... |
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Patient) | patient reference |
![]() ![]() ![]() |
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. |
![]() ![]() ![]() |
S | 0..1 | dateTime | Invoice date |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | creator | servicingProvider |
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | Reference to the creator or servcingProvider |
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Organisation) | Practice related to the invoice |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Payment URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Balance URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance |
![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Incremental Id on invoice, e.g. 1 |
![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Billed item number |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Genie ChargeItem Base) | Reference to contained ChargeItem, e.g. #23 |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | base | discount | tax | deduction |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Monetary amount associated with this component |
![]() ![]() ![]() |
S | 0..1 | Money | Total with tax |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Invoice | Invoice containing ChargeItems from an Account | |||||
![]() ![]() ![]() |
SΣ | 1..1 | id | Generated from Genie context and invoice table Id | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() |
S | 0..* | GSChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Business Identifier for item | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | balanced | cancelled | issued | entered-in-error Binding: InvoiceStatus (required): Codes identifying the lifecycle stage of an Invoice. | ||||
![]() ![]() ![]() |
S | 0..1 | string | Reason for cancellation of this Invoice | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | IDVA | ODVA | ... | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(AU Base Patient) | patient reference | ||||
![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Invoice date | ||||
![]() ![]() ![]() |
0..* | BackboneElement | Participant in creation of this Invoice | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | creator | servicingProvider | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | Reference to the creator or servcingProvider | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(AU Base Organisation) | Practice related to the invoice | ||||
![]() ![]() ![]() |
0..1 | Reference(Account) | Account that is being balanced | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Line items of this Invoice | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Payment URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Invoice Item Balance URL: http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | positiveInt | Incremental Id on invoice, e.g. 1 | ||||
![]() ![]() ![]() ![]() |
1..1 | Reference to ChargeItem containing details of this line item or an inline billing code Slice: Unordered, Closed by type:$this | ||||||
![]() ![]() ![]() ![]() ![]() |
Reference(ChargeItem) | |||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Billed item number | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Genie ChargeItem Base) | Reference to contained ChargeItem, e.g. #23 | ||||
![]() ![]() ![]() ![]() |
0..* | BackboneElement | Components of total line item price | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | base | discount | tax | deduction Binding: InvoicePriceComponentType (required): Codes indicating the kind of the price component. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Code identifying the specific component | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Factor used for calculating this component | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Money | Monetary amount associated with this component | ||||
![]() ![]() ![]() |
0..* | See priceComponent (Invoice) | Components of Invoice total | |||||
![]() ![]() ![]() |
Σ | 0..1 | Money | Net total of this Invoice | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Money | Total with tax | ||||
![]() ![]() ![]() |
0..1 | markdown | Payment details | |||||
![]() ![]() ![]() |
0..* | Annotation | Comments made about the invoice | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Invoice.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Invoice.status | required | InvoiceStatushttp://hl7.org/fhir/ValueSet/invoice-status|4.0.1 from the FHIR Standard | ||||
Invoice.lineItem.priceComponent.type | required | InvoicePriceComponentTypehttp://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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 | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Invoice
Summary
Mandatory: 1 element
Must-Support: 19 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron