Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R2_Account_R5

Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-Account Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R2_Account_R5

This cross-version profile allows DSTU2 Account content to be represented via FHIR R5 Account resources.

Usages:

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

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Account 0..* Account(5.0.0) Tracks balance, charges, for patient or cost center
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:currency 0..1 Coding DSTU2: Base currency in which balance is tracked (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.currency
Constraints: ext-1
.... extension:balance 0..1 Money DSTU2: How much is in account? (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.balance
Constraints: ext-1
.... extension:coveragePeriod 0..1 Period DSTU2: Transaction window (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.coveragePeriod
Constraints: ext-1
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Account.status Base required Account Status 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Account If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Account 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Account 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 Account If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Account A resource should have narrative for robust management text.`div`.exists()
ele-1 error Account.implicitRules, Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension, Account.status All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Account

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Account 0..* Account(5.0.0) Tracks balance, charges, for patient or cost center
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:currency 0..1 Coding DSTU2: Base currency in which balance is tracked (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.currency
.... extension:balance 0..1 Money DSTU2: How much is in account? (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.balance
.... extension:coveragePeriod 0..1 Period DSTU2: Transaction window (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.coveragePeriod
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.identifier
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) DSTU2: What is account tied to?
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... servicePeriod
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:activePeriod 0..1 Period DSTU2: Valid from..to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.activePeriod
... owner
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:owner 0..1 Reference(Resource) DSTU2: Who is responsible? additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Account 0..* Account(5.0.0) 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
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:currency 0..1 Coding DSTU2: Base currency in which balance is tracked (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.currency
Constraints: ext-1
.... extension:balance 0..1 Money DSTU2: How much is in account? (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.balance
Constraints: ext-1
.... extension:coveragePeriod 0..1 Period DSTU2: Transaction window (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.coveragePeriod
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Account number
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.identifier
Constraints: ext-1
.... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 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)
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.
... billingStatus Σ 0..1 CodeableConcept Tracks the lifecycle of the account through the billing process
Binding: AccountBillingStatus (example): Indicates whether the account is available to be used for billing purposes.
... type Σ 0..1 CodeableConcept E.g. patient, expense, depreciation
Binding: AccountTypes (example): The usage type of this account, permits categorization of accounts.
... name Σ 0..1 string Human-readable label
... subject Σ 0..* Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization) The entity that caused the expenses
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) DSTU2: What is account tied to?
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... servicePeriod Σ 0..1 Period Transaction window
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:activePeriod 0..1 Period DSTU2: Valid from..to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.activePeriod
Constraints: ext-1
.... start ΣC 0..1 dateTime Starting time with inclusive boundary
.... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
... 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... coverage Σ 1..1 Reference(Coverage) 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
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:owner 0..1 Reference(Resource) DSTU2: Who is responsible? additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... description Σ 0..1 markdown 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... 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
... diagnosis ΣC 0..* BackboneElement The list of diagnoses relevant to this account
Constraints: act-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence 0..1 positiveInt Ranking of the diagnosis (for each type)
.... condition ΣC 1..1 CodeableReference(Condition) The diagnosis relevant to the account
Binding: ConditionProblemDiagnosisCodes (example)
.... dateOfDiagnosis C 0..1 dateTime Date of the diagnosis (when coded diagnosis)
.... type 0..* CodeableConcept Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …)
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
.... onAdmission 0..1 boolean Diagnosis present on Admission
.... packageCode 0..* CodeableConcept Package Code specific for billing
Binding Description: (example): Local or Regional package codes, e.g. DRGs
... procedure ΣC 0..* BackboneElement The list of procedures relevant to this account
Constraints: act-2
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence 0..1 positiveInt Ranking of the procedure (for each type)
.... code ΣC 1..1 CodeableReference(Procedure) The procedure relevant to the account
Binding: ProcedureCodesSNOMEDCT (example)
.... dateOfService C 0..1 dateTime Date of the procedure (when coded procedure)
.... type 0..* CodeableConcept How this procedure value should be used in charging the account
Binding Description: (example): Usage for the specific procedure - e.g. billing
.... packageCode 0..* CodeableConcept Package Code specific for billing
Binding Description: (example): Local or Regional package codes, e.g. DRGs
.... device Σ 0..* Reference(Device) Any devices that were associated with the procedure
... relatedAccount 0..* BackboneElement Other associated accounts related to this account
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... relationship 0..1 CodeableConcept Relationship of the associated Account
Binding: AccountRelationship (example): Indicates the relationship between the accounts
.... account 1..1 Reference(Account) Reference to an associated Account
... currency 0..1 CodeableConcept The base or default currency
Binding: Currencies (required)
... balance 0..* BackboneElement Calculated account balance(s)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... aggregate 0..1 CodeableConcept Who is expected to pay this part of the balance
Binding: AccountAggregate (extensible): Indicates the balance was outstanding at the given age.
.... term 0..1 CodeableConcept current | 30 | 60 | 90 | 120
Binding: AccountBalanceTerm (extensible): Indicates the balance was outstanding at the given age.
.... estimate 0..1 boolean Estimated balance
.... amount 1..1 Money Calculated amount
... calculatedAt 0..1 instant Time the balance amount was calculated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Account.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
Account.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Account.language Base required All Languages 📍5.0.0 FHIR Std.
Account.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
Account.identifier.use Base required IdentifierUse 📍5.0.0 FHIR Std.
Account.identifier.type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Account.status Base required Account Status 📍5.0.0 FHIR Std.
Account.billingStatus Base example Example Account Billing Statuses 📍5.0.0 FHIR Std.
Account.type Base example Account Types 📍5.0.0 FHIR Std.
Account.subject.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Account.owner.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Account.diagnosis.condition Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
Account.diagnosis.type Base preferred Encounter Diagnosis Use 📍5.0.0 FHIR Std.
Account.diagnosis.packageCode Base example Not State Unknown
Account.procedure.code Base example Procedure Codes (SNOMED CT) 📍5.0.0 FHIR Std.
Account.procedure.type Base example Not State Unknown
Account.procedure.packageCode Base example Not State Unknown
Account.relatedAccount.​relationship Base example Account Relationship 📍5.0.0 FHIR Std.
Account.currency Base required Currencies 📍5.0.0 FHIR Std.
Account.balance.aggregate Base extensible Account Aggregate 📍5.0.0 FHIR Std.
Account.balance.term Base extensible Account Balance Term 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
act-1 error Account.diagnosis The dateOfDiagnosis is not valid when using a reference to a diagnosis condition.reference.empty().not() implies dateOfDiagnosis.empty()
act-2 error Account.procedure The dateOfService is not valid when using a reference to a procedure code.reference.empty().not() implies dateOfService.empty()
dom-2 error Account If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Account 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Account 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 Account If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Account A resource should have narrative for robust management text.`div`.exists()
ele-1 error Account.meta, Account.meta.extension, Account.meta.extension:meta, Account.meta.versionId, Account.meta.lastUpdated, Account.meta.source, Account.meta.profile, Account.meta.security, Account.meta.tag, Account.implicitRules, Account.language, Account.text, Account.text.extension, Account.text.extension:text, Account.text.status, Account.text.div, Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension, Account.identifier, Account.identifier.extension, Account.identifier.extension:identifier, Account.identifier.use, Account.identifier.type, Account.identifier.system, Account.identifier.value, Account.identifier.period, Account.identifier.assigner, Account.status, Account.billingStatus, Account.type, Account.name, Account.subject, Account.subject.extension, Account.subject.extension:subject, Account.subject.reference, Account.subject.type, Account.subject.identifier, Account.subject.display, Account.servicePeriod, Account.servicePeriod.extension, Account.servicePeriod.extension:activePeriod, Account.servicePeriod.start, Account.servicePeriod.end, Account.coverage, Account.coverage.extension, Account.coverage.modifierExtension, Account.coverage.coverage, Account.coverage.priority, Account.owner, Account.owner.extension, Account.owner.extension:owner, Account.owner.reference, Account.owner.type, Account.owner.identifier, Account.owner.display, Account.description, Account.guarantor, Account.guarantor.extension, Account.guarantor.modifierExtension, Account.guarantor.party, Account.guarantor.onHold, Account.guarantor.period, Account.diagnosis, Account.diagnosis.extension, Account.diagnosis.modifierExtension, Account.diagnosis.sequence, Account.diagnosis.condition, Account.diagnosis.dateOfDiagnosis, Account.diagnosis.type, Account.diagnosis.onAdmission, Account.diagnosis.packageCode, Account.procedure, Account.procedure.extension, Account.procedure.modifierExtension, Account.procedure.sequence, Account.procedure.code, Account.procedure.dateOfService, Account.procedure.type, Account.procedure.packageCode, Account.procedure.device, Account.relatedAccount, Account.relatedAccount.extension, Account.relatedAccount.modifierExtension, Account.relatedAccount.relationship, Account.relatedAccount.account, Account.currency, Account.balance, Account.balance.extension, Account.balance.modifierExtension, Account.balance.aggregate, Account.balance.term, Account.balance.estimate, Account.balance.amount, Account.calculatedAt All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Account.meta.extension, Account.meta.extension:meta, Account.text.extension, Account.text.extension:text, Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension, Account.identifier.extension, Account.identifier.extension:identifier, Account.subject.extension, Account.subject.extension:subject, Account.servicePeriod.extension, Account.servicePeriod.extension:activePeriod, Account.coverage.extension, Account.coverage.modifierExtension, Account.owner.extension, Account.owner.extension:owner, Account.guarantor.extension, Account.guarantor.modifierExtension, Account.diagnosis.extension, Account.diagnosis.modifierExtension, Account.procedure.extension, Account.procedure.modifierExtension, Account.relatedAccount.extension, Account.relatedAccount.modifierExtension, Account.balance.extension, Account.balance.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error Account.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Account.text.div The narrative SHALL have some non-whitespace content htmlChecks()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Account 0..* Account(5.0.0) Tracks balance, charges, for patient or cost center
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:currency 0..1 Coding DSTU2: Base currency in which balance is tracked (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.currency
Constraints: ext-1
.... extension:balance 0..1 Money DSTU2: How much is in account? (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.balance
Constraints: ext-1
.... extension:coveragePeriod 0..1 Period DSTU2: Transaction window (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.coveragePeriod
Constraints: ext-1
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Account.status Base required Account Status 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Account If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Account 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Account 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 Account If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Account A resource should have narrative for robust management text.`div`.exists()
ele-1 error Account.implicitRules, Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension, Account.status All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Account

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Account 0..* Account(5.0.0) Tracks balance, charges, for patient or cost center
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:currency 0..1 Coding DSTU2: Base currency in which balance is tracked (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.currency
.... extension:balance 0..1 Money DSTU2: How much is in account? (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.balance
.... extension:coveragePeriod 0..1 Period DSTU2: Transaction window (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.coveragePeriod
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.identifier
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 Reference(Resource) DSTU2: What is account tied to?
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... servicePeriod
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:activePeriod 0..1 Period DSTU2: Valid from..to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.activePeriod
... owner
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:owner 0..1 Reference(Resource) DSTU2: Who is responsible? additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Account 0..* Account(5.0.0) 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
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:currency 0..1 Coding DSTU2: Base currency in which balance is tracked (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.currency
Constraints: ext-1
.... extension:balance 0..1 Money DSTU2: How much is in account? (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.balance
Constraints: ext-1
.... extension:coveragePeriod 0..1 Period DSTU2: Transaction window (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.coveragePeriod
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Account number
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.identifier
Constraints: ext-1
.... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 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)
... status ?!Σ 1..1 code active | inactive | entered-in-error | on-hold | unknown
Binding: AccountStatus (required): Indicates whether the account is available to be used.
... billingStatus Σ 0..1 CodeableConcept Tracks the lifecycle of the account through the billing process
Binding: AccountBillingStatus (example): Indicates whether the account is available to be used for billing purposes.
... type Σ 0..1 CodeableConcept E.g. patient, expense, depreciation
Binding: AccountTypes (example): The usage type of this account, permits categorization of accounts.
... name Σ 0..1 string Human-readable label
... subject Σ 0..* Reference(Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization) The entity that caused the expenses
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:subject 0..1 Reference(Resource) DSTU2: What is account tied to?
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... servicePeriod Σ 0..1 Period Transaction window
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:activePeriod 0..1 Period DSTU2: Valid from..to additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Account.activePeriod
Constraints: ext-1
.... start ΣC 0..1 dateTime Starting time with inclusive boundary
.... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
... 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... coverage Σ 1..1 Reference(Coverage) 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
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:owner 0..1 Reference(Resource) DSTU2: Who is responsible? additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... description Σ 0..1 markdown 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
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... 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
... diagnosis ΣC 0..* BackboneElement The list of diagnoses relevant to this account
Constraints: act-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence 0..1 positiveInt Ranking of the diagnosis (for each type)
.... condition ΣC 1..1 CodeableReference(Condition) The diagnosis relevant to the account
Binding: ConditionProblemDiagnosisCodes (example)
.... dateOfDiagnosis C 0..1 dateTime Date of the diagnosis (when coded diagnosis)
.... type 0..* CodeableConcept Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …)
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
.... onAdmission 0..1 boolean Diagnosis present on Admission
.... packageCode 0..* CodeableConcept Package Code specific for billing
Binding Description: (example): Local or Regional package codes, e.g. DRGs
... procedure ΣC 0..* BackboneElement The list of procedures relevant to this account
Constraints: act-2
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence 0..1 positiveInt Ranking of the procedure (for each type)
.... code ΣC 1..1 CodeableReference(Procedure) The procedure relevant to the account
Binding: ProcedureCodesSNOMEDCT (example)
.... dateOfService C 0..1 dateTime Date of the procedure (when coded procedure)
.... type 0..* CodeableConcept How this procedure value should be used in charging the account
Binding Description: (example): Usage for the specific procedure - e.g. billing
.... packageCode 0..* CodeableConcept Package Code specific for billing
Binding Description: (example): Local or Regional package codes, e.g. DRGs
.... device Σ 0..* Reference(Device) Any devices that were associated with the procedure
... relatedAccount 0..* BackboneElement Other associated accounts related to this account
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... relationship 0..1 CodeableConcept Relationship of the associated Account
Binding: AccountRelationship (example): Indicates the relationship between the accounts
.... account 1..1 Reference(Account) Reference to an associated Account
... currency 0..1 CodeableConcept The base or default currency
Binding: Currencies (required)
... balance 0..* BackboneElement Calculated account balance(s)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... aggregate 0..1 CodeableConcept Who is expected to pay this part of the balance
Binding: AccountAggregate (extensible): Indicates the balance was outstanding at the given age.
.... term 0..1 CodeableConcept current | 30 | 60 | 90 | 120
Binding: AccountBalanceTerm (extensible): Indicates the balance was outstanding at the given age.
.... estimate 0..1 boolean Estimated balance
.... amount 1..1 Money Calculated amount
... calculatedAt 0..1 instant Time the balance amount was calculated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Account.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
Account.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Account.language Base required All Languages 📍5.0.0 FHIR Std.
Account.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
Account.identifier.use Base required IdentifierUse 📍5.0.0 FHIR Std.
Account.identifier.type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Account.status Base required Account Status 📍5.0.0 FHIR Std.
Account.billingStatus Base example Example Account Billing Statuses 📍5.0.0 FHIR Std.
Account.type Base example Account Types 📍5.0.0 FHIR Std.
Account.subject.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Account.owner.type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Account.diagnosis.condition Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
Account.diagnosis.type Base preferred Encounter Diagnosis Use 📍5.0.0 FHIR Std.
Account.diagnosis.packageCode Base example Not State Unknown
Account.procedure.code Base example Procedure Codes (SNOMED CT) 📍5.0.0 FHIR Std.
Account.procedure.type Base example Not State Unknown
Account.procedure.packageCode Base example Not State Unknown
Account.relatedAccount.​relationship Base example Account Relationship 📍5.0.0 FHIR Std.
Account.currency Base required Currencies 📍5.0.0 FHIR Std.
Account.balance.aggregate Base extensible Account Aggregate 📍5.0.0 FHIR Std.
Account.balance.term Base extensible Account Balance Term 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
act-1 error Account.diagnosis The dateOfDiagnosis is not valid when using a reference to a diagnosis condition.reference.empty().not() implies dateOfDiagnosis.empty()
act-2 error Account.procedure The dateOfService is not valid when using a reference to a procedure code.reference.empty().not() implies dateOfService.empty()
dom-2 error Account If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Account 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Account 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 Account If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Account A resource should have narrative for robust management text.`div`.exists()
ele-1 error Account.meta, Account.meta.extension, Account.meta.extension:meta, Account.meta.versionId, Account.meta.lastUpdated, Account.meta.source, Account.meta.profile, Account.meta.security, Account.meta.tag, Account.implicitRules, Account.language, Account.text, Account.text.extension, Account.text.extension:text, Account.text.status, Account.text.div, Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension, Account.identifier, Account.identifier.extension, Account.identifier.extension:identifier, Account.identifier.use, Account.identifier.type, Account.identifier.system, Account.identifier.value, Account.identifier.period, Account.identifier.assigner, Account.status, Account.billingStatus, Account.type, Account.name, Account.subject, Account.subject.extension, Account.subject.extension:subject, Account.subject.reference, Account.subject.type, Account.subject.identifier, Account.subject.display, Account.servicePeriod, Account.servicePeriod.extension, Account.servicePeriod.extension:activePeriod, Account.servicePeriod.start, Account.servicePeriod.end, Account.coverage, Account.coverage.extension, Account.coverage.modifierExtension, Account.coverage.coverage, Account.coverage.priority, Account.owner, Account.owner.extension, Account.owner.extension:owner, Account.owner.reference, Account.owner.type, Account.owner.identifier, Account.owner.display, Account.description, Account.guarantor, Account.guarantor.extension, Account.guarantor.modifierExtension, Account.guarantor.party, Account.guarantor.onHold, Account.guarantor.period, Account.diagnosis, Account.diagnosis.extension, Account.diagnosis.modifierExtension, Account.diagnosis.sequence, Account.diagnosis.condition, Account.diagnosis.dateOfDiagnosis, Account.diagnosis.type, Account.diagnosis.onAdmission, Account.diagnosis.packageCode, Account.procedure, Account.procedure.extension, Account.procedure.modifierExtension, Account.procedure.sequence, Account.procedure.code, Account.procedure.dateOfService, Account.procedure.type, Account.procedure.packageCode, Account.procedure.device, Account.relatedAccount, Account.relatedAccount.extension, Account.relatedAccount.modifierExtension, Account.relatedAccount.relationship, Account.relatedAccount.account, Account.currency, Account.balance, Account.balance.extension, Account.balance.modifierExtension, Account.balance.aggregate, Account.balance.term, Account.balance.estimate, Account.balance.amount, Account.calculatedAt All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Account.meta.extension, Account.meta.extension:meta, Account.text.extension, Account.text.extension:text, Account.extension, Account.extension:currency, Account.extension:balance, Account.extension:coveragePeriod, Account.modifierExtension, Account.identifier.extension, Account.identifier.extension:identifier, Account.subject.extension, Account.subject.extension:subject, Account.servicePeriod.extension, Account.servicePeriod.extension:activePeriod, Account.coverage.extension, Account.coverage.modifierExtension, Account.owner.extension, Account.owner.extension:owner, Account.guarantor.extension, Account.guarantor.modifierExtension, Account.diagnosis.extension, Account.diagnosis.modifierExtension, Account.procedure.extension, Account.procedure.modifierExtension, Account.relatedAccount.extension, Account.relatedAccount.modifierExtension, Account.balance.extension, Account.balance.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error Account.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Account.text.div The narrative SHALL have some non-whitespace content htmlChecks()

 

Other representations of profile: CSV, Excel, Schematron