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

This page is part of the 國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG) (v0.1.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

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:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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
... 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ChargeItem.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ChargeItem.statusrequiredChargeItemStatus
http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1
from the FHIR Standard
ChargeItem.codeexampleChargeItemCode
http://hl7.org/fhir/ValueSet/chargeitem-billingcodes
from the FHIR Standard
ChargeItem.code.codingrequiredOrderType (a valid code from 醫令類別)
https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType
from this IG
ChargeItem.bodysiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
ChargeItem.reasonexampleICD-10Codes
http://hl7.org/fhir/ValueSet/icd-10
from the FHIR Standard

Constraints

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

This structure is derived from ChargeItem

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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]
.... 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]

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
ChargeItem.code.codingrequiredOrderType (a valid code from 醫令類別)
https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. 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 BindingsPurpose
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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ChargeItem.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
ChargeItem.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ChargeItem.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
ChargeItem.statusrequiredChargeItemStatus
http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1
from the FHIR Standard
ChargeItem.codeexampleChargeItemCode
http://hl7.org/fhir/ValueSet/chargeitem-billingcodes
from the FHIR Standard
ChargeItem.code.codingrequiredOrderType (a valid code from 醫令類別)
https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType
from this IG
ChargeItem.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
ChargeItem.performer.functionexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
ChargeItem.bodysiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
ChargeItem.reasonexampleICD-10Codes
http://hl7.org/fhir/ValueSet/icd-10
from the FHIR Standard
ChargeItem.product[x]exampleFHIRDeviceTypes
http://hl7.org/fhir/ValueSet/device-kind
from the FHIR Standard

Constraints

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

This structure is derived from ChargeItem

Summary

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

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

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

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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
... 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ChargeItem.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ChargeItem.statusrequiredChargeItemStatus
http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1
from the FHIR Standard
ChargeItem.codeexampleChargeItemCode
http://hl7.org/fhir/ValueSet/chargeitem-billingcodes
from the FHIR Standard
ChargeItem.code.codingrequiredOrderType (a valid code from 醫令類別)
https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType
from this IG
ChargeItem.bodysiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
ChargeItem.reasonexampleICD-10Codes
http://hl7.org/fhir/ValueSet/icd-10
from the FHIR Standard

Constraints

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

Differential View

This structure is derived from ChargeItem

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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]
.... 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]

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
ChargeItem.code.codingrequiredOrderType (a valid code from 醫令類別)
https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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 BindingsPurpose
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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ChargeItem.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
ChargeItem.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ChargeItem.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
ChargeItem.statusrequiredChargeItemStatus
http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1
from the FHIR Standard
ChargeItem.codeexampleChargeItemCode
http://hl7.org/fhir/ValueSet/chargeitem-billingcodes
from the FHIR Standard
ChargeItem.code.codingrequiredOrderType (a valid code from 醫令類別)
https://www.ghd.tw/cdm-fhir/fhir/ValueSet/OrderType
from this IG
ChargeItem.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
ChargeItem.performer.functionexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
ChargeItem.bodysiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
ChargeItem.reasonexampleICD-10Codes
http://hl7.org/fhir/ValueSet/icd-10
from the FHIR Standard
ChargeItem.product[x]exampleFHIRDeviceTypes
http://hl7.org/fhir/ValueSet/device-kind
from the FHIR Standard

Constraints

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

This structure is derived from ChargeItem

Summary

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

Structures

This structure refers to these other structures:

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