國家級人體生物資料庫整合平台共同資料模式實作指引(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: Encounter LABD-就醫日期/入院年月日

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

此Profile用於描述檢驗檢查資料檔每日格式(LABD)的就醫日期/入院年月日

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
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 Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣ 1..1 Identifier 此就醫事件的識別碼
ele-1: All FHIR elements must have a @value or children
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 就醫序號。[LABD.h7]
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... class S 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (extensible): 就醫的分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


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 系統定義的語法之符號
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
... serviceType S 1..1 CodeableConceptTW 服務的特定型別。就醫類別,[LABD.h6]
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalDepartmentSCT S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
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
Required Pattern: http://snomed.info/sct
...... code SΣ 0..1 code 系統定義的語法之符號
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
..... coding:TWMedicalConsultationDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
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
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
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
..... coding:TWMedicalTreatmentDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
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
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
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
..... coding:MedicalDepartmentCDM S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 就醫科別值集 (required): 就醫科別;應填入所綁定值集中的其中一個代碼。


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
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/FuncType
...... code SΣ 1..1 code 系統定義的語法之符號
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.h6]
ele-1: All FHIR elements must have a @value or children
... subject SΣ 1..1 Reference(TW Core Patient | Group | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) 在場就醫的病人或實體集合(Group)
ele-1: All FHIR elements must have a @value or children
.... reference SΣC 1..1 string 患者Resource Link
ele-1: All FHIR elements must have a @value or children
... participant SΣ 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
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
.... type S 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... period S 0..1 Period 參與者在病人就醫期間參與的時段
ele-1: All FHIR elements must have a @value or children
.... individual SΣ 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
ele-1: All FHIR elements must have a @value or children
... period S 1..1 Period 就醫日期或入住院日期,無則填入健保卡刷卡日期。(優先填入"入住院日期")
ele-1: All FHIR elements must have a @value or children
.... start SΣC 1..1 dateTime 就醫日期、健保卡刷卡日期或入院年月日。[LABD.h5/LABD.h11/LABD.h13],如為健保卡刷卡日期:依保險對象持健保卡就醫當日刷卡由讀卡機自動產生就診日期時間;如為代檢驗案件請填入收到檢體日期時間。(優先填入"入住院日期")
ele-1: All FHIR elements must have a @value or children
.... end SΣC 0..1 dateTime 治療結束日期或出院年月日。[LABD.h12/LABD.h14]
ele-1: All FHIR elements must have a @value or children
... reasonCode S 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
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
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
... location S 0..* BackboneElement 病人曾去過的一個或多個地點
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
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
ele-1: All FHIR elements must have a @value or children
... serviceProvider S 0..1 Reference(TW Core Organization) 負責這次就醫的機構
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Encounter.serviceType.coding:TWMedicalDepartmentSCTrequiredTWMedicalDepartmentSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
Encounter.serviceType.coding:MedicalDepartmentCDMrequiredFuncType (a valid code from 就醫科別)
https://www.ghd.tw/cdm-fhir/ValueSet/FuncType
from this IG
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.reasonCodepreferredEncounterReasonCodes
http://hl7.org/fhir/ValueSet/encounter-reason
from the FHIR Standard
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA 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