cda r2 標準應用簡介

55
CDA R2 標標標標標標 99 標標標標標標標標標標標標標標 標標標標標標標標 A 標標標標標標標標 本本本本本本本本97 本 98 本本本本本本本本本本本本本本 1

Upload: justina-day

Post on 02-Jan-2016

95 views

Category:

Documents


1 download

DESCRIPTION

CDA R2 標準應用簡介. 99 年度電子病歷標準維護暨推廣案 教育訓練系列課程 A 電子病歷編碼技術. 本投影片參考來源: 97 及 98 年度電子病歷推動案之專案成果. 大綱. CDA R2 簡介 文件與訊息差異 CDA R2 結構說明 CDA R2 範例說明 CDA R2 版本控管 CDA R2 簽章簡介. CDA R2 簡介. 背景說明. 全文為 : Clinical Document Architecture 發行版本: ANSI/HL7 CDA R1.0-2000 ANSI/HL7 CDA R2.0-2005 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CDA R2 標準應用簡介

CDA R2 標準應用簡介

99 年度電子病歷標準維護暨推廣案教育訓練系列課程 A 電子病歷編碼技術

本投影片參考來源: 97及 98年度電子病歷推動案之專案成果

1

Page 2: CDA R2 標準應用簡介

大綱 CDA R2簡介文件與訊息差異 CDA R2結構說明 CDA R2範例說明 CDA R2版本控管 CDA R2 簽章簡介

2

Page 3: CDA R2 標準應用簡介

CDA R2 簡介3

Page 4: CDA R2 標準應用簡介

背景說明全文為: Clinical Document Architecture發行版本:

ANSI/HL7 CDA R1.0-2000 ANSI/HL7 CDA R2.0-2005

已是 ISO標準 (TC 215 / ISO/HL7 27932) 主要維護者是: HL7 Structured Documents Technical

Committee (SDTC)主要是定義資料交換之規範,使用到的技術有:

XML, HL7 Reference Information Model (RIM) Version 3 methodology Vocabulary (LOINC, SNOMED, ICD, local等 )

4

Page 5: CDA R2 標準應用簡介

CDA是電子文件交換規範 CDA 可以是

出院病摘護理記錄病程記錄檢驗報告健康報告

可以組合任何已簽章資料的內容

5

Page 6: CDA R2 標準應用簡介

甚麼是電子文件從 XML角度,任何一種都是“ document”。 Documents從醫療的角度:

表現出歷史醫療記錄格式。把分散的資料及片斷病歷敍述整合在一起。

CDA的目的就是將健康照護過程中所產生的電子文件進行規範。

6

Page 7: CDA R2 標準應用簡介

7

定義 CDA特性 Persistence :可作為永久儲存之格式

採 XML技術可永久儲存。 Stewardship:可供文件管理系統管理

內含版本控管機制與其他文件資訊,可供DMS來使用。 Potential for authentication:可具備鑑別性

因是電子文件可被簽章。 Context:文件具有脈絡性

透過 CDA的結構描述,可將文字敘述中的前後文關係表達出來。

Wholeness:欄位具備完整性 透過 CDA R2的結構可充分表達病歷文件之資訊。

Human readability:資訊可由人直接讀取 透過瀏覽設計可得到與紙本病歷相同樣式,滿足閱讀習慣。

Page 8: CDA R2 標準應用簡介

CDA文件

8

如需正版文件,請向 HL7 Taiwan或其他管道購買。

Page 9: CDA R2 標準應用簡介

文件與訊息差異9

Page 10: CDA R2 標準應用簡介

CDA 與 HL7訊息的關係 HL7 訊息是交換 CDA文檔的補足說明資料。 CDA是完整定義的資訊物件,是獨立於訊息之外。 CDA文件可用MIME編碼放入 HL7 訊息中。

10

Page 11: CDA R2 標準應用簡介

訊息

可能相同

不同

文件

可能相同

不同

內容

使用情境

CDA 文件與 HL7訊息比較

11

Page 12: CDA R2 標準應用簡介

12

CDA 文件與 HL7訊息比較訊息

暫時

系統對系統

與照護者無關

在確認簽章了沒?合法沒?

依不同情境定義

文件

永久

人對人

照護者需要被訓練來編寫文件

具法律地位

依據事前定義

生命週期

溝通

與照護者關係

法律方面

來源

Page 13: CDA R2 標準應用簡介

HL7 V2.x

MSH|...EVN|...PID|...PV1|...TXA|...OBX|1|ED|...

|...

HL7 訊息關係HL7 V3 <Act.Code code="11488-4" codeSystem="2.16.840.1.113883.6.1" displayName="Consultation note"/>

<Act.text type="multipart/related"> MIME-Version: 1.0 Content-Type: multipart/related; boundary="HL7-CDA-boundary"; type="text/xml"; start="10.12.45567.43" Content-Transfer-Encoding: BASE64

13

Page 14: CDA R2 標準應用簡介

與其他訊息格式的關係 CDA 能被放在任何訊息格式中

也可以在不同格式中互換

V2

V3

X12

XDS

14

Page 15: CDA R2 標準應用簡介

CDA R2 結構說明15

Page 16: CDA R2 標準應用簡介

CDA R2遵守 HL7V3的方法論Reference Information Model RMIM

Hierarchical Description

XML Schema

• linearization• additional constraints

• algorithm

• subset of RIM• tighten constraints

平面結構

巢狀結構

16

參考 hl7總會教材

Page 17: CDA R2 標準應用簡介

CDA R-MIM結構圖

17

參考 CDA R2標準文件

CDA 檔頭 CDA 本文 CDA 條目 外部參照

Page 18: CDA R2 標準應用簡介

CDA架構描述

18

Page 19: CDA R2 標準應用簡介

19

CDA R2最終產物 XML SCHEMA

一個 CDA 的 XML Schema檔,應用於任何臨床文件。

Page 20: CDA R2 標準應用簡介

CDA = 檔頭 + 本文 CDA 檔頭

中介資料,用來辨識文件、管理文件、存取文件之用。

CDA 本文可以是

出院病摘護理記錄病程記錄檢驗報告健康報告

可以是任何已簽章的片段資料20

Page 21: CDA R2 標準應用簡介

CDA 檔頭檔頭描述: (Level 1)

文件本身 (unique ID, document type classification, version)參與者 (providers, authors, patients…)文件關係者 (to orders, other documents…)

這些中介資料是要給文件管理系統使用的。

21

Page 22: CDA R2 標準應用簡介

CDA 檔頭 : 中介資料( METADATA )◦ 用來定義

◦ 病患◦ 照護提供者◦ 文件型態◦ ...

◦ 足以提供◦ 病歷記錄管理◦ 文件管理◦ 註冊 /儲存庫◦ 記錄定位服務◦ 儲存、查詢與存取

required

22

Page 23: CDA R2 標準應用簡介

XML 本文有兩大類型描述區塊

人類可讀( Human-Readable )敘述區塊( narrative block )用來表達與臨床、法律所需的內容。一般而言,仍須透過 xslt技術將其轉換成具有呈現格式的文件,如 html或 pdf。

定義上屬於 Level 2。機器可讀( Machine-Readable )─ Optional

屬 CDA 條目的部份,都是系統自動產生。系統可透過 CDA R2的結構關係,搜尋特定編碼,取得資訊。定義上屬於 Level 3。

23

Page 24: CDA R2 標準應用簡介

CDA SCHEMA 結構─ 檔頭部分

Document identification and classification

Participants

Related documents/events 24

Page 25: CDA R2 標準應用簡介

25

CDA SCHEMA 結構 ─ 本文起始部分 XML or non-XML

Page 26: CDA R2 標準應用簡介

CDA SCHEMA 結構 ─ 本文區段部分

Series of recursive sections

Sections establish context and include narrative and entries

identify

set context 26

Page 27: CDA R2 標準應用簡介

27

區段敘述內容部分

Page 28: CDA R2 標準應用簡介

CDA 所使用 V3資料型態的部份

CDAData type

28

Page 29: CDA R2 標準應用簡介

CDA R2 範例說明29

Page 30: CDA R2 標準應用簡介

30

HOW THE XSDS FIT TOGETHER

· Level 1

·CDA Header is Described

·Document Type(s)

· Level 2

·Assumes XML Body Content

·Prescribes:

· the Sections,

· their Order

· and Section Identifier Codes

· Level 3

·CDA Entries

·Vocabulary [Codes]

·Relationships

·Semantics

Page 31: CDA R2 標準應用簡介

SAMPLE CDA

Header Body

Readable: required Computable: optional

實際文件為 XML 可以用瀏覽器閱讀31

Page 32: CDA R2 標準應用簡介

32

CDA 本文─人類可讀 Any type of clinical document

H&P Consult Op note Discharge Summary...

Format: tif, PDF, HTML, XML: Paragraph List Table Caption Link Content Presentation

required

Page 33: CDA R2 標準應用簡介

33

CDA 本文─機器可讀 CDA R2透過下列物件達成機器可讀之結構:

Observation Procedure Organizer Supply Encounter Substance Administration Observation Media Region Of Interest Act

Optional

Page 34: CDA R2 標準應用簡介

34

NON-XML本文

Page 35: CDA R2 標準應用簡介

R-MIM

35CDA 檔頭 CDA 本文 CDA 條目 外部

參照

Page 36: CDA R2 標準應用簡介

CDA 檔頭Good Health Clinic Consultation note Consultant: Robert Dolin, MDDate: April 7, 2000Patient: Henry Levin, the 7th MRN: 12345 Sex: MaleBirthdate: September 24, 1932

<?xml version="1.0"?><ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 CDA.ReleaseTwo.CommitteeBallot01.July.2003.xsd"><!-- ******************************************************** CDA Header********************************************************-->

36

Page 37: CDA R2 標準應用簡介

檔頭元素Good Health Clinic Consultation note Consultant: Robert Dolin, MDDate: April 7, 2000Patient: Henry Levin, the 7th MRN: 12345 Sex: MaleBirthdate: September 24, 1932

<id extension="c266" root="2.16.840.1.113883.3.933"/><code code="11488-4“codeSystem="2.16.840.1.113883.6.1“ displayName="Consultation note"/><title>Good Health Clinic Consultation Note</title><effectiveTime value="20000407"/><setId extension="BB35" root="2.16.840.1.113883.3.933"/><versionNumber value="2"/><relatedDocument typeCode="RPLC"> <parentDocument> <id extension="a123" root="2.16.840.1.113883.3.933"/> <setId extension="BB35"root="2.16.840.1.113883.3.933"/> <versionNumber value="1"/> </parentDocument> </relatedDocument>

<documnetationOf><inFulfillmentOf><authorization><componentOf> 37

Page 38: CDA R2 標準應用簡介

R-MIM

38CDA 檔頭 CDA 本文 CDA 條目 外部

參照

Page 39: CDA R2 標準應用簡介

HEADER ELEMENTS

Good Health Clinic Consultation note Consultant: Robert Dolin, MDDate: April 7, 2000Patient: Henry Levin, the 7th MRN: 12345 Sex: MaleBirthdate: September 24, 1932

<recordTarget><patientRole>

<id extension="12345" root="2.16.840.1.113883.3.933"/><patientPatient><name>

<given>Henry</given><family>Levin</family><suffix>the 7th</suffix></name>

<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1"/>

<birthTime value="19320924"/></patientPatient></patientRole>

</recordTarget>

39

Page 40: CDA R2 標準應用簡介

R-MIM

40CDA 檔頭 CDA 本文 CDA 條目 外部

參照

Page 41: CDA R2 標準應用簡介

CDA BODY

History of Present IllnessHenry Levin, the 7th is a 67 year old male referred for further asthma management. Onset of asthma in his twenties teens. He was hospitalized twice last year, and already twice this year. He has not been able to be weaned off steroids for the past several months. Past Medical HistoryAsthmaHypertension (see HTN.cda for details) Osteoarthritis, right kneeMedicationsTheodur 200mg BIDAlbuterol inhaler 2puffs QID PRNPrednisone 20mg qdHCTZ 25mg qd

<!-- ******************************************************** CDA Body********************************************************-->

<component><StructuredBody>

<!-- 41

Page 42: CDA R2 標準應用簡介

R-MIM

42CDA 檔頭 CDA 本文 CDA 條目 外部

參照

Page 43: CDA R2 標準應用簡介

CDA SECTION NARRATIVE BLOCK

History of Present IllnessHenry Levin, the 7th is a 67 year old male referred for further asthma management. Onset of asthma in his twenties teens. He was hospitalized twice last year, and already twice this year. He has not been able to be weaned off steroids for the past several months. Past Medical HistoryAsthmaHypertension (see HTN.cda for details) Osteoarthritis, right kneeMedicationsTheodur 200mg BIDAlbuterol inhaler 2puffs QID PRNPrednisone 20mg qdHCTZ 25mg qd

<!-- ******************************************************** History of Present Illness section********************************************************--><component>

<section><code code="10164-2" codeSystem="2.16.840.1.113883.6.1"

codeSystemName="LOINC"/><text>Henry Levin, the 7th is a 67 year old male referred for further asthma

management. Onset of asthma in his <delete>twenties</delete><insert>teens</insert>. He was hospitalized twice last year, and already twice this year. He has not been able to be weaned off steroids for the past several months. </text>

<title>History of Present Illness</title></section>

</component>

<content> <link><renderMultiMedia> <paragraph> <list> <item> <table> <tr> <th> <td><caption>

43

Page 44: CDA R2 標準應用簡介

CDA SECTION NARRATIVE BLOCKPast Medical History• Asthma• Hypertension (see HTN.cda for details) • Osteoarthritis, right kneeMedications• Theodur 200mg BID• Albuterol inhaler 2puffs QID PRNPrednisone 20mg qdHCTZ 25mg qdAllergies & Adverse ReactionsPenicillin - HivesAspirin - WheezingCodeine – Itching and nausea

<component> <section> <code code="10153-2" codeSystem="2.16.840.1.113883.6.1“ codeSystemName="LOINC"/> <text> <list> <item><content ID="a1">Asthma</content></item> <item><content ID="a2">Hypertension (see HTN.cda for details)</content></item> <item><content ID="a3">Osteoarthritis, <content ID="a4">right knee</content></content></item> </list> </text> <title>Past Medical History</title> <component1>

<Observation classCode="COND"><code code="G-1001" codeSystem="2.16.840.1.113883.6.5"

codeSystemName="SNOMED" displayName="Prior dx"/><effectiveTime value="1950"/>

<value xsi:type="CD" code="D2-00036"

CDA Entries44

Page 45: CDA R2 標準應用簡介

瞭解 CDA R2版本控管方式

45

子文件

父文件

setId:文件序列號,第一份文件賦予新序列號。 append時:新序列號。 replace時:同序列號。

versionNumber:版本序,辨識同一文件序列號者。 (replace 才會新增序號 )

id:文件流水號,只要新產生文件,就給予一個流水號。

Page 46: CDA R2 標準應用簡介

CDA R2 簽章簡介46

Page 47: CDA R2 標準應用簡介

電子病歷簽章簡介電子病歷參與者

47

簽證者

法定簽證者

副本接收者

文件作者

資料輸入者

文件標的 (病患 )

文件保管者

情報提供者

其他文件參與者

服務執行者

Page 48: CDA R2 標準應用簡介

各參與者說明類型 物件 說明

臨床人員

legalAuthenticator 此份臨床文件最後審查簽章者。只會有一位。authenticator 此份臨床文件也需審查簽章者,但不像前者要負最後的責任。

可以有很多位。author 此份臨床文件真正的作者。注意,此作者並不一定是人,也

可以是某系統。participant 有共同參與照顧此病患的相關醫護人員。perfomer 需與 ServiceEvent 配合。也就是指負責執行某項服務任務

的人。

行政類

custodian 負責保管此臨床文件的組織。informationRecipient

可以取得此臨床文件副本的人。

dataEnterer 實際負責將資料輸入電腦系統者。encounterParticipant

實際進行就診行為者。例如門診醫師。

responsibleParty 負責服務此次就診者。例如說掛號等。location 記錄此臨床文件發生資料的所在地。一般是指醫事機構。

病患類

recordTarget 記錄此臨床文件之病患資料。informant 記錄此病患之關係人。

48

Page 49: CDA R2 標準應用簡介

參與者之情境說明1. StaffPhysicianOne 身為病患會診、口述病摘、簽章。 Author — StaffPhysicianOne Encounter Participant — StaffPhysicianOne (typeCode="CONS") Legal Authenticator — StaffPhysicianOne

2. StaffPhysicianOne 訪視病患並口述病摘; StaffPhysicianTwo 之後簽章。 Author — StaffPhysicianOne Legal Authenticator — StaffPhysicianTwo

3. ResidentOne 與 StaffPhysicianOne 訪視病患。 ResidentOne 口述病摘並簽章。 StaffPhysicianOne

也一同簽章。 Author — ResidentOne Authenticator — ResidentOne Encounter Participant — StaffPhysicianOne (typeCode="ATND") Legal Authenticator — StaffPhysicianOne

4. ResidentOne 與 StaffPhysicianOne 訪視病患。 ResidentOne 口述病摘並簽章。 StaffPhysicianTwo

一同簽章。 Author — ResidentOne Authenticator — ResidentOne Encounter Participant — StaffPhysicianOne (typeCode="ATND") Legal Authenticator — StaffPhysicianTwo

49

Page 50: CDA R2 標準應用簡介

參與者之情境說明5. ResidentOne 與 StaffPhysicianOne 訪視病患。 ResidentOne 口述病摘,但前往度假。其病摘由 ResidentTwo 與 StaffPhysicianOne簽章 Author — ResidentOne Authenticator — ResidentTwo Encounter Participant — StaffPhysicianOne (typeCode="ATND") Legal Authenticator — StaffPhysicianOne

6. ResidentOne 與 StaffPhysicianOne 訪視病患。 ResidentOne 口述病摘,但由 ResidentTwo與StaffPhysicianTwo簽章。 Author — ResidentOne Authenticator — ResidentTwo Encounter Participant — StaffPhysicianOne (typeCode="ATND") Legal Authenticator — StaffPhysicianTwo

7. StaffPhysicianOne 收到不正常的檢驗結果,試圖聯絡病患未果,於是寫了並簽署一份病程摘要。 Author — StaffPhysicianOne Legal Authenticator — StaffPhysicianOne

8. ResidentSurgeonOne與 StaffSurgeonOne 共同處理一位病患。 StaffSurgeonOne 口述處理報告並簽署之。 Author — StaffSurgeonOne Authenticator — null (need not be included) Legal Authenticator — StaffSurgeonOne Performer — StaffSurgeonOne (typeCode="PPRF") Performer — ResidentSurgeonOne (typeCode="SPRF")

50

Page 51: CDA R2 標準應用簡介

LEGALAUTHENTICATOR.SIGNATURECODE

Cocpet domain為 ParticipationSignature,其 Value Set: I (intended):參與者應提供簽章。 S (signed):參與者已簽章。其簽章的可能附加形式,寫在

另一份檔案中或附於 Participation.signatureText內。 應用說明:

產生一份臨床文件,一定要有LegalAuthenticator.signatureCode,但並不需要立即簽章。

若需存入一份「未完成病歷」時, signatureCode 應標記為I。

一份合法之臨床文件, signatureCode 應標記為 S。

51

Page 52: CDA R2 標準應用簡介

XML SIGNATURE簽章標準之XML結構

52

<Signature ID?> <SignedInfo><CanonicalizationMethod/>

<SignatureMethod/>(<Reference URI? >

(<Transforms>)?<DigestMethod><DigestValue>

</Reference>)+</SignedInfo><SignatureValue> (<KeyInfo>)?(<Object ID?>)*

</Signature>

? : zero or one+ : one or more* : zero or more

52

W3C標準 http://www.w3.org/TR/xmldsig-core/

根元素 簽章相關資訊

密文資料,以 base64方式編碼 公鑰。給接收者驗章用。 簽章標的物,可能是MIME Type資料。

摘要處理方法 簽章處理方法 簽章標的物參考位置

Page 53: CDA R2 標準應用簡介

XML SIGNATURE 三種簽章類型 Detached

簽章在文件之外。 Enveloped

XML簽章在文件之內。可只簽文件部分內容。一份文件可以有好幾個不同人簽章。

Enveloping臨床文件在 XML簽章中。

53

<ClinicalDocument> <signatureText <signature>….</signature> </signatureText></ClinicalDocument>

<signature> <ObjectID> <ClinicalDocument>….</ClinicalDocument> </ObjectID></signature>

<signature> <Reference>…</Reference></signature>

<ClinicalDocument>…</ClinicalDocument>

53

Page 54: CDA R2 標準應用簡介

本文與簽體的概念

54

Page 55: CDA R2 標準應用簡介

本節結束55