hl7 v3 教育訓練系列教材

41
HL7 v3 教教教教教教教教 HL7 Taiwan 協協 協協協 協協協 [email protected] HL7 Taiwan Google 協協 : http://groups.google.com/ group/hl7-taiwan 教教教教教教教 Education Technical Committees 協協協協 協協協協協協協協協協協協協協協

Upload: kioko

Post on 19-Jan-2016

96 views

Category:

Documents


0 download

DESCRIPTION

教育訓練委員會 Education Technical Committees. HL7 v3 教育訓練系列教材. 版權所有:台灣健康資訊交換第七層協定協會. HL7 Taiwan 協會 秘書長 范士展 [email protected] HL7 Taiwan Google 論壇 : http://groups.google.com/group/hl7-taiwan. Refine Message Information Model (2 小時 ). R-MIM 模型介紹 R-MIM 術語說明 實作概念 上機操作. RMIM 模型介紹. RIM 於應用之缺憾. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: HL7 v3 教育訓練系列教材

HL7 v3 教育訓練系列教材

HL7 Taiwan 協會秘書長 范士展

[email protected]

HL7 Taiwan Google 論壇 :http://groups.google.com/group/hl7-taiwan

教育訓練委員會Education Technical Committees

版權所有:台灣健康資訊交換第七層協定協會

Page 2: HL7 v3 教育訓練系列教材

Refine Message Information Model

(2 小時 )

1. R-MIM 模型介紹2. R-MIM 術語說明3. 實作概念4. 上機操作

Page 3: HL7 v3 教育訓練系列教材

RMIM 模型介紹

Page 4: HL7 v3 教育訓練系列教材

RIM 於應用之缺憾

使用 V3 方法論重新定義 RIM ,使其能夠產生

特定功能目的之物件。

1. RIM 為一般化抽象類別模型 (Class) 。2. 類別模型無法表達特定物件 (Object) 。

Page 5: HL7 v3 教育訓練系列教材

擴展 RIM 資訊** 限制循環

**

Page 6: HL7 v3 教育訓練系列教材

D-MIM Domain Message Information Model 延伸自 RIM 。 由特定領域 (domain) 負責建構。

例如“ Patient Administration” 。 會有多個“ entry points”(XML Root Element) 。 類別的部分屬性開始賦予內容值。

Page 7: HL7 v3 教育訓練系列教材

R-MIM Refined Message Information Model 衍生自 RIM ,是 D-MIM 之子集合。 類別的部分屬性會再多一些給定內容值。 只會有一個“ Entry Point” 連接到特定焦點

或主題類別。Patient Administration DMIM

Active Emergency Encounter RMIM

New PersonRMIM

Page 8: HL7 v3 教育訓練系列教材

R-MIM 範例Active Emergency Encounter

Entry PointFocal Class

Page 9: HL7 v3 教育訓練系列教材

R-MIM 術語說明

Page 10: HL7 v3 教育訓練系列教材

讀懂 R-MIM類別是複製與顏色編碼

Acts:EncounterEvent

A_EncounterValuablesLocation

A_ConsentA_ObservationDx

A_AccountAccomodationEvent

PatientTransportation

Entities:E_Organization

E_Place

Roles:R_NotificationPartyR_AssignedPersonR_AssignedEntity

R_PatientServiceDeliveryLocationR_AssignedOrganization

Participations:notificationContact

attenderconsultant

referrersubjectlocation

responsiblePartyadmitter

ActRelationships:componentOf

pertinentInformation2Authorization

pertinentInformation1ReferencesequelTo

arrivedBy

Page 11: HL7 v3 教育訓練系列教材

如何閱讀 R-MIM RMIMs are in an HL7 “proprietary” modeling format, not UML. Classes cloned and renamed to improve readability Color matters ActRelationship and Participation represented as block arrows: makes

models more compact. Source points to target

Roles Solid line = played Dashed line = scoped

Special Choice Box Representation Constraint boxes

Page 12: HL7 v3 教育訓練系列教材

重要術語 EntryPoint

Act & Entity Class

Page 13: HL7 v3 教育訓練系列教材

重要術語 Role Class

Relationship Classes

Page 14: HL7 v3 教育訓練系列教材

重要術語 Recursive Relationships

Non-Core Classes

Page 15: HL7 v3 教育訓練系列教材

重要術語 Non-Core Associations

Choice

Page 16: HL7 v3 教育訓練系列教材

重要術語 CMETs(Common Message Element Type)

Constraint

Note

Page 17: HL7 v3 教育訓練系列教材

Vocabulary Domain

屬性內容

Bold means Mandatory

Data TypeCoding

Strength

Default Value

Cardinality

Page 18: HL7 v3 教育訓練系列教材

實作概念

Page 19: HL7 v3 教育訓練系列教材

方法論步驟 HL7 工具的應用可分成三種步驟:

Scope 範疇Dynamic Model 動態模型Static Model 靜態模型

Page 20: HL7 v3 教育訓練系列教材

範疇 本步驟要回答下列三個問題:

What is communicated?What happens?Who is involved?

Page 21: HL7 v3 教育訓練系列教材

假設情境 A clinician, using a local medical office support

system, orders a lab test for one of her patients. The test will be performed on a specimen collected at her office. She will send the specimen by courier, and expects to receive a confirmation that the test will be performed, and a result of the test.

有位臨床醫師,使用辦公室支援系統為其病患開立一個檢驗醫令。此檢驗所需的檢體是在他的辦公室收集的。他利用派送者將檢體送出,並期望能收到對方的回覆,確認要執行此檢驗以及最後結果。

Page 22: HL7 v3 教育訓練系列教材

動態模型 動態模型包含兩個步驟:

(a) Blocking out the Interactions

(b) Documenting the Interactions

Page 23: HL7 v3 教育訓練系列教材

Blocking out the Interactions 從情境故事中擷取出交互作用,應先回答

下列問題:Who sends and receives?When to communicate?What is sent?Response obligations?

The right information to the right person at the right time

Page 24: HL7 v3 教育訓練系列教材

Blocking out the Interactions 情境故事

Initial order from MdOffice to LabMgmt; when the order is ready;

Content: patient, orderer, specimen, performer (lab), test; expect confirmation

Confirmation from LabMgmt to MdOffice; upon receipt and acceptance;

Content: order reference; performer; expected completion

Result from LabMgmt to MdOffice; when test done; Content: order reference; patient reference; findings; specimen

status

Page 25: HL7 v3 教育訓練系列教材

Documenting the Interactions 要完成事項包含:

A. 定義或找出發送端與接收端的應用角色B. 規範 “ trigger event” 作為溝通啟始C. 給予交互作用特性化D. 訊息類型之需求文件化

Page 26: HL7 v3 教育訓練系列教材

Documenting the Interactions 情境故事範例

A. MdOffice -> 1) Lab Order Placer; 2) Lab Confirmation Receiver; 3) Lab Observation Event Tracker; LabMgmt -> 1) Lab order fulfiller; 2) Lab Promise confirmer; 3) Lab Observation Event Informer

B. 1) Order activate; 2) Promise activate; 3) Event complete

C. 1) Request for action; 2) Request response; 3) Event notification

D. 1) Lab observation order; 2) Lab observation promise; 3) Lab observation event

Page 27: HL7 v3 教育訓練系列教材

情境假設

Page 28: HL7 v3 教育訓練系列教材

靜態模型 靜態模型包含三個步驟:

(a) Defining Subject-specific Information Model,

(b) Defining Message Design in an HMD

(c) Documenting the Message Design

Page 29: HL7 v3 教育訓練系列教材

Defining Subject-specific Information Model 應完成:

確認是屬於哪一個領域或則是使用哪一個 R-MIM 。

建立副本,設定其屬性與關連。從 D-MIM 中組合或收集。參照 “ Common” 型態 ( 共用模組)R-MIM 文件化存入儲存庫

Page 30: HL7 v3 教育訓練系列教材

Defining Message Design in an HMD 此步驟應包含:

Walking the graph to serialize the R-MIMDefining message types based on (within) the

HMDDefining R-MIM constraintsSaving to repositoryExpressing HMD as XML, and/or CSV files

Page 31: HL7 v3 教育訓練系列教材

Documenting the Message Design 最後步驟:

Publish designs in ExcelCreate schemasPublish in HTML

Page 32: HL7 v3 教育訓練系列教材

上機操作

詳細流程,請參考HL7Tools_TheComprehensiveGuide.doc 第六章

Page 33: HL7 v3 教育訓練系列教材

1

2

4

6

8

3

5

7

9

10

11

OrderOrder

PhysicianPhysician

PerformerPerformer LaboratoryLaboratory

SubjectSubjectSpecimenSpecimen

Record targetRecord target PatientPatient

DefinitionDefinition

Ordered TestOrdered Test

AuthorAuthor

Order

Definition

Performer

Author

Record target

Patient

Laboratory

Physician

Ordered test

Subject

Specimen

最後結果

Page 34: HL7 v3 教育訓練系列教材

哪些物件是需要的 Act (order) – Order

Participation – Author Role - Physician

Entity - Dr. Smith in the MD office Participation – Performer

Role – LaboratoryEntity - The lab that will perform the test

Participation – Subject Role – Specimen

Participation – Record target Role – Patient in whose record the result goes

Act relationship – Definition Act (definition) – Ordered Test

This order …

…was authored by …

…a physician role played by…

Suzy Smith.

… of this order.

… was the author …

… in her role as a physician …

Suzy Smith …

Page 35: HL7 v3 教育訓練系列教材

1. 注意儲存庫的位置2. 注意版本

Page 36: HL7 v3 教育訓練系列教材
Page 37: HL7 v3 教育訓練系列教材
Page 38: HL7 v3 教育訓練系列教材
Page 39: HL7 v3 教育訓練系列教材
Page 40: HL7 v3 教育訓練系列教材
Page 41: HL7 v3 教育訓練系列教材

感謝聆聽 Refine Message Information Model

下一場:使用 LOINC 、 SNOMED 與 OID介紹