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

This page is part of the 國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG) (v1.0.0: Release) 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/StructureDefinition/ChargeItemCMDorder Version: 1.0.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-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
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-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... 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 ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣN 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ΣN 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ΣN 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ΣCN 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
ref-1: SHALL have a contained resource if a local reference is provided
.... reference SΣC 1..1 string 患者Resource Link
ele-1: All FHIR elements must have a @value or children
... Slices for occurrence[x] SΣN 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ΣN 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ΣN 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ΣN 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 SN 0..* CodeableConcept 醫令代碼
Binding: ICD-10Codes (example): Example binding for reason.


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 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 SN 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/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()
ref-1errorChargeItem.subjectSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ChargeItem

NameFlagsCard.TypeDescription & Constraintsdoco
.. ChargeItem ChargeItem
... identifier S 1..1
.... system S
.... value S 1.. 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17]
... status S
... code S 醫令類別
.... coding S Binding: 醫令類別值集 (required): 醫令類別;應填入所綁定值集中的其中一個代碼。

..... system S 1..
..... code S 1.. 醫令類別。[TOTFA.p3/TOTFB.p2]
.... text S 醫令類別。[TOTFA.p3/TOTFB.p2]
.... reference S 1.. 患者Resource Link
... Slices for occurrence[x] S Slice: Unordered, Open by type:$this
.... occurrence[x]:occurrencePeriod S Period 執行時間起/迄
..... start S 1.. 執行時間-起。[TOTFA.p14/TOTFB.p14]
..... end S 執行時間-迄。[TOTFA.p15/TOTFB.p15]
... bodysite S 診療之部位
.... coding S
..... system S 1..
..... code S 1.. 診療之部位代碼。[TOTFA.p6]
.... text S 診療之部位。[TOTFA.p6]
... reason S 醫令代碼
.... coding S
..... system S 1..
..... code S 1.. 醫令代碼。[TOTFB.p3//LABM.h18]
.... text S 醫令代碼。[TOTFB.p3/LABM.h18]
... note S
.... text S 會診科別、總量或其他補充說明。[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/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 string Logical id of this artifact
... meta ΣN 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 N 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier SΣN 1..1 Identifier Business Identifier for item
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 ΣN 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 ΣCN 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
.... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
... 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 CN 0..* Reference(ChargeItem) Part of referenced ChargeItem
ref-1: SHALL have a contained resource if a local reference is provided
... code SΣN 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣN 0..* Coding Code defined by a terminology system
Binding: 醫令類別值集 (required): 醫令類別;應填入所綁定值集中的其中一個代碼。


..... id 0..1 string Unique id for inter-element referencing
..... extension N 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ΣCN 1..1 Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) Individual service was done for/to
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 ΣN 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context ΣCN 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with event
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for occurrence[x] SΣN 0..1 When the charged service was applied
Slice: Unordered, Open by type:$this
.... occurrenceDateTime dateTime
.... occurrencePeriod Period
.... occurrenceTiming Timing
.... occurrence[x]:occurrencePeriod SΣN 0..1 Period 執行時間起/迄
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 N 0..* BackboneElement Who performed charged service
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function N 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 CN 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) Individual who was performing
ref-1: SHALL have a contained resource if a local reference is provided
... performingOrganization CN 0..1 Reference(Organization) Organization providing the charged service
ref-1: SHALL have a contained resource if a local reference is provided
... requestingOrganization CN 0..1 Reference(Organization) Organization requesting the charged service
ref-1: SHALL have a contained resource if a local reference is provided
... costCenter CN 0..1 Reference(Organization) Organization that has ownership of the (potential, future) revenue
ref-1: SHALL have a contained resource if a local reference is provided
... quantity ΣCN 0..1 Quantity Quantity of which the charge item has been serviced
qty-3: If a code for the unit is present, the system SHALL also be present
... bodysite SΣN 0..* CodeableConcept 診療之部位
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣN 0..* Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 N 0..1 Money Price overriding the associated rules
... overrideReason 0..1 string Reason for overriding the list price/factor
... enterer ΣCN 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Individual who was entering
ref-1: SHALL have a contained resource if a local reference is provided
... enteredDate Σ 0..1 dateTime Date the charge item was entered
... reason SN 0..* CodeableConcept 醫令代碼
Binding: ICD-10Codes (example): Example binding for reason.


.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣN 0..* Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 CN 0..* Reference(DiagnosticReport | ImagingStudy | Immunization | MedicationAdministration | MedicationDispense | Observation | Procedure | SupplyDelivery) Which rendered service is being charged?
ref-1: SHALL have a contained resource if a local reference is provided
... product[x] N 0..1 Product charged
Binding: FHIRDeviceTypes (example): Example binding for product type.

.... productReference Reference(Device | Medication | Substance)
.... productCodeableConcept CodeableConcept
... account ΣCN 0..* Reference(Account) Account to place this charge
ref-1: SHALL have a contained resource if a local reference is provided
... note SN 0..* Annotation Comments made about the ChargeItem
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] ΣN 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 CN 0..* Reference(Resource) Further information supporting this charge
ref-1: SHALL have a contained resource if a local reference is provided

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/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()
per-1errorChargeItem.identifier.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3errorChargeItem.quantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ref-1errorChargeItem.identifier.assigner, ChargeItem.partOf, ChargeItem.subject, ChargeItem.context, ChargeItem.performer.actor, ChargeItem.performingOrganization, ChargeItem.requestingOrganization, ChargeItem.costCenter, ChargeItem.enterer, ChargeItem.service, ChargeItem.account, ChargeItem.supportingInformationSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ChargeItem

Summary

Mandatory: 0 element(10 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-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
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-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... 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 ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣN 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ΣN 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ΣN 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ΣCN 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
ref-1: SHALL have a contained resource if a local reference is provided
.... reference SΣC 1..1 string 患者Resource Link
ele-1: All FHIR elements must have a @value or children
... Slices for occurrence[x] SΣN 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ΣN 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ΣN 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ΣN 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 SN 0..* CodeableConcept 醫令代碼
Binding: ICD-10Codes (example): Example binding for reason.


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 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 SN 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/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()
ref-1errorChargeItem.subjectSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from ChargeItem

NameFlagsCard.TypeDescription & Constraintsdoco
.. ChargeItem ChargeItem
... identifier S 1..1
.... system S
.... value S 1.. 醫令序。[TOTFA.p13/TOTFB.p1/LABM.h17]
... status S
... code S 醫令類別
.... coding S Binding: 醫令類別值集 (required): 醫令類別;應填入所綁定值集中的其中一個代碼。

..... system S 1..
..... code S 1.. 醫令類別。[TOTFA.p3/TOTFB.p2]
.... text S 醫令類別。[TOTFA.p3/TOTFB.p2]
.... reference S 1.. 患者Resource Link
... Slices for occurrence[x] S Slice: Unordered, Open by type:$this
.... occurrence[x]:occurrencePeriod S Period 執行時間起/迄
..... start S 1.. 執行時間-起。[TOTFA.p14/TOTFB.p14]
..... end S 執行時間-迄。[TOTFA.p15/TOTFB.p15]
... bodysite S 診療之部位
.... coding S
..... system S 1..
..... code S 1.. 診療之部位代碼。[TOTFA.p6]
.... text S 診療之部位。[TOTFA.p6]
... reason S 醫令代碼
.... coding S
..... system S 1..
..... code S 1.. 醫令代碼。[TOTFB.p3//LABM.h18]
.... text S 醫令代碼。[TOTFB.p3/LABM.h18]
... note S
.... text S 會診科別、總量或其他補充說明。[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/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 string Logical id of this artifact
... meta ΣN 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 N 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier SΣN 1..1 Identifier Business Identifier for item
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 ΣN 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 ΣCN 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
.... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
... 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 CN 0..* Reference(ChargeItem) Part of referenced ChargeItem
ref-1: SHALL have a contained resource if a local reference is provided
... code SΣN 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣN 0..* Coding Code defined by a terminology system
Binding: 醫令類別值集 (required): 醫令類別;應填入所綁定值集中的其中一個代碼。


..... id 0..1 string Unique id for inter-element referencing
..... extension N 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ΣCN 1..1 Reference(Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) Individual service was done for/to
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 ΣN 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context ΣCN 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with event
ref-1: SHALL have a contained resource if a local reference is provided
... Slices for occurrence[x] SΣN 0..1 When the charged service was applied
Slice: Unordered, Open by type:$this
.... occurrenceDateTime dateTime
.... occurrencePeriod Period
.... occurrenceTiming Timing
.... occurrence[x]:occurrencePeriod SΣN 0..1 Period 執行時間起/迄
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 N 0..* BackboneElement Who performed charged service
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function N 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 CN 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) Individual who was performing
ref-1: SHALL have a contained resource if a local reference is provided
... performingOrganization CN 0..1 Reference(Organization) Organization providing the charged service
ref-1: SHALL have a contained resource if a local reference is provided
... requestingOrganization CN 0..1 Reference(Organization) Organization requesting the charged service
ref-1: SHALL have a contained resource if a local reference is provided
... costCenter CN 0..1 Reference(Organization) Organization that has ownership of the (potential, future) revenue
ref-1: SHALL have a contained resource if a local reference is provided
... quantity ΣCN 0..1 Quantity Quantity of which the charge item has been serviced
qty-3: If a code for the unit is present, the system SHALL also be present
... bodysite SΣN 0..* CodeableConcept 診療之部位
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣN 0..* Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 N 0..1 Money Price overriding the associated rules
... overrideReason 0..1 string Reason for overriding the list price/factor
... enterer ΣCN 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Individual who was entering
ref-1: SHALL have a contained resource if a local reference is provided
... enteredDate Σ 0..1 dateTime Date the charge item was entered
... reason SN 0..* CodeableConcept 醫令代碼
Binding: ICD-10Codes (example): Example binding for reason.


.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣN 0..* Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension N 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 CN 0..* Reference(DiagnosticReport | ImagingStudy | Immunization | MedicationAdministration | MedicationDispense | Observation | Procedure | SupplyDelivery) Which rendered service is being charged?
ref-1: SHALL have a contained resource if a local reference is provided
... product[x] N 0..1 Product charged
Binding: FHIRDeviceTypes (example): Example binding for product type.

.... productReference Reference(Device | Medication | Substance)
.... productCodeableConcept CodeableConcept
... account ΣCN 0..* Reference(Account) Account to place this charge
ref-1: SHALL have a contained resource if a local reference is provided
... note SN 0..* Annotation Comments made about the ChargeItem
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] ΣN 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 CN 0..* Reference(Resource) Further information supporting this charge
ref-1: SHALL have a contained resource if a local reference is provided

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/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()
per-1errorChargeItem.identifier.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3errorChargeItem.quantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ref-1errorChargeItem.identifier.assigner, ChargeItem.partOf, ChargeItem.subject, ChargeItem.context, ChargeItem.performer.actor, ChargeItem.performingOrganization, ChargeItem.requestingOrganization, ChargeItem.costCenter, ChargeItem.enterer, ChargeItem.service, ChargeItem.account, ChargeItem.supportingInformationSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ChargeItem

Summary

Mandatory: 0 element(10 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