Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Resource Profile: Account

Official URL: https://ancode.app/fhir/StructureDefinition/Account Version: 0.2.0
Draft as of 2021-12-02 Computable Name: Account

Usage:

  • This Resource Profile 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 Account

NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..*AccountTracks balance, charges, for patient or cost center
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... valueTotal 0..1decimalExtension
URL: https://ancode.app/fhir/StructureDefinition/Value
... accountSplit 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccountSplit
Binding: BRTipoFaturamento (required)
... name 1..1stringHuman-readable label
... subject 1..1Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization)The entity that caused the expenses
... servicePeriod 1..1PeriodTransaction window
.... start 1..1dateTimeStarting time with inclusive boundary
... coverage 1..1BackboneElementThe party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
... owner 1..1Reference(Organization)Entity managing the Account
... guarantor 1..1BackboneElementThe parties ultimately responsible for balancing the Account

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..*AccountTracks balance, charges, for patient or cost center
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... procedureType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ProcedureType
Binding: ProcedureType (required)
... accountSplit 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccountSplit
Binding: BRTipoFaturamento (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeactive | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... name Σ1..1stringHuman-readable label
... subject Σ1..1Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization)The entity that caused the expenses
... servicePeriod Σ1..1PeriodTransaction window
.... start ΣC1..1dateTimeStarting time with inclusive boundary
... coverage Σ1..1BackboneElementThe party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... coverage Σ1..1Reference(Coverage)The party(s), such as insurances, that may contribute to the payment of this account
... owner Σ1..1Reference(Organization)Entity managing the Account
... guarantor 1..1BackboneElementThe parties ultimately responsible for balancing the Account
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... party 1..1Reference(Patient | RelatedPerson | Organization)Responsible entity

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Account.statusrequiredAccountStatus

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.exists() and ('#'+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(uri) = '#').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..*AccountTracks balance, charges, for patient or cost center
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... valueTotal 0..1decimalExtension
URL: https://ancode.app/fhir/StructureDefinition/Value
... procedureType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ProcedureType
Binding: ProcedureType (required)
... accountSplit 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccountSplit
Binding: BRTipoFaturamento (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierAccount number
... status ?!Σ1..1codeactive | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... type Σ0..1CodeableConceptE.g. patient, expense, depreciation
Binding: AccountTypes (example): The usage type of this account, permits categorization of accounts.

... name Σ1..1stringHuman-readable label
... subject Σ1..1Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization)The entity that caused the expenses
... servicePeriod Σ1..1PeriodTransaction window
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... coverage Σ1..1BackboneElementThe party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... coverage Σ1..1Reference(Coverage)The party(s), such as insurances, that may contribute to the payment of this account
.... priority Σ0..1positiveIntThe priority of the coverage in the context of this account
... owner Σ1..1Reference(Organization)Entity managing the Account
... description Σ0..1stringExplanation of purpose/use
... guarantor 1..1BackboneElementThe parties ultimately responsible for balancing the Account
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... party 1..1Reference(Patient | RelatedPerson | Organization)Responsible entity
.... onHold 0..1booleanCredit or other hold applied
.... period 0..1PeriodGuarantee account during
... partOf 0..1Reference(Account)Reference to a parent Account

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Account.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Account.statusrequiredAccountStatus
Account.typeexampleAccountTypes

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningAccount.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
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()

Differential View

This structure is derived from Account

NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..*AccountTracks balance, charges, for patient or cost center
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... valueTotal 0..1decimalExtension
URL: https://ancode.app/fhir/StructureDefinition/Value
... accountSplit 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccountSplit
Binding: BRTipoFaturamento (required)
... name 1..1stringHuman-readable label
... subject 1..1Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization)The entity that caused the expenses
... servicePeriod 1..1PeriodTransaction window
.... start 1..1dateTimeStarting time with inclusive boundary
... coverage 1..1BackboneElementThe party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
... owner 1..1Reference(Organization)Entity managing the Account
... guarantor 1..1BackboneElementThe parties ultimately responsible for balancing the Account

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Account 0..*AccountTracks balance, charges, for patient or cost center
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... procedureType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ProcedureType
Binding: ProcedureType (required)
... accountSplit 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccountSplit
Binding: BRTipoFaturamento (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeactive | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... name Σ1..1stringHuman-readable label
... subject Σ1..1Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization)The entity that caused the expenses
... servicePeriod Σ1..1PeriodTransaction window
.... start ΣC1..1dateTimeStarting time with inclusive boundary
... coverage Σ1..1BackboneElementThe party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... coverage Σ1..1Reference(Coverage)The party(s), such as insurances, that may contribute to the payment of this account
... owner Σ1..1Reference(Organization)Entity managing the Account
... guarantor 1..1BackboneElementThe parties ultimately responsible for balancing the Account
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... party 1..1Reference(Patient | RelatedPerson | Organization)Responsible entity

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Account.statusrequiredAccountStatus

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.exists() and ('#'+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(uri) = '#').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..*AccountTracks balance, charges, for patient or cost center
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... valueTotal 0..1decimalExtension
URL: https://ancode.app/fhir/StructureDefinition/Value
... procedureType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ProcedureType
Binding: ProcedureType (required)
... accountSplit 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccountSplit
Binding: BRTipoFaturamento (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierAccount number
... status ?!Σ1..1codeactive | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

... type Σ0..1CodeableConceptE.g. patient, expense, depreciation
Binding: AccountTypes (example): The usage type of this account, permits categorization of accounts.

... name Σ1..1stringHuman-readable label
... subject Σ1..1Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization)The entity that caused the expenses
... servicePeriod Σ1..1PeriodTransaction window
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... coverage Σ1..1BackboneElementThe party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... coverage Σ1..1Reference(Coverage)The party(s), such as insurances, that may contribute to the payment of this account
.... priority Σ0..1positiveIntThe priority of the coverage in the context of this account
... owner Σ1..1Reference(Organization)Entity managing the Account
... description Σ0..1stringExplanation of purpose/use
... guarantor 1..1BackboneElementThe parties ultimately responsible for balancing the Account
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... party 1..1Reference(Patient | RelatedPerson | Organization)Responsible entity
.... onHold 0..1booleanCredit or other hold applied
.... period 0..1PeriodGuarantee account during
... partOf 0..1Reference(Account)Reference to a parent Account

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Account.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Account.statusrequiredAccountStatus
Account.typeexampleAccountTypes

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningAccount.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
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()

 

Other representations of profile: CSV, Excel, Schematron