0.1.3 - ci-build

MED - Local Development build (v0.1.3) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: AccountMED

Official URL: https://fhir.medicaia.ar/StructureDefinition/AccountMED Version: 0.1.3
Draft as of 2024-08-27 Computable Name: AccountMED

Copyright/Legal: Zentricx 2024+

Account Profile, for Medicaia interoperability scenarios, based on the International CORE Account Profile defined by HL7.

Usage:

Formal Views of Profile Content

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

This structure is derived from Account

NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..* Account Tracks balance, charges, for patient or cost center
... type 1..1 CodeableConcept E.g. patient, expense, depreciation
Binding: Account Types (required)
.... coding
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.medicaia.ar/CodeSystem/AccountTypeCS
..... code 1..1 code Symbol in syntax defined by the system
..... display 1..1 string Representation defined by the system
... subject 1..1 Reference(PatientMED) The entity that caused the expenses
... coverage
.... coverage 1..1 Reference(CoverageMED) The party(s), such as insurances, that may contribute to the payment of this account

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Account.typerequiredAccountTypeVS (a valid code from Account Type)
https://fhir.medicaia.ar/ValueSet/AccountTypeVS
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..* Account Tracks balance, charges, for patient or cost center
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... subject Σ 1..1 Reference(PatientMED) The entity that caused the expenses

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Account.statusrequiredAccountStatus
http://hl7.org/fhir/ValueSet/account-status|4.0.1
from the FHIR Standard
Account.typerequiredAccountTypeVS (a valid code from Account Type)
https://fhir.medicaia.ar/ValueSet/AccountTypeVS
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAccountIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAccountIf 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-4errorAccountIf 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-5errorAccountIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAccountA 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
.. Account 0..* Account Tracks balance, charges, for patient or cost center
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... identifier Σ 0..* Identifier Account number
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... type Σ 1..1 CodeableConcept E.g. patient, expense, depreciation
Binding: Account Types (required)
.... 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 Σ 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.medicaia.ar/CodeSystem/AccountTypeCS
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
..... display Σ 1..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
... name Σ 0..1 string Human-readable label
... subject Σ 1..1 Reference(PatientMED) The entity that caused the expenses
... servicePeriod Σ 0..1 Period Transaction window
... coverage Σ 0..* BackboneElement The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
.... 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
.... coverage Σ 1..1 Reference(CoverageMED) The party(s), such as insurances, that may contribute to the payment of this account
.... priority Σ 0..1 positiveInt The priority of the coverage in the context of this account
... owner Σ 0..1 Reference(Organization) Entity managing the Account
... description Σ 0..1 string Explanation of purpose/use
... guarantor 0..* BackboneElement The parties ultimately responsible for balancing the Account
.... 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
.... party 1..1 Reference(Patient | RelatedPerson | Organization) Responsible entity
.... onHold 0..1 boolean Credit or other hold applied
.... period 0..1 Period Guarantee account during
... partOf 0..1 Reference(Account) Reference to a parent Account

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Account.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Account.statusrequiredAccountStatus
http://hl7.org/fhir/ValueSet/account-status|4.0.1
from the FHIR Standard
Account.typerequiredAccountTypeVS (a valid code from Account Type)
https://fhir.medicaia.ar/ValueSet/AccountTypeVS
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAccountIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAccountIf 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-4errorAccountIf 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-5errorAccountIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAccountA 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 Account

Summary

Mandatory: 2 elements(3 nested mandatory elements)
Fixed: 1 element

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Account

NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..* Account Tracks balance, charges, for patient or cost center
... type 1..1 CodeableConcept E.g. patient, expense, depreciation
Binding: Account Types (required)
.... coding
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.medicaia.ar/CodeSystem/AccountTypeCS
..... code 1..1 code Symbol in syntax defined by the system
..... display 1..1 string Representation defined by the system
... subject 1..1 Reference(PatientMED) The entity that caused the expenses
... coverage
.... coverage 1..1 Reference(CoverageMED) The party(s), such as insurances, that may contribute to the payment of this account

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Account.typerequiredAccountTypeVS (a valid code from Account Type)
https://fhir.medicaia.ar/ValueSet/AccountTypeVS
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..* Account Tracks balance, charges, for patient or cost center
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... subject Σ 1..1 Reference(PatientMED) The entity that caused the expenses

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Account.statusrequiredAccountStatus
http://hl7.org/fhir/ValueSet/account-status|4.0.1
from the FHIR Standard
Account.typerequiredAccountTypeVS (a valid code from Account Type)
https://fhir.medicaia.ar/ValueSet/AccountTypeVS
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAccountIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAccountIf 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-4errorAccountIf 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-5errorAccountIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAccountA 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
.. Account 0..* Account Tracks balance, charges, for patient or cost center
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... identifier Σ 0..* Identifier Account number
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... type Σ 1..1 CodeableConcept E.g. patient, expense, depreciation
Binding: Account Types (required)
.... 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 Σ 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.medicaia.ar/CodeSystem/AccountTypeCS
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
..... display Σ 1..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
... name Σ 0..1 string Human-readable label
... subject Σ 1..1 Reference(PatientMED) The entity that caused the expenses
... servicePeriod Σ 0..1 Period Transaction window
... coverage Σ 0..* BackboneElement The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
.... 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
.... coverage Σ 1..1 Reference(CoverageMED) The party(s), such as insurances, that may contribute to the payment of this account
.... priority Σ 0..1 positiveInt The priority of the coverage in the context of this account
... owner Σ 0..1 Reference(Organization) Entity managing the Account
... description Σ 0..1 string Explanation of purpose/use
... guarantor 0..* BackboneElement The parties ultimately responsible for balancing the Account
.... 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
.... party 1..1 Reference(Patient | RelatedPerson | Organization) Responsible entity
.... onHold 0..1 boolean Credit or other hold applied
.... period 0..1 Period Guarantee account during
... partOf 0..1 Reference(Account) Reference to a parent Account

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Account.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Account.statusrequiredAccountStatus
http://hl7.org/fhir/ValueSet/account-status|4.0.1
from the FHIR Standard
Account.typerequiredAccountTypeVS (a valid code from Account Type)
https://fhir.medicaia.ar/ValueSet/AccountTypeVS
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAccountIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAccountIf 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-4errorAccountIf 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-5errorAccountIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAccountA 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 Account

Summary

Mandatory: 2 elements(3 nested mandatory elements)
Fixed: 1 element

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron