EHI Export Implementation Guide
0.1.0 - ci-build

EHI Export Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: Payment

Official URL: https://ehi-export.pointclickcare.com//StructureDefinition/Payment Version: 0.1.0
Draft as of 2024-02-05 Computable Name: EHIPayment

This resource provides the status of the payment for goods and services rendered, and the request and response resource references.

Usage:

  • This Resource is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from DomainResource

NameFlagsCard.TypeDescription & Constraintsdoco
.. Payment 0..*DomainResourcePayment
... arAmount Σ0..1MoneyAR amount for the payment
... cashReceiptType Σ0..1stringCash receipt type
... createdDate Σ0..1dateTimeTimestamp when the payment was created
... identifier Σ1..1IdentifierIdentification key
... payerDescription Σ0..1stringPayer description
... payerType Σ0..1stringPayer type
... receiptAmount Σ0..1MoneyReceipt amount for the payment
... revisionDate Σ0..1dateTimeTimestamp when the payment was revised
... subject Σ1..1Reference(Patient)Patient subject reference
... trustAmount Σ0..1MoneyTrust amount for the payment

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Payment 0..*DomainResourcePayment
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... arAmount Σ0..1MoneyAR amount for the payment
... createdDate Σ0..1dateTimeTimestamp when the payment was created
... effectiveDateTime Σ0..1dateTimeTimestamp when the payment was effective
... identifier Σ1..1IdentifierIdentification key
... payerDescription Σ0..1stringPayer description
... payerType Σ0..1stringPayer type
... receiptAmount Σ0..1MoneyReceipt amount for the payment
... revisionDate Σ0..1dateTimeTimestamp when the payment was revised
... subject Σ1..1Reference(Patient)Patient subject reference
... trustAmount Σ0..1MoneyTrust amount for the payment

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPaymentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPaymentIf 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-4errorPaymentIf 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-5errorPaymentIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePaymentA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Payment 0..*DomainResourcePayment
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... arAmount Σ0..1MoneyAR amount for the payment
... cashReceiptType Σ0..1stringCash receipt type
... createdDate Σ0..1dateTimeTimestamp when the payment was created
... effectiveDateTime Σ0..1dateTimeTimestamp when the payment was effective
... identifier Σ1..1IdentifierIdentification key
... payerDescription Σ0..1stringPayer description
... payerType Σ0..1stringPayer type
... receiptAmount Σ0..1MoneyReceipt amount for the payment
... revisionDate Σ0..1dateTimeTimestamp when the payment was revised
... subject Σ1..1Reference(Patient)Patient subject reference
... trustAmount Σ0..1MoneyTrust amount for the payment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Payment.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPaymentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPaymentIf 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-4errorPaymentIf 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-5errorPaymentIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePaymentA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DomainResource

Summary

Mandatory: 0 element (2 nested mandatory elements)

Differential View

This structure is derived from DomainResource

NameFlagsCard.TypeDescription & Constraintsdoco
.. Payment 0..*DomainResourcePayment
... arAmount Σ0..1MoneyAR amount for the payment
... cashReceiptType Σ0..1stringCash receipt type
... createdDate Σ0..1dateTimeTimestamp when the payment was created
... identifier Σ1..1IdentifierIdentification key
... payerDescription Σ0..1stringPayer description
... payerType Σ0..1stringPayer type
... receiptAmount Σ0..1MoneyReceipt amount for the payment
... revisionDate Σ0..1dateTimeTimestamp when the payment was revised
... subject Σ1..1Reference(Patient)Patient subject reference
... trustAmount Σ0..1MoneyTrust amount for the payment

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Payment 0..*DomainResourcePayment
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... arAmount Σ0..1MoneyAR amount for the payment
... createdDate Σ0..1dateTimeTimestamp when the payment was created
... effectiveDateTime Σ0..1dateTimeTimestamp when the payment was effective
... identifier Σ1..1IdentifierIdentification key
... payerDescription Σ0..1stringPayer description
... payerType Σ0..1stringPayer type
... receiptAmount Σ0..1MoneyReceipt amount for the payment
... revisionDate Σ0..1dateTimeTimestamp when the payment was revised
... subject Σ1..1Reference(Patient)Patient subject reference
... trustAmount Σ0..1MoneyTrust amount for the payment

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPaymentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPaymentIf 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-4errorPaymentIf 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-5errorPaymentIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePaymentA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Payment 0..*DomainResourcePayment
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... arAmount Σ0..1MoneyAR amount for the payment
... cashReceiptType Σ0..1stringCash receipt type
... createdDate Σ0..1dateTimeTimestamp when the payment was created
... effectiveDateTime Σ0..1dateTimeTimestamp when the payment was effective
... identifier Σ1..1IdentifierIdentification key
... payerDescription Σ0..1stringPayer description
... payerType Σ0..1stringPayer type
... receiptAmount Σ0..1MoneyReceipt amount for the payment
... revisionDate Σ0..1dateTimeTimestamp when the payment was revised
... subject Σ1..1Reference(Patient)Patient subject reference
... trustAmount Σ0..1MoneyTrust amount for the payment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Payment.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPaymentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPaymentIf 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-4errorPaymentIf 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-5errorPaymentIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePaymentA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DomainResource

Summary

Mandatory: 0 element (2 nested mandatory elements)

 

Other representations of profile: CSV, Excel, Schematron