臺灣健保事前審查實作指引
1.1.0 - ci-build

臺灣健保事前審查實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/pas/ and changes regularly. See the Directory of published versions

Resource Profile: 門診病歷-Composition OPD TWPAS

Official URL: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas Version: 1.1.0
Active as of 2025-12-29 Computable Name: CompositionOpdTWPAS

此門診病歷-Composition OPD TWPAS Profile說明本IG如何進一步定義臺灣核心-臨床文件架構(TW Core Composition) Profile以呈現免疫製劑事前審查

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* TWCoreComposition 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。
... meta Σ 1..1 Meta 此Composition Resource的metadata
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... status ?!SΣ 1..1 code registered | partial | preliminary | final | amended | corrected +
Binding: CompositionStatus (required): Composition的工作流程/臨床狀態;應填入所綁定值集中的其中一個代碼。
Required Pattern: final
... type S 1..1 CodeableConceptTW Composition的種類(如果可能請使用LOINC)
Binding: LOINC Code Document Type值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 34108-1
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(病人資訊-Patient TWPAS) Composition是關於誰和/或什麼
... encounter Σ 1..1 Reference(門診病歷-Encounter OPD TWPAS) Composition的情境
... date SΣ 1..1 dateTime Composition的編輯時間
... author SΣ 1..* Reference(醫事人員-Practitioner TWPAS | 醫事機構-Organization TWPAS) 誰和/或什麼創建了這個Composition
... title SΣ 1..1 string 人類可讀的名稱/標題
... attester S 0..* BackboneElement 證明Composition的準確性
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): 認證者提供的認證類型;應填入所綁定值集中的其中一個代碼。
... custodian SΣ 0..1 Reference(TW Core Organization) 維護Composition的機構
... Slices for section SC 4..* BackboneElement Composition被分成一個或數個小節
Slice: Unordered, Closed by value:code.coding.code
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 0..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 0..* Reference(Resource) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:subjective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 10154-3
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(主觀描述-Observation Subjective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:objective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 61149-1
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(客觀描述-Observation Objective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:assessment SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 51848-0
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(評估-ClinicalImpression TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:plan SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 18776-5
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(計畫-CarePlan TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible LOINC Code Document Type值集 📦2.77 臺灣核心實作指引 v0.3
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.section.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:subjective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:objective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:assessment.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:plan.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from TWCoreComposition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition TWCoreComposition
... meta 1..1 Meta 此Composition Resource的metadata
.... profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
... status 1..1 code registered | partial | preliminary | final | amended | corrected +
Required Pattern: final
... type 1..1 CodeableConceptTW Composition的種類(如果可能請使用LOINC)
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 34108-1
... encounter 1..1 Reference(門診病歷-Encounter OPD TWPAS) Composition的情境
... author 1..* Reference(醫事人員-Practitioner TWPAS | 醫事機構-Organization TWPAS) 誰和/或什麼創建了這個Composition
... Slices for section 4..* BackboneElement Composition被分成一個或數個小節
Slice: Unordered, Closed by value:code.coding.code
.... section:subjective S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 10154-3
..... entry 1..1 Reference(主觀描述-Observation Subjective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:objective S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 61149-1
..... entry 1..1 Reference(客觀描述-Observation Objective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:assessment S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 51848-0
..... entry 1..1 Reference(評估-ClinicalImpression TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:plan S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 18776-5
..... entry 1..1 Reference(計畫-CarePlan TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* TWCoreComposition 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Composition紀錄,通常又稱為邏輯性ID。
... meta Σ 1..1 Meta 此Composition Resource的metadata
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 0..1 Narrative Composition Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... extension 0..* Extension 擴充的資料項目
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier SΣ 0..1 Identifier 不分版本的臨床文件架構(Composition)識別碼。
... status ?!SΣ 1..1 code registered | partial | preliminary | final | amended | corrected +
Binding: CompositionStatus (required): Composition的工作流程/臨床狀態;應填入所綁定值集中的其中一個代碼。
Required Pattern: final
... type S 1..1 CodeableConceptTW Composition的種類(如果可能請使用LOINC)
Binding: LOINC Code Document Type值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 34108-1
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... category 0..* CodeableConceptTW Composition的分類
Binding: LOINC Document Class值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... subject SΣ 1..1 Reference(病人資訊-Patient TWPAS) Composition是關於誰和/或什麼
... encounter Σ 1..1 Reference(門診病歷-Encounter OPD TWPAS) Composition的情境
... date SΣ 1..1 dateTime Composition的編輯時間
... author SΣ 1..* Reference(醫事人員-Practitioner TWPAS | 醫事機構-Organization TWPAS) 誰和/或什麼創建了這個Composition
... title SΣ 1..1 string 人類可讀的名稱/標題
... confidentiality Σ 0..1 code 根據特定技術領域的定義
Binding: v3.ConfidentialityClassification (2014-03-26) (required): 應填入所綁定值集中的其中一個代碼。
... attester S 0..* BackboneElement 證明Composition的準確性
.... 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
.... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): 認證者提供的認證類型;應填入所綁定值集中的其中一個代碼。
.... time 0..1 dateTime 此Composition被證明的時間
.... party 0..1 Reference(TW Core Patient | TW Core RelatedPerson | TW Core Practitioner | TW Core PractitionerRole | TW Core Organization) 誰證明了此Composition
... custodian SΣ 0..1 Reference(TW Core Organization) 維護Composition的機構
... relatesTo 0..* BackboneElement 與其他Composition/文件之間的關係
.... 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
.... code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): 檔案之間的關係型別;應填入所綁定值集中的其中一個代碼。
.... target[x] 1..1 此關係的目標文件
..... targetIdentifier Identifier
..... targetReference Reference(Composition)
... event Σ 0..* BackboneElement 正在記錄的臨床服務
.... 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
.... code 0..* CodeableConceptTW 此代碼表代表了正在被記錄的主要臨床行為
Binding: v3 Code System ActCode (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
.... period Σ 0..1 Period 文件所涵蓋的時間區間
.... detail Σ 0..* Reference(Resource) 在描述被記錄下來的事件,這些事件可以是以代碼的形式、參考資料的形式,或者兩者都有的形式來呈現。
... Slices for section SC 4..* BackboneElement Composition被分成一個或數個小節
Slice: Unordered, Closed by value:code.coding.code
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 0..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 0..* Reference(Resource) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:subjective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 10154-3
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(主觀描述-Observation Subjective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:objective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 61149-1
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(客觀描述-Observation Objective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:assessment SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 51848-0
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(評估-ClinicalImpression TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:plan SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 18776-5
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(計畫-CarePlan TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Composition.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Composition.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible LOINC Code Document Type值集 📦2.77 臺灣核心實作指引 v0.3
Composition.category Base extensible LOINC Document Class值集 📦2.77 臺灣核心實作指引 v0.3
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📦3.0.0 THO v7.0
Composition.section.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:subjective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:subjective.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:subjective.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:subjective.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:objective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:objective.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:objective.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:objective.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:assessment.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:assessment.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:assessment.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:assessment.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:plan.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:plan.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:plan.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:plan.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* TWCoreComposition 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。
... meta Σ 1..1 Meta 此Composition Resource的metadata
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... status ?!SΣ 1..1 code registered | partial | preliminary | final | amended | corrected +
Binding: CompositionStatus (required): Composition的工作流程/臨床狀態;應填入所綁定值集中的其中一個代碼。
Required Pattern: final
... type S 1..1 CodeableConceptTW Composition的種類(如果可能請使用LOINC)
Binding: LOINC Code Document Type值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 34108-1
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(病人資訊-Patient TWPAS) Composition是關於誰和/或什麼
... encounter Σ 1..1 Reference(門診病歷-Encounter OPD TWPAS) Composition的情境
... date SΣ 1..1 dateTime Composition的編輯時間
... author SΣ 1..* Reference(醫事人員-Practitioner TWPAS | 醫事機構-Organization TWPAS) 誰和/或什麼創建了這個Composition
... title SΣ 1..1 string 人類可讀的名稱/標題
... attester S 0..* BackboneElement 證明Composition的準確性
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): 認證者提供的認證類型;應填入所綁定值集中的其中一個代碼。
... custodian SΣ 0..1 Reference(TW Core Organization) 維護Composition的機構
... Slices for section SC 4..* BackboneElement Composition被分成一個或數個小節
Slice: Unordered, Closed by value:code.coding.code
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 0..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 0..* Reference(Resource) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:subjective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 10154-3
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(主觀描述-Observation Subjective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:objective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 61149-1
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(客觀描述-Observation Objective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:assessment SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 51848-0
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(評估-ClinicalImpression TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:plan SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 18776-5
....... display SΣ 0..1 string 由系統定義的表示法
...... text SΣ 0..1 string 概念的文字表示法
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 1..1 Reference(計畫-CarePlan TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible LOINC Code Document Type值集 📦2.77 臺灣核心實作指引 v0.3
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.section.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:subjective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:objective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:assessment.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:plan.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from TWCoreComposition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition TWCoreComposition
... meta 1..1 Meta 此Composition Resource的metadata
.... profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
... status 1..1 code registered | partial | preliminary | final | amended | corrected +
Required Pattern: final
... type 1..1 CodeableConceptTW Composition的種類(如果可能請使用LOINC)
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 34108-1
... encounter 1..1 Reference(門診病歷-Encounter OPD TWPAS) Composition的情境
... author 1..* Reference(醫事人員-Practitioner TWPAS | 醫事機構-Organization TWPAS) 誰和/或什麼創建了這個Composition
... Slices for section 4..* BackboneElement Composition被分成一個或數個小節
Slice: Unordered, Closed by value:code.coding.code
.... section:subjective S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 10154-3
..... entry 1..1 Reference(主觀描述-Observation Subjective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:objective S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 61149-1
..... entry 1..1 Reference(客觀描述-Observation Objective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:assessment S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 51848-0
..... entry 1..1 Reference(評估-ClinicalImpression TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
.... section:plan S 1..1 BackboneElement Composition被分成一個或數個小節
..... code 1..1 CodeableConceptTW 小節分類(建議)
...... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... code 1..1 code 系統定義的語法之符號
Required Pattern: 18776-5
..... entry 1..1 Reference(計畫-CarePlan TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* TWCoreComposition 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Composition紀錄,通常又稱為邏輯性ID。
... meta Σ 1..1 Meta 此Composition Resource的metadata
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 0..1 Narrative Composition Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... extension 0..* Extension 擴充的資料項目
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier SΣ 0..1 Identifier 不分版本的臨床文件架構(Composition)識別碼。
... status ?!SΣ 1..1 code registered | partial | preliminary | final | amended | corrected +
Binding: CompositionStatus (required): Composition的工作流程/臨床狀態;應填入所綁定值集中的其中一個代碼。
Required Pattern: final
... type S 1..1 CodeableConceptTW Composition的種類(如果可能請使用LOINC)
Binding: LOINC Code Document Type值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 34108-1
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... category 0..* CodeableConceptTW Composition的分類
Binding: LOINC Document Class值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... subject SΣ 1..1 Reference(病人資訊-Patient TWPAS) Composition是關於誰和/或什麼
... encounter Σ 1..1 Reference(門診病歷-Encounter OPD TWPAS) Composition的情境
... date SΣ 1..1 dateTime Composition的編輯時間
... author SΣ 1..* Reference(醫事人員-Practitioner TWPAS | 醫事機構-Organization TWPAS) 誰和/或什麼創建了這個Composition
... title SΣ 1..1 string 人類可讀的名稱/標題
... confidentiality Σ 0..1 code 根據特定技術領域的定義
Binding: v3.ConfidentialityClassification (2014-03-26) (required): 應填入所綁定值集中的其中一個代碼。
... attester S 0..* BackboneElement 證明Composition的準確性
.... 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
.... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): 認證者提供的認證類型;應填入所綁定值集中的其中一個代碼。
.... time 0..1 dateTime 此Composition被證明的時間
.... party 0..1 Reference(TW Core Patient | TW Core RelatedPerson | TW Core Practitioner | TW Core PractitionerRole | TW Core Organization) 誰證明了此Composition
... custodian SΣ 0..1 Reference(TW Core Organization) 維護Composition的機構
... relatesTo 0..* BackboneElement 與其他Composition/文件之間的關係
.... 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
.... code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): 檔案之間的關係型別;應填入所綁定值集中的其中一個代碼。
.... target[x] 1..1 此關係的目標文件
..... targetIdentifier Identifier
..... targetReference Reference(Composition)
... event Σ 0..* BackboneElement 正在記錄的臨床服務
.... 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
.... code 0..* CodeableConceptTW 此代碼表代表了正在被記錄的主要臨床行為
Binding: v3 Code System ActCode (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
.... period Σ 0..1 Period 文件所涵蓋的時間區間
.... detail Σ 0..* Reference(Resource) 在描述被記錄下來的事件,這些事件可以是以代碼的形式、參考資料的形式,或者兩者都有的形式來呈現。
... Slices for section SC 4..* BackboneElement Composition被分成一個或數個小節
Slice: Unordered, Closed by value:code.coding.code
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 0..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 0..* Reference(Resource) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:subjective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 10154-3
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(主觀描述-Observation Subjective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:objective SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 61149-1
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(客觀描述-Observation Objective TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:assessment SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 51848-0
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(評估-ClinicalImpression TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節
.... section:plan SC 1..1 BackboneElement Composition被分成一個或數個小節
Constraints: cmp-1, cmp-2
..... 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
..... title 0..1 string 小節標籤(例如:目錄ToC)
..... code S 1..1 CodeableConceptTW 小節分類(建議)
Binding: LOINC Code Document Section值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
....... version Σ 0..1 string 系統的版本—如果相關的話
....... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 18776-5
....... display SΣ 0..1 string 由系統定義的表示法
....... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... text SΣ 0..1 string 概念的文字表示法
..... author 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson) 誰和/或什麼人撰寫了該小節
..... focus 0..1 Reference(Resource) 當小節與composition描述的對象無關時,此小節是關於誰/什麼。
..... text SC 0..1 Narrative 將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... mode 0..1 code 適用於此小節的處理模式
Binding: ListMode (required): 應填入所綁定值集中的其中一個代碼。
..... orderedBy 0..1 CodeableConceptTW 小節條目的順序
Binding: ListOrderCodes (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... entry SC 1..1 Reference(計畫-CarePlan TWPAS) 提供一個連結用於參照或查看支持此小節內容的資料
..... emptyReason 0..1 CodeableConceptTW 為什麼此小節是空的原因
Binding: ListEmptyReasons (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
..... section C 0..* See section (Composition) 嵌套的小節

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Composition.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Composition.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base extensible LOINC Code Document Type值集 📦2.77 臺灣核心實作指引 v0.3
Composition.category Base extensible LOINC Document Class值集 📦2.77 臺灣核心實作指引 v0.3
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📦3.0.0 THO v7.0
Composition.section.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:subjective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:subjective.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:subjective.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:subjective.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:objective.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:objective.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:objective.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:objective.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:assessment.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:assessment.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:assessment.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:assessment.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.
Composition.section:plan.​code Base extensible LOINC Code Document Section值集 📦2.77 臺灣核心實作指引 v0.3
Composition.section:plan.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:plan.​orderedBy Base preferred List Order Codes 📦4.0.1 FHIR Std.
Composition.section:plan.​emptyReason Base preferred List Empty Reasons 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:subjective, Composition.section:objective, Composition.section:assessment, Composition.section:plan A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron