openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build
openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions
Official URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-invoice-invoice | Version: 1.0.0 | |||
Active as of 2022-05-31 | Responsible: openIMIS Initiative | Computable Name: OpenIMISInvoice |
Defines an Invoice for openIMIS.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Invoice
Summary
Mandatory: 19 elements (2 nested mandatory elements)
Must-Support: 1 element
Prohibited: 6 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
This structure is derived from Invoice
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Invoice | 0..* | Invoice | Invoice containing ChargeItems from an Account | |
id | 0..1 | string | Invoice UUID | |
Slices for identifier | 2..2 | Identifier | Business Identifier for item Slice: Unordered, Closed by value:type.coding.code | |
identifier:All Slices | Content/Rules for all slices | |||
type | 1..1 | CodeableConcept | Description of identifier | |
coding | ||||
code | 0..1 | code | Symbol in syntax defined by the system Binding: openIMIS Identifiers Value Set (required) | |
value | 1..1 | string | The value that is unique | |
identifier:Code | S | 1..1 | Identifier | Business Identifier for item |
type | ||||
coding | ||||
code | 1..1 | code | Invoice openIMIS Code Required Pattern: Code | |
identifier:UUID | 1..1 | Identifier | Business Identifier for item | |
type | ||||
coding | ||||
code | 1..1 | code | Invoice openIMIS UUID Required Pattern: UUID | |
status | 1..1 | code | FHIR Invoice Status Binding: Status (Invoice) (required) | |
cancelledReason | 0..0 | |||
type | 1..1 | CodeableConcept | contribution | contract | funding | |
coding | 0..* | Coding | Code defined by a terminology system Binding: Type (Invoice) (required) | |
subject | 0..0 | |||
recipient | 1..1 | Reference(Organization | Patient) | Third party | |
date | 1..1 | dateTime | Invoice date / posting date | |
participant | 0..0 | |||
account | 0..0 | |||
lineItem | 1..* | BackboneElement | Line items of this Invoice | |
sequence | 0..0 | |||
chargeItem[x] | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Slice: Unordered, Open by type:$this | |
chargeItemCodeableConcept | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Binding: ChargeItem (Invoice) (required) | |
priceComponent | 1..* | BackboneElement | Components of total line item price | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
unit-price | 1..1 | Money | Unit Price URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price | |
type | 1..1 | code | base | deduction | discount | tax Binding: PriceComponent Type (Invoice) (required) | |
code | 0..1 | CodeableConcept | Code identifying the specific component | |
coding | ||||
code | 0..1 | code | Symbol in syntax defined by the system Required Pattern: Code | |
factor | 1..1 | decimal | Factor used for calculating this component | |
amount | 1..1 | Money | Monetary amount associated with this component | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
totalPriceComponent | 0..0 | |||
totalNet | 1..1 | Money | Net total of this Invoice | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
totalGross | 1..1 | Money | Gross total of this Invoice | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
note | 0..1 | Annotation | Comments made about the invoice | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Invoice | 0..* | Invoice | Invoice containing ChargeItems from an Account | |||||
id | Σ | 0..1 | string | Invoice UUID | ||||
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.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | Σ | 2..2 | Identifier | Business Identifier for item Slice: Unordered, Closed by value:type.coding.code | ||||
identifier:All Slices | Content/Rules for all slices | |||||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 1..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 | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system Binding: openIMIS Identifiers Value Set (required) | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 1..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) | ||||
identifier:Code | SΣ | 1..1 | 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 | |||||
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 | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Invoice openIMIS Code Required Pattern: Code | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
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) | ||||
identifier:UUID | Σ | 1..1 | 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 | |||||
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 | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Invoice openIMIS UUID Required Pattern: UUID | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
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 | ?!Σ | 1..1 | code | FHIR Invoice Status Binding: Status (Invoice) (required) | ||||
type | Σ | 1..1 | CodeableConcept | contribution | contract | funding | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: Type (Invoice) (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
recipient | Σ | 1..1 | Reference(Organization | Patient) | Third party | ||||
date | Σ | 1..1 | dateTime | Invoice date / posting date | ||||
issuer | 0..1 | Reference(Organization) | Issuing Organization of Invoice | |||||
lineItem | 1..* | BackboneElement | Line items 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 | ||||
Slices for chargeItem[x] | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Slice: Unordered, Closed by type:$this | |||||
chargeItem[x]:chargeItemCodeableConcept | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Binding: ChargeItem (Invoice) (required) | |||||
priceComponent | 1..* | BackboneElement | Components of total line item price | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
unit-price | 1..1 | Money | Unit Price URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
type | 1..1 | code | base | deduction | discount | tax Binding: PriceComponent Type (Invoice) (required) | |||||
code | 0..1 | CodeableConcept | Code identifying the specific component | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: Code | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
factor | 1..1 | decimal | Factor used for calculating this component | |||||
amount | 1..1 | Money | Monetary amount associated with this component | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
totalNet | Σ | 1..1 | Money | Net total of this Invoice | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
totalGross | Σ | 1..1 | Money | Gross total of this Invoice | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
paymentTerms | 0..1 | markdown | Payment details | |||||
note | 0..1 | Annotation | Comments made about the invoice | |||||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Invoice | 0..* | Invoice | Invoice containing ChargeItems from an Account | |
identifier:Code | Σ | 1..1 | Identifier | Business Identifier for item |
Documentation for this format |
This structure is derived from Invoice
Summary
Mandatory: 19 elements (2 nested mandatory elements)
Must-Support: 1 element
Prohibited: 6 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Invoice
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Invoice | 0..* | Invoice | Invoice containing ChargeItems from an Account | |
id | 0..1 | string | Invoice UUID | |
Slices for identifier | 2..2 | Identifier | Business Identifier for item Slice: Unordered, Closed by value:type.coding.code | |
identifier:All Slices | Content/Rules for all slices | |||
type | 1..1 | CodeableConcept | Description of identifier | |
coding | ||||
code | 0..1 | code | Symbol in syntax defined by the system Binding: openIMIS Identifiers Value Set (required) | |
value | 1..1 | string | The value that is unique | |
identifier:Code | S | 1..1 | Identifier | Business Identifier for item |
type | ||||
coding | ||||
code | 1..1 | code | Invoice openIMIS Code Required Pattern: Code | |
identifier:UUID | 1..1 | Identifier | Business Identifier for item | |
type | ||||
coding | ||||
code | 1..1 | code | Invoice openIMIS UUID Required Pattern: UUID | |
status | 1..1 | code | FHIR Invoice Status Binding: Status (Invoice) (required) | |
cancelledReason | 0..0 | |||
type | 1..1 | CodeableConcept | contribution | contract | funding | |
coding | 0..* | Coding | Code defined by a terminology system Binding: Type (Invoice) (required) | |
subject | 0..0 | |||
recipient | 1..1 | Reference(Organization | Patient) | Third party | |
date | 1..1 | dateTime | Invoice date / posting date | |
participant | 0..0 | |||
account | 0..0 | |||
lineItem | 1..* | BackboneElement | Line items of this Invoice | |
sequence | 0..0 | |||
chargeItem[x] | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Slice: Unordered, Open by type:$this | |
chargeItemCodeableConcept | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Binding: ChargeItem (Invoice) (required) | |
priceComponent | 1..* | BackboneElement | Components of total line item price | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
unit-price | 1..1 | Money | Unit Price URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price | |
type | 1..1 | code | base | deduction | discount | tax Binding: PriceComponent Type (Invoice) (required) | |
code | 0..1 | CodeableConcept | Code identifying the specific component | |
coding | ||||
code | 0..1 | code | Symbol in syntax defined by the system Required Pattern: Code | |
factor | 1..1 | decimal | Factor used for calculating this component | |
amount | 1..1 | Money | Monetary amount associated with this component | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
totalPriceComponent | 0..0 | |||
totalNet | 1..1 | Money | Net total of this Invoice | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
totalGross | 1..1 | Money | Gross total of this Invoice | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
note | 0..1 | Annotation | Comments made about the invoice | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Invoice | 0..* | Invoice | Invoice containing ChargeItems from an Account | |||||
id | Σ | 0..1 | string | Invoice UUID | ||||
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.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | Σ | 2..2 | Identifier | Business Identifier for item Slice: Unordered, Closed by value:type.coding.code | ||||
identifier:All Slices | Content/Rules for all slices | |||||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 1..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 | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system Binding: openIMIS Identifiers Value Set (required) | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 1..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) | ||||
identifier:Code | SΣ | 1..1 | 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 | |||||
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 | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Invoice openIMIS Code Required Pattern: Code | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
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) | ||||
identifier:UUID | Σ | 1..1 | 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 | |||||
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 | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Invoice openIMIS UUID Required Pattern: UUID | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
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 | ?!Σ | 1..1 | code | FHIR Invoice Status Binding: Status (Invoice) (required) | ||||
type | Σ | 1..1 | CodeableConcept | contribution | contract | funding | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: Type (Invoice) (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
recipient | Σ | 1..1 | Reference(Organization | Patient) | Third party | ||||
date | Σ | 1..1 | dateTime | Invoice date / posting date | ||||
issuer | 0..1 | Reference(Organization) | Issuing Organization of Invoice | |||||
lineItem | 1..* | BackboneElement | Line items 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 | ||||
Slices for chargeItem[x] | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Slice: Unordered, Closed by type:$this | |||||
chargeItem[x]:chargeItemCodeableConcept | 1..1 | CodeableConcept | Reference to ChargeItem containing details of this line item or an inline billing code Binding: ChargeItem (Invoice) (required) | |||||
priceComponent | 1..* | BackboneElement | Components of total line item price | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
unit-price | 1..1 | Money | Unit Price URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
type | 1..1 | code | base | deduction | discount | tax Binding: PriceComponent Type (Invoice) (required) | |||||
code | 0..1 | CodeableConcept | Code identifying the specific component | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 0..1 | uri | Identity of the terminology system | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: Code | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
factor | 1..1 | decimal | Factor used for calculating this component | |||||
amount | 1..1 | Money | Monetary amount associated with this component | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
totalNet | Σ | 1..1 | Money | Net total of this Invoice | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
totalGross | Σ | 1..1 | Money | Gross total of this Invoice | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. | ||||
paymentTerms | 0..1 | markdown | Payment details | |||||
note | 0..1 | Annotation | Comments made about the invoice | |||||
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet |
Invoice.language | preferred | CommonLanguages Max Binding: AllLanguages |
Invoice.identifier.use | required | IdentifierUse |
Invoice.identifier.type | extensible | Identifier Type Codes |
Invoice.identifier.type.coding.code | required | OpenIMISIdentifierVS |
Invoice.identifier:Code.use | required | IdentifierUse |
Invoice.identifier:Code.type | extensible | Identifier Type Codes |
Invoice.identifier:UUID.use | required | IdentifierUse |
Invoice.identifier:UUID.type | extensible | Identifier Type Codes |
Invoice.status | required | InvoiceStatusVS |
Invoice.type.coding | required | InvoiceTypeVS |
Invoice.lineItem.chargeItem[x]:chargeItemCodeableConcept | required | InvoiceChargeItemVS |
Invoice.lineItem.priceComponent.type | required | InvoicePriceComponentTypeVS |
Invoice.lineItem.priceComponent.amount.currency | required | Currencies |
Invoice.totalNet.currency | required | Currencies |
Invoice.totalGross.currency | required | Currencies |
Id | Grade | Path | 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 | Invoice.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier.type.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier.type.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier.type.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier.type.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.type.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier:Code.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier:Code.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier:Code.type.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier:Code.type.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier:Code.type.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier:Code.type.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.type.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:Code.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier:UUID.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier:UUID.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier:UUID.type.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier:UUID.type.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.identifier:UUID.type.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.identifier:UUID.type.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.type.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.identifier:UUID.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.type.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.type.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.type.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.type.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.recipient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.date | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.participant.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.participant.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.participant.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.participant.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.participant.role | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.participant.actor | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.issuer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.chargeItem[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.chargeItem[x]:chargeItemCodeableConcept | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.priceComponent.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.priceComponent.extension:unitPrice | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.priceComponent.extension:unitPrice | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.priceComponent.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.priceComponent.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.priceComponent.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.priceComponent.code.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.priceComponent.code.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.priceComponent.code.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.priceComponent.code.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.code.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.factor | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.amount | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.amount.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.lineItem.priceComponent.amount.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.lineItem.priceComponent.amount.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.lineItem.priceComponent.amount.currency | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.totalNet | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.totalNet.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.totalNet.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.totalNet.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.totalNet.currency | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.totalGross | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.totalGross.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Invoice.totalGross.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Invoice.totalGross.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.totalGross.currency | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.paymentTerms | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Invoice.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |