Magentus Practice Management FHIR Implementation Guide
1.2.60 - ci-build

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

## Resource Profile: Genie Payment Basic Resource

Official URL: http://fhir.geniesolutions.io/StructureDefinition/basic-payment | Version: 1.2.60
Active as of 2026-04-05 | Computable Name: GSPayment

Genie Invoice Payment Basic Resource profile

Usages:

- Examples for this Profile: Basic/3acdb929-24c0-47ba-bae6-3df5b2479701

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Basic |  | 0..* | Basic | Resource for non-supported content
id | S Σ | 1..1 | id | Generated from Payment ID
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  | 5..* | Extension | Extension Slice: Unordered, Open by value:url
extension:gross-amount | S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
extension:payment-method | S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required)
extension:payment-date | S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date
extension:invoice | S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
extension:invoice-lineitem | S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system
identifier:payment-id | Σ | 0..1 | Identifier | Payment ID
id |  | 1..1 | string | Unique id for inter-element referencing
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id
code | ?!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
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment
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
subject | Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment
author | Σ | 0..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | 'Receipted by' Practitioner reference
Documentation for this format

#### Terminology Bindings

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.

#### Constraints

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

This structure is derived from Basic

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Basic |  | 0..* | Basic | Resource for non-supported content
id | S | 1..1 | id | Generated from Payment ID
Slices for extension |  | 5..* | Extension | Extension Slice: Unordered, Open by value:url
extension:gross-amount | S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
extension:payment-method | S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required)
extension:payment-date | S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date
extension:invoice | S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
extension:invoice-lineitem | S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem
Slices for identifier |  | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system
identifier:payment-id |  | 0..1 | Identifier | Payment ID
id |  | 1..1 | string | Unique id for inter-element referencing
system |  | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id
code | S | 1..1 | CodeableConcept | Kind of Resource Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment
subject |  | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment
author |  | 0..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | 'Receipted by' Practitioner reference
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Basic |  | 0..* | Basic | Resource for non-supported content
id | S Σ | 1..1 | id | Generated from Payment ID
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 5..* | Extension | Extension Slice: Unordered, Open by value:url
extension:gross-amount | S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
extension:payment-method | S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required)
extension:payment-date | S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date
extension:invoice | S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
extension:invoice-lineitem | S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system
identifier:payment-id | Σ | 0..1 | Identifier | Payment ID
id |  | 1..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.
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id
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)
code | ?!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
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment
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
subject | Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment
created | Σ | 0..1 | date | When created
author | Σ | 0..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | 'Receipted by' Practitioner reference
Documentation for this format

#### Terminology Bindings

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.

#### Constraints

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

This structure is derived from Basic

Summary

Mandatory: 6 elements(2 nested mandatory elements)
Must-Support: 7 elements

Structures

This structure refers to these other structures:

- AU Base Patient (http://hl7.org.au/fhir/StructureDefinition/au-patient)
- AU Base Practitioner (http://hl7.org.au/fhir/StructureDefinition/au-practitioner)
- AU Base Practitioner Role (http://hl7.org.au/fhir/StructureDefinition/au-practitionerrole)

Extensions

This structure refers to these extensions:

- http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
- http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext
- http://fhir.geniesolutions.io/StructureDefinition/payment-date
- http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
- http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Basic.identifier (Closed)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Basic |  | 0..* | Basic | Resource for non-supported content
id | S Σ | 1..1 | id | Generated from Payment ID
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  | 5..* | Extension | Extension Slice: Unordered, Open by value:url
extension:gross-amount | S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
extension:payment-method | S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required)
extension:payment-date | S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date
extension:invoice | S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
extension:invoice-lineitem | S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system
identifier:payment-id | Σ | 0..1 | Identifier | Payment ID
id |  | 1..1 | string | Unique id for inter-element referencing
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id
code | ?!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
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment
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
subject | Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment
author | Σ | 0..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | 'Receipted by' Practitioner reference
Documentation for this format

#### Terminology Bindings

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.

#### Constraints

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

This structure is derived from Basic

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Basic |  | 0..* | Basic | Resource for non-supported content
id | S | 1..1 | id | Generated from Payment ID
Slices for extension |  | 5..* | Extension | Extension Slice: Unordered, Open by value:url
extension:gross-amount | S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
extension:payment-method | S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required)
extension:payment-date | S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date
extension:invoice | S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
extension:invoice-lineitem | S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem
Slices for identifier |  | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system
identifier:payment-id |  | 0..1 | Identifier | Payment ID
id |  | 1..1 | string | Unique id for inter-element referencing
system |  | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id
code | S | 1..1 | CodeableConcept | Kind of Resource Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment
subject |  | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment
author |  | 0..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | 'Receipted by' Practitioner reference
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Basic |  | 0..* | Basic | Resource for non-supported content
id | S Σ | 1..1 | id | Generated from Payment ID
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 5..* | Extension | Extension Slice: Unordered, Open by value:url
extension:gross-amount | S | 1..1 | Money | Payment Gross Amount URL: http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
extension:payment-method | S | 1..1 | Coding | Payment Method URL: http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext Binding: Genie Payment Method ValueSet (required)
extension:payment-date | S | 1..1 | dateTime | Payment Date URL: http://fhir.geniesolutions.io/StructureDefinition/payment-date
extension:invoice | S | 1..1 | Reference(Invoice) | Payment Invoice URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
extension:invoice-lineitem | S | 1..1 | positiveInt | Payment Invoice Line Item URL: http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | Σ | 0..* | Identifier | Business identifier Slice: Unordered, Closed by value:system
identifier:payment-id | Σ | 0..1 | Identifier | Payment ID
id |  | 1..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.
system | Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://fhir.geniesolutions.io/Identifier/payment-id
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)
code | ?!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
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/basic-type
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Payment
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
subject | Σ | 0..1 | Reference(AU Base Patient) | Patient related to the invoice payment
created | Σ | 0..1 | date | When created
author | Σ | 0..1 | Reference(AU Base Practitioner | AU Base Practitioner Role) | 'Receipted by' Practitioner reference
Documentation for this format

#### Terminology Bindings

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.

#### Constraints

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

This structure is derived from Basic

Summary

Mandatory: 6 elements(2 nested mandatory elements)
Must-Support: 7 elements

Structures

This structure refers to these other structures:

- AU Base Patient (http://hl7.org.au/fhir/StructureDefinition/au-patient)
- AU Base Practitioner (http://hl7.org.au/fhir/StructureDefinition/au-practitioner)
- AU Base Practitioner Role (http://hl7.org.au/fhir/StructureDefinition/au-practitionerrole)

Extensions

This structure refers to these extensions:

- http://fhir.geniesolutions.io/StructureDefinition/payment-gross-amount
- http://fhir.geniesolutions.io/StructureDefinition/payment-method-ext
- http://fhir.geniesolutions.io/StructureDefinition/payment-date
- http://fhir.geniesolutions.io/StructureDefinition/payment-invoice
- http://fhir.geniesolutions.io/StructureDefinition/payment-invoice-lineitem

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Basic.identifier (Closed)

Other representations of profile: CSV, Excel, Schematron