國家級人體生物資料庫整合平台共同資料模式實作指引(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. For a full list of available versions, see the Directory of published versions

Resource Profile: Composition LABD

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

用於表示檢驗檢查資料檔每日格式(LABD)資料集之文檔

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..* TWCoreComposition 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。
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 創建此內容所依據的一組規則
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣ 0..1 Identifier 不分版本的臨床文件架構(Composition)識別碼。
ele-1: All FHIR elements must have a @value or children
... type S 1..1 CodeableConceptTW Composition的種類(如果可能請使用LOINC)
Binding: 報告類別值集 (required): 報告類別;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
.... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
..... code SΣ 1..1 code 報告類別。[LABD.h1]
ele-1: All FHIR elements must have a @value or children
..... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string 報告類別。[LABD.h1]
ele-1: All FHIR elements must have a @value or children
... subject SΣ 1..1 Reference(Group | Device | Substance | TW Core Location | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) Composition是關於誰和/或什麼
ele-1: All FHIR elements must have a @value or children
... encounter SΣ 1..1 Reference(Encounter LABD-就醫日期/入院年月日) Composition的情境
ele-1: All FHIR elements must have a @value or children
... date SΣ 1..1 dateTime Composition的編輯時間
ele-1: All FHIR elements must have a @value or children
... author SΣ 1..* Reference(TW Core Practitioner | TW Core PractitionerRole | Device | TW Core RelatedPerson | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料 | Organization LABD、LAM-服務機構) 誰和/或什麼創建了這個Composition
ele-1: All FHIR elements must have a @value or children
... title SΣ 1..1 string 人類可讀的名稱/標題
ele-1: All FHIR elements must have a @value or children
... attester S 0..* BackboneElement 證明Composition的準確性
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): 認證者提供的認證類型;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
... custodian SΣ 0..1 Reference(Organization LABD、LAM-服務機構) 維護Composition的機構
ele-1: All FHIR elements must have a @value or children
... Slices for section SC 2..* BackboneElement Composition被分成一個或數個小節
Slice: Unordered, Open by value:code.coding.code
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... code S 0..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
ele-1: All FHIR elements must have a @value or children
..... entry SC 0..* Reference(Resource) 提供一個連結用於參照或查看支持此小節內容的資料
ele-1: All FHIR elements must have a @value or children
.... section:OrderSection SC 0..* BackboneElement Composition被分成一個或數個小節
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
...... coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
Fixed Value: 46209-3
....... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
...... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
ele-1: All FHIR elements must have a @value or children
..... Slices for entry SC 0..1 Reference(Resource) 提供一個連結用於參照或查看支持此小節內容的資料
Slice: Unordered, Open by profile:resolve()
ele-1: All FHIR elements must have a @value or children
...... entry:MedicationRequest SC 0..1 Reference(MedicationRequest 醫令清單段) 提供一個連結用於參照或查看支持此小節內容的資料
ele-1: All FHIR elements must have a @value or children
.... section:Specimen SC 1..1 BackboneElement Composition被分成一個或數個小節
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
...... coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
Fixed Value: 53903-1
....... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
...... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
ele-1: All FHIR elements must have a @value or children
..... entry SC 1..* Reference(Specimen LABD、LABM-檢體來源) 提供一個連結用於參照或查看支持此小節內容的資料
ele-1: All FHIR elements must have a @value or children
.... section:LaboratoryReport SC 1..* BackboneElement Composition被分成一個或數個小節
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
...... coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Fixed Value: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
Fixed Value: 11502-2
....... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
...... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
ele-1: All FHIR elements must have a @value or children
..... Slices for entry SC 1..* Reference(Resource) 提供一個連結用於參照或查看支持此小節內容的資料
Slice: Unordered, Open by profile:resolve()
ele-1: All FHIR elements must have a @value or children
...... entry:Observation SC 1..* Reference(Observation LABD、LABM-報告資料段) 提供一個連結用於參照或查看支持此小節內容的資料
ele-1: All FHIR elements must have a @value or children
...... entry:DiagnosticReport SC 0..* Reference(DiagnosticReport LABD、LABM-報告結果與病理發現及診斷) 提供一個連結用於參照或查看支持此小節內容的資料
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Composition.statusrequiredCompositionStatus
http://hl7.org/fhir/ValueSet/composition-status|4.0.1
from the FHIR Standard
Composition.typerequiredReportType (a valid code from 報告類別)
https://www.ghd.tw/cdm-fhir/ValueSet/ReportType
from this IG
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.section.codeextensibleLOINCDocumentSection
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/loinc-doc-section-code
Composition.section:OrderSection.codeextensibleLOINCDocumentSection
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/loinc-doc-section-code
Composition.section:Specimen.codeextensibleLOINCDocumentSection
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/loinc-doc-section-code
Composition.section:LaboratoryReport.codeextensibleLOINCDocumentSection
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/loinc-doc-section-code

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.section, Composition.section:OrderSection, Composition.section:Specimen, Composition.section:LaboratoryReportA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:OrderSection, Composition.section:Specimen, Composition.section:LaboratoryReportA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA 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()

 

Other representations of profile: CSV, Excel, Schematron