國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG)
0.1.0 - trial-use

Publication Build: This will be filled in by the publication tooling

## Resource Profile: ChargeItem 醫令清單段

Official URL: https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/ChargeItemCMDorder | Version: 0.1.0
Active as of 2024-09-01 | Computable Name: ChargeItemCMDorder

用於描述計價相關資訊之醫令清單段，門診醫療申報檔(TOTFA)、住院醫療申報檔案(TOTFB)與檢驗檢查資料檔每月格式(LABM)需視資料內容決定是否需要使用此Profile

Usage:

- Use this Resource Profile: Bundle LABD, Bundle LABM, Bundle TOTFA and Bundle TOTFB
- Refer to this Resource Profile: Composition LABD, Composition LABM, Composition TOTFA and Composition TOTFB
- Examples for this Resource Profile: ChargeItem/cha-TOTFA-Order and ChargeItem/cha-TOTFBLABM-Order

### Formal Views of Profile Content

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

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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
ChargeItem |  | 0..* | ChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 1..1 | Identifier | Business Identifier for item ele-1: All FHIR elements must have a @value or children
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children
system | S Σ | 0..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17] ele-1: All FHIR elements must have a @value or children Example General: 123456
status | ?!S Σ | 1..1 | code | planned | billable | not-billable | aborted | billed | entered-in-error | unknown Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem. ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | CodeableConcept | 醫令類別 Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes. ele-1: All FHIR elements must have a @value or children
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: 醫令類別值集 (required): 醫令類別；應填入所綁定值集中的其中一個代碼。 ele-1: All FHIR elements must have a @value or children
system | S Σ | 1..1 | uri | Identity of the terminology system ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | code | 醫令類別。[TOTFA.p3/TOTFB.p2] ele-1: All FHIR elements must have a @value or children
text | S Σ | 0..1 | string | 醫令類別。[TOTFA.p3/TOTFB.p2] ele-1: All FHIR elements must have a @value or children
subject | S Σ | 1..1 | Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) | Individual service was done for/to ele-1: All FHIR elements must have a @value or children
reference | S Σ C | 1..1 | string | 患者Resource Link ele-1: All FHIR elements must have a @value or children
Slices for occurrence[x] | S Σ | 0..1 |  | When the charged service was applied Slice: Unordered, Open by type:$this ele-1: All FHIR elements must have a @value or children
occurrenceDateTime |  |  | dateTime |
occurrencePeriod |  |  | Period |
occurrenceTiming |  |  | Timing |
occurrence[x]:occurrencePeriod | S Σ | 0..1 | Period | 執行時間起/迄 ele-1: All FHIR elements must have a @value or children
start | S Σ C | 1..1 | dateTime | 執行時間-起。[TOTFA.p14/TOTFB.p14] ele-1: All FHIR elements must have a @value or children
end | S Σ C | 0..1 | dateTime | 執行時間-迄。[TOTFA.p15/TOTFB.p15] ele-1: All FHIR elements must have a @value or children
bodysite | S Σ | 0..* | CodeableConcept | 診療之部位 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children
coding | S Σ | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children
system | S Σ | 1..1 | uri | Identity of the terminology system ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | code | 診療之部位代碼。[TOTFA.p6] ele-1: All FHIR elements must have a @value or children
text | S Σ | 0..1 | string | 診療之部位。[TOTFA.p6] ele-1: All FHIR elements must have a @value or children
reason | S | 0..* | CodeableConcept | 醫令代碼 Binding: ICD-10Codes (example): Example binding for reason. ele-1: All FHIR elements must have a @value or children
coding | S Σ | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children
system | S Σ | 1..1 | uri | Identity of the terminology system ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | code | 醫令代碼。[TOTFB.p3//LABM.h18] ele-1: All FHIR elements must have a @value or children
text | S Σ | 0..1 | string | 醫令代碼。[TOTFB.p3/LABM.h18] ele-1: All FHIR elements must have a @value or children
note | S | 0..* | Annotation | Comments made about the ChargeItem ele-1: All FHIR elements must have a @value or children
text | S Σ | 1..1 | markdown | 會診科別、總量或其他補充說明。[TOTFA.p10/TOTFB.p8/TOTFB.p16] ele-1: All FHIR elements must have a @value or children
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
ChargeItem.identifier.use | required | IdentifierUse `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` from the FHIR Standard
ChargeItem.status | required | ChargeItemStatus `http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1` from the FHIR Standard
ChargeItem.code | example | ChargeItemCode `http://hl7.org/fhir/ValueSet/chargeitem-billingcodes` from the FHIR Standard
ChargeItem.code.coding | required | OrderType (a valid code from 醫令類別) `https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType` from this IG
ChargeItem.bodysite | example | SNOMEDCTBodyStructures `http://hl7.org/fhir/ValueSet/body-site` from the FHIR Standard
ChargeItem.reason | example | ICD-10Codes `http://hl7.org/fhir/ValueSet/icd-10` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | ChargeItem | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | ChargeItem | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | ChargeItem | 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 | ChargeItem | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | ChargeItem | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |

This structure is derived from ChargeItem

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
ChargeItem |  | 0..* | ChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products
identifier | S | 1..1 | Identifier | Business Identifier for item
system | S | 0..1 | uri | The namespace for the identifier value
value | S | 1..1 | string | 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17]
status | S | 1..1 | code | planned | billable | not-billable | aborted | billed | entered-in-error | unknown
code | S | 1..1 | CodeableConcept | 醫令類別
coding | S | 0..* | Coding | Code defined by a terminology system Binding: 醫令類別值集 (required): 醫令類別；應填入所綁定值集中的其中一個代碼。
system | S | 1..1 | uri | Identity of the terminology system
code | S | 1..1 | code | 醫令類別。[TOTFA.p3/TOTFB.p2]
text | S | 0..1 | string | 醫令類別。[TOTFA.p3/TOTFB.p2]
subject | S | 1..1 | Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) | Individual service was done for/to
reference | S | 1..1 | string | 患者Resource Link
Slices for occurrence[x] | S | 0..1 | dateTime, Period, Timing | When the charged service was applied Slice: Unordered, Open by type:$this
occurrence[x]:occurrencePeriod | S | 0..1 | Period | 執行時間起/迄
start | S | 1..1 | dateTime | 執行時間-起。[TOTFA.p14/TOTFB.p14]
end | S | 0..1 | dateTime | 執行時間-迄。[TOTFA.p15/TOTFB.p15]
bodysite | S | 0..* | CodeableConcept | 診療之部位
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 1..1 | uri | Identity of the terminology system
code | S | 1..1 | code | 診療之部位代碼。[TOTFA.p6]
text | S | 0..1 | string | 診療之部位。[TOTFA.p6]
reason | S | 0..* | CodeableConcept | 醫令代碼
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 1..1 | uri | Identity of the terminology system
code | S | 1..1 | code | 醫令代碼。[TOTFB.p3//LABM.h18]
text | S | 0..1 | string | 醫令代碼。[TOTFB.p3/LABM.h18]
note | S | 0..* | Annotation | Comments made about the ChargeItem
text | S | 1..1 | markdown | 會診科別、總量或其他補充說明。[TOTFA.p10/TOTFB.p8/TOTFB.p16]
Documentation for this format

#### Terminology Bindings (Differential)

Path | Conformance | ValueSet | URI
ChargeItem.code.coding | required | OrderType (a valid code from 醫令類別) `https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType` from this IG

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
ChargeItem |  | 0..* | ChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products
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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Business Identifier for item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17] 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)
definitionUri |  | 0..* | uri | Defining information about the code of this charge item
definitionCanonical |  | 0..* | canonical(ChargeItemDefinition) | Resource defining the code of this ChargeItem
status | ?!S Σ | 1..1 | code | planned | billable | not-billable | aborted | billed | entered-in-error | unknown Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem.
partOf |  | 0..* | Reference(ChargeItem) | Part of referenced ChargeItem
code | S Σ | 1..1 | CodeableConcept | 醫令類別 Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes.
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 | S Σ | 0..* | Coding | Code defined by a terminology system Binding: 醫令類別值集 (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
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | 醫令類別。[TOTFA.p3/TOTFB.p2]
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | 醫令類別。[TOTFA.p3/TOTFB.p2]
subject | S Σ | 1..1 | Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) | Individual service was done for/to
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 患者Resource Link
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with event
Slices for occurrence[x] | S Σ | 0..1 |  | When the charged service was applied Slice: Unordered, Open by type:$this
occurrenceDateTime |  |  | dateTime |
occurrencePeriod |  |  | Period |
occurrenceTiming |  |  | Timing |
occurrence[x]:occurrencePeriod | S Σ | 0..1 | Period | 執行時間起/迄
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
start | S Σ C | 1..1 | dateTime | 執行時間-起。[TOTFA.p14/TOTFB.p14]
end | S Σ C | 0..1 | dateTime | 執行時間-迄。[TOTFA.p15/TOTFB.p15]
performer |  | 0..* | BackboneElement | Who performed charged service
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
function |  | 0..1 | CodeableConcept | What type of performance was done Binding: ProcedurePerformerRoleCodes (example): Codes describing the types of functional roles performers can take on when performing events.
actor |  | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Individual who was performing
performingOrganization |  | 0..1 | Reference(Organization) | Organization providing the charged service
requestingOrganization |  | 0..1 | Reference(Organization) | Organization requesting the charged service
costCenter |  | 0..1 | Reference(Organization) | Organization that has ownership of the (potential, future) revenue
quantity | Σ | 0..1 | Quantity | Quantity of which the charge item has been serviced
bodysite | S Σ | 0..* | CodeableConcept | 診療之部位 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
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 | S Σ | 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 | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | 診療之部位代碼。[TOTFA.p6]
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | 診療之部位。[TOTFA.p6]
factorOverride |  | 0..1 | decimal | Factor overriding the associated rules
priceOverride |  | 0..1 | Money | Price overriding the associated rules
overrideReason |  | 0..1 | string | Reason for overriding the list price/factor
enterer | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Individual who was entering
enteredDate | Σ | 0..1 | dateTime | Date the charge item was entered
reason | S | 0..* | CodeableConcept | 醫令代碼 Binding: ICD-10Codes (example): Example binding for reason.
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 | S Σ | 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 | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | 醫令代碼。[TOTFB.p3//LABM.h18]
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | 醫令代碼。[TOTFB.p3/LABM.h18]
service |  | 0..* | Reference(DiagnosticReport | ImagingStudy | Immunization | MedicationAdministration | MedicationDispense | Observation | Procedure | SupplyDelivery) | Which rendered service is being charged?
product[x] |  | 0..1 |  | Product charged Binding: FHIRDeviceTypes (example): Example binding for product type.
productReference |  |  | Reference(Device | Medication | Substance) |
productCodeableConcept |  |  | CodeableConcept |
account | Σ | 0..* | Reference(Account) | Account to place this charge
note | S | 0..* | Annotation | Comments made about the ChargeItem
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
author[x] | Σ | 0..1 |  | Individual responsible for the annotation
authorReference |  |  | Reference(Practitioner | Patient | RelatedPerson | Organization) |
authorString |  |  | string |
time | Σ | 0..1 | dateTime | When the annotation was made
text | S Σ | 1..1 | markdown | 會診科別、總量或其他補充說明。[TOTFA.p10/TOTFB.p8/TOTFB.p16]
supportingInformation |  | 0..* | Reference(Resource) | Further information supporting this charge
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
ChargeItem.language | preferred | CommonLanguages `http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Additional Bindings | Purpose
AllLanguages | Max Binding
ChargeItem.identifier.use | required | IdentifierUse `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` from the FHIR Standard
ChargeItem.identifier.type | extensible | Identifier Type Codes `http://hl7.org/fhir/ValueSet/identifier-type` from the FHIR Standard
ChargeItem.status | required | ChargeItemStatus `http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1` from the FHIR Standard
ChargeItem.code | example | ChargeItemCode `http://hl7.org/fhir/ValueSet/chargeitem-billingcodes` from the FHIR Standard
ChargeItem.code.coding | required | OrderType (a valid code from 醫令類別) `https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType` from this IG
ChargeItem.subject.type | extensible | ResourceType `http://hl7.org/fhir/ValueSet/resource-types` from the FHIR Standard
ChargeItem.performer.function | example | ProcedurePerformerRoleCodes `http://hl7.org/fhir/ValueSet/performer-role` from the FHIR Standard
ChargeItem.bodysite | example | SNOMEDCTBodyStructures `http://hl7.org/fhir/ValueSet/body-site` from the FHIR Standard
ChargeItem.reason | example | ICD-10Codes `http://hl7.org/fhir/ValueSet/icd-10` from the FHIR Standard
ChargeItem.product[x] | example | FHIRDeviceTypes `http://hl7.org/fhir/ValueSet/device-kind` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | ChargeItem | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | ChargeItem | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | ChargeItem | 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 | ChargeItem | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | ChargeItem | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |

This structure is derived from ChargeItem

Summary

Mandatory: 3 elements(7 nested mandatory elements)
Must-Support: 27 elements

Structures

This structure refers to these other structures:

- Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料 (https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/PatientCDM)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of ChargeItem.occurrence[x]

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
ChargeItem |  | 0..* | ChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 1..1 | Identifier | Business Identifier for item ele-1: All FHIR elements must have a @value or children
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children
system | S Σ | 0..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17] ele-1: All FHIR elements must have a @value or children Example General: 123456
status | ?!S Σ | 1..1 | code | planned | billable | not-billable | aborted | billed | entered-in-error | unknown Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem. ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | CodeableConcept | 醫令類別 Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes. ele-1: All FHIR elements must have a @value or children
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: 醫令類別值集 (required): 醫令類別；應填入所綁定值集中的其中一個代碼。 ele-1: All FHIR elements must have a @value or children
system | S Σ | 1..1 | uri | Identity of the terminology system ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | code | 醫令類別。[TOTFA.p3/TOTFB.p2] ele-1: All FHIR elements must have a @value or children
text | S Σ | 0..1 | string | 醫令類別。[TOTFA.p3/TOTFB.p2] ele-1: All FHIR elements must have a @value or children
subject | S Σ | 1..1 | Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) | Individual service was done for/to ele-1: All FHIR elements must have a @value or children
reference | S Σ C | 1..1 | string | 患者Resource Link ele-1: All FHIR elements must have a @value or children
Slices for occurrence[x] | S Σ | 0..1 |  | When the charged service was applied Slice: Unordered, Open by type:$this ele-1: All FHIR elements must have a @value or children
occurrenceDateTime |  |  | dateTime |
occurrencePeriod |  |  | Period |
occurrenceTiming |  |  | Timing |
occurrence[x]:occurrencePeriod | S Σ | 0..1 | Period | 執行時間起/迄 ele-1: All FHIR elements must have a @value or children
start | S Σ C | 1..1 | dateTime | 執行時間-起。[TOTFA.p14/TOTFB.p14] ele-1: All FHIR elements must have a @value or children
end | S Σ C | 0..1 | dateTime | 執行時間-迄。[TOTFA.p15/TOTFB.p15] ele-1: All FHIR elements must have a @value or children
bodysite | S Σ | 0..* | CodeableConcept | 診療之部位 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children
coding | S Σ | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children
system | S Σ | 1..1 | uri | Identity of the terminology system ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | code | 診療之部位代碼。[TOTFA.p6] ele-1: All FHIR elements must have a @value or children
text | S Σ | 0..1 | string | 診療之部位。[TOTFA.p6] ele-1: All FHIR elements must have a @value or children
reason | S | 0..* | CodeableConcept | 醫令代碼 Binding: ICD-10Codes (example): Example binding for reason. ele-1: All FHIR elements must have a @value or children
coding | S Σ | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children
system | S Σ | 1..1 | uri | Identity of the terminology system ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | code | 醫令代碼。[TOTFB.p3//LABM.h18] ele-1: All FHIR elements must have a @value or children
text | S Σ | 0..1 | string | 醫令代碼。[TOTFB.p3/LABM.h18] ele-1: All FHIR elements must have a @value or children
note | S | 0..* | Annotation | Comments made about the ChargeItem ele-1: All FHIR elements must have a @value or children
text | S Σ | 1..1 | markdown | 會診科別、總量或其他補充說明。[TOTFA.p10/TOTFB.p8/TOTFB.p16] ele-1: All FHIR elements must have a @value or children
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
ChargeItem.identifier.use | required | IdentifierUse `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` from the FHIR Standard
ChargeItem.status | required | ChargeItemStatus `http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1` from the FHIR Standard
ChargeItem.code | example | ChargeItemCode `http://hl7.org/fhir/ValueSet/chargeitem-billingcodes` from the FHIR Standard
ChargeItem.code.coding | required | OrderType (a valid code from 醫令類別) `https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType` from this IG
ChargeItem.bodysite | example | SNOMEDCTBodyStructures `http://hl7.org/fhir/ValueSet/body-site` from the FHIR Standard
ChargeItem.reason | example | ICD-10Codes `http://hl7.org/fhir/ValueSet/icd-10` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | ChargeItem | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | ChargeItem | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | ChargeItem | 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 | ChargeItem | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | ChargeItem | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |

Differential View

This structure is derived from ChargeItem

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
ChargeItem |  | 0..* | ChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products
identifier | S | 1..1 | Identifier | Business Identifier for item
system | S | 0..1 | uri | The namespace for the identifier value
value | S | 1..1 | string | 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17]
status | S | 1..1 | code | planned | billable | not-billable | aborted | billed | entered-in-error | unknown
code | S | 1..1 | CodeableConcept | 醫令類別
coding | S | 0..* | Coding | Code defined by a terminology system Binding: 醫令類別值集 (required): 醫令類別；應填入所綁定值集中的其中一個代碼。
system | S | 1..1 | uri | Identity of the terminology system
code | S | 1..1 | code | 醫令類別。[TOTFA.p3/TOTFB.p2]
text | S | 0..1 | string | 醫令類別。[TOTFA.p3/TOTFB.p2]
subject | S | 1..1 | Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) | Individual service was done for/to
reference | S | 1..1 | string | 患者Resource Link
Slices for occurrence[x] | S | 0..1 | dateTime, Period, Timing | When the charged service was applied Slice: Unordered, Open by type:$this
occurrence[x]:occurrencePeriod | S | 0..1 | Period | 執行時間起/迄
start | S | 1..1 | dateTime | 執行時間-起。[TOTFA.p14/TOTFB.p14]
end | S | 0..1 | dateTime | 執行時間-迄。[TOTFA.p15/TOTFB.p15]
bodysite | S | 0..* | CodeableConcept | 診療之部位
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 1..1 | uri | Identity of the terminology system
code | S | 1..1 | code | 診療之部位代碼。[TOTFA.p6]
text | S | 0..1 | string | 診療之部位。[TOTFA.p6]
reason | S | 0..* | CodeableConcept | 醫令代碼
coding | S | 0..* | Coding | Code defined by a terminology system
system | S | 1..1 | uri | Identity of the terminology system
code | S | 1..1 | code | 醫令代碼。[TOTFB.p3//LABM.h18]
text | S | 0..1 | string | 醫令代碼。[TOTFB.p3/LABM.h18]
note | S | 0..* | Annotation | Comments made about the ChargeItem
text | S | 1..1 | markdown | 會診科別、總量或其他補充說明。[TOTFA.p10/TOTFB.p8/TOTFB.p16]
Documentation for this format

#### Terminology Bindings (Differential)

Path | Conformance | ValueSet | URI
ChargeItem.code.coding | required | OrderType (a valid code from 醫令類別) `https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType` from this IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
ChargeItem |  | 0..* | ChargeItem | Item containing charge code(s) associated with the provision of healthcare provider products
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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Business Identifier for item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17] 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)
definitionUri |  | 0..* | uri | Defining information about the code of this charge item
definitionCanonical |  | 0..* | canonical(ChargeItemDefinition) | Resource defining the code of this ChargeItem
status | ?!S Σ | 1..1 | code | planned | billable | not-billable | aborted | billed | entered-in-error | unknown Binding: ChargeItemStatus (required): Codes identifying the lifecycle stage of a ChargeItem.
partOf |  | 0..* | Reference(ChargeItem) | Part of referenced ChargeItem
code | S Σ | 1..1 | CodeableConcept | 醫令類別 Binding: ChargeItemCode (example): Example set of codes that can be used for billing purposes.
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 | S Σ | 0..* | Coding | Code defined by a terminology system Binding: 醫令類別值集 (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
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | 醫令類別。[TOTFA.p3/TOTFB.p2]
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | 醫令類別。[TOTFA.p3/TOTFB.p2]
subject | S Σ | 1..1 | Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) | Individual service was done for/to
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 患者Resource Link
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with event
Slices for occurrence[x] | S Σ | 0..1 |  | When the charged service was applied Slice: Unordered, Open by type:$this
occurrenceDateTime |  |  | dateTime |
occurrencePeriod |  |  | Period |
occurrenceTiming |  |  | Timing |
occurrence[x]:occurrencePeriod | S Σ | 0..1 | Period | 執行時間起/迄
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
start | S Σ C | 1..1 | dateTime | 執行時間-起。[TOTFA.p14/TOTFB.p14]
end | S Σ C | 0..1 | dateTime | 執行時間-迄。[TOTFA.p15/TOTFB.p15]
performer |  | 0..* | BackboneElement | Who performed charged service
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
function |  | 0..1 | CodeableConcept | What type of performance was done Binding: ProcedurePerformerRoleCodes (example): Codes describing the types of functional roles performers can take on when performing events.
actor |  | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Individual who was performing
performingOrganization |  | 0..1 | Reference(Organization) | Organization providing the charged service
requestingOrganization |  | 0..1 | Reference(Organization) | Organization requesting the charged service
costCenter |  | 0..1 | Reference(Organization) | Organization that has ownership of the (potential, future) revenue
quantity | Σ | 0..1 | Quantity | Quantity of which the charge item has been serviced
bodysite | S Σ | 0..* | CodeableConcept | 診療之部位 Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
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 | S Σ | 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 | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | 診療之部位代碼。[TOTFA.p6]
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | 診療之部位。[TOTFA.p6]
factorOverride |  | 0..1 | decimal | Factor overriding the associated rules
priceOverride |  | 0..1 | Money | Price overriding the associated rules
overrideReason |  | 0..1 | string | Reason for overriding the list price/factor
enterer | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Individual who was entering
enteredDate | Σ | 0..1 | dateTime | Date the charge item was entered
reason | S | 0..* | CodeableConcept | 醫令代碼 Binding: ICD-10Codes (example): Example binding for reason.
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 | S Σ | 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 | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | 醫令代碼。[TOTFB.p3//LABM.h18]
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | 醫令代碼。[TOTFB.p3/LABM.h18]
service |  | 0..* | Reference(DiagnosticReport | ImagingStudy | Immunization | MedicationAdministration | MedicationDispense | Observation | Procedure | SupplyDelivery) | Which rendered service is being charged?
product[x] |  | 0..1 |  | Product charged Binding: FHIRDeviceTypes (example): Example binding for product type.
productReference |  |  | Reference(Device | Medication | Substance) |
productCodeableConcept |  |  | CodeableConcept |
account | Σ | 0..* | Reference(Account) | Account to place this charge
note | S | 0..* | Annotation | Comments made about the ChargeItem
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
author[x] | Σ | 0..1 |  | Individual responsible for the annotation
authorReference |  |  | Reference(Practitioner | Patient | RelatedPerson | Organization) |
authorString |  |  | string |
time | Σ | 0..1 | dateTime | When the annotation was made
text | S Σ | 1..1 | markdown | 會診科別、總量或其他補充說明。[TOTFA.p10/TOTFB.p8/TOTFB.p16]
supportingInformation |  | 0..* | Reference(Resource) | Further information supporting this charge
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
ChargeItem.language | preferred | CommonLanguages `http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Additional Bindings | Purpose
AllLanguages | Max Binding
ChargeItem.identifier.use | required | IdentifierUse `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` from the FHIR Standard
ChargeItem.identifier.type | extensible | Identifier Type Codes `http://hl7.org/fhir/ValueSet/identifier-type` from the FHIR Standard
ChargeItem.status | required | ChargeItemStatus `http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1` from the FHIR Standard
ChargeItem.code | example | ChargeItemCode `http://hl7.org/fhir/ValueSet/chargeitem-billingcodes` from the FHIR Standard
ChargeItem.code.coding | required | OrderType (a valid code from 醫令類別) `https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType` from this IG
ChargeItem.subject.type | extensible | ResourceType `http://hl7.org/fhir/ValueSet/resource-types` from the FHIR Standard
ChargeItem.performer.function | example | ProcedurePerformerRoleCodes `http://hl7.org/fhir/ValueSet/performer-role` from the FHIR Standard
ChargeItem.bodysite | example | SNOMEDCTBodyStructures `http://hl7.org/fhir/ValueSet/body-site` from the FHIR Standard
ChargeItem.reason | example | ICD-10Codes `http://hl7.org/fhir/ValueSet/icd-10` from the FHIR Standard
ChargeItem.product[x] | example | FHIRDeviceTypes `http://hl7.org/fhir/ValueSet/device-kind` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | ChargeItem | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | ChargeItem | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | ChargeItem | 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 | ChargeItem | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | ChargeItem | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |

This structure is derived from ChargeItem

Summary

Mandatory: 3 elements(7 nested mandatory elements)
Must-Support: 27 elements

Structures

This structure refers to these other structures:

- Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料 (https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/PatientCDM)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of ChargeItem.occurrence[x]

Other representations of profile: CSV, Excel, Schematron