Magentus Practice Management FHIR® Implementation Guide
1.3.2 - Release
Australia
Magentus Practice Management FHIR® Implementation Guide - Downloaded Version 1.3.2 See the Directory of published versions
| Official URL: http://fhir.geniesolutions.io/StructureDefinition/basic-payment | Version: 1.3.2 | ||||
| Active as of 2026-10-02 | Computable Name: GSPayment | ||||
A payment received against an invoice. FHIR R4 has no Payment resource, so a payment is carried on Basic with extensions for the date received, gross amount, payment method, and the invoice and the invoice line item it is applied to. Both are required.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
SΣ | 1..1 | id | Generated from Payment ID |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount |
![]() ![]() ![]() |
S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date |
![]() ![]() ![]() |
S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice |
![]() ![]() ![]() |
S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Payment ID |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment |
![]() ![]() |
Σ | 0..1 | Reference(AU Base Practitioner | AU Base PractitionerRole) | 'Receipted by' Practitioner reference |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.identifier:payment-id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
S | 1..1 | id | Generated from Payment ID |
![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount |
![]() ![]() ![]() |
S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date |
![]() ![]() ![]() |
S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice |
![]() ![]() ![]() |
S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem |
![]() ![]() |
0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system | |
![]() ![]() ![]() |
0..1 | Identifier | Payment ID | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
S | 1..1 | CodeableConcept | Kind of Resource Required Pattern: At least the following |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment | |
![]() ![]() |
0..1 | Reference(AU Base Patient) | Patient related to the invoice payment | |
![]() ![]() |
0..1 | Reference(AU Base Practitioner | AU Base PractitionerRole) | 'Receipted by' Practitioner reference | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |||||
![]() ![]() |
SΣ | 1..1 | id | Generated from Payment 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 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount | ||||
![]() ![]() ![]() |
S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required) | ||||
![]() ![]() ![]() |
S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice | ||||
![]() ![]() ![]() |
S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Payment ID | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment | ||||
![]() ![]() |
Σ | 0..1 | date | When created | ||||
![]() ![]() |
Σ | 0..1 | Reference(AU Base Practitioner | AU Base PractitionerRole) | 'Receipted by' Practitioner reference | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.identifier:payment-id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Basic.identifier:payment-id.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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()
|
Summary
Mandatory: 6 elements(2 nested mandatory elements)
Must-Support: 7 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 Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
SΣ | 1..1 | id | Generated from Payment ID |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount |
![]() ![]() ![]() |
S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date |
![]() ![]() ![]() |
S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice |
![]() ![]() ![]() |
S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Payment ID |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment | |
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment |
![]() ![]() |
Σ | 0..1 | Reference(AU Base Practitioner | AU Base PractitionerRole) | 'Receipted by' Practitioner reference |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.identifier:payment-id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
S | 1..1 | id | Generated from Payment ID |
![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount |
![]() ![]() ![]() |
S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date |
![]() ![]() ![]() |
S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice |
![]() ![]() ![]() |
S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem |
![]() ![]() |
0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system | |
![]() ![]() ![]() |
0..1 | Identifier | Payment ID | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
S | 1..1 | CodeableConcept | Kind of Resource Required Pattern: At least the following |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment | |
![]() ![]() |
0..1 | Reference(AU Base Patient) | Patient related to the invoice payment | |
![]() ![]() |
0..1 | Reference(AU Base Practitioner | AU Base PractitionerRole) | 'Receipted by' Practitioner reference | |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |||||
![]() ![]() |
SΣ | 1..1 | id | Generated from Payment 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 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
5..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount | ||||
![]() ![]() ![]() |
S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required) | ||||
![]() ![]() ![]() |
S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice | ||||
![]() ![]() ![]() |
S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Payment ID | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment | ||||
![]() ![]() |
Σ | 0..1 | date | When created | ||||
![]() ![]() |
Σ | 0..1 | Reference(AU Base Practitioner | AU Base PractitionerRole) | 'Receipted by' Practitioner reference | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.identifier:payment-id.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Basic.identifier:payment-id.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | 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()
|
Summary
Mandatory: 6 elements(2 nested mandatory elements)
Must-Support: 7 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