Top Banner
1 HL7 CDA Clinical Document Architecture Terveydenhuollon 28. atk-päivät 27. - 28.5.2002 JOENSUUN YLIOPISTO Timo Itälä konsultti Conceptia Oy
27

HL7 CDA Clinical Document Architecture

Nov 28, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: HL7 CDA Clinical Document Architecture

1

HL7 CDAClinical Document Architecture

Terveydenhuollon 28. atk-päivät27. - 28.5.2002 JOENSUUN YLIOPISTO

Timo Itäläkonsultti

Conceptia Oy

Page 2: HL7 CDA Clinical Document Architecture

2

Agenda

Terveydenhuollon tietojärjestelmien integraatiotarpeitaXML teknologian tuomat mahdollisuudetHL7 V3 ja CDACDA Rakenne ja sisältöEsimerkkejä CDA dokumenteista ja käyttökohteistaHL7 CDA paikallistamisprojektiDokumenttien mahdollisuudet järjestelmäintegraatiossa

Page 3: HL7 CDA Clinical Document Architecture

3

Terveydenhuollon tietojärjestelmät eivät enää ole erillisiä saarekkeita

Järjestelmiä integroidaan jatkuvasti enemmän Jokaisessa uudessa järjestelmässä on oltava liittymiä

Page 4: HL7 CDA Clinical Document Architecture

4

Käyttötarkoitus ohjaa järjestelmäintegraatiota

Sovellusten näkökulma: Sanomanvälitys

Johdon näkökulma: Toiminnan seuranta ja johtaminen

Käyttäjän näkökulma: Työpöytä

Potilasta koskeva näkökulma: Kokonaiskuvan muodostaminen

Page 5: HL7 CDA Clinical Document Architecture

5

Haaste: Potilasta koskevat tiedot

Havainnot ja suunnitelmat ovat paljolti vapaamuotoista ja monimuotoista tietoa

Tietotekniikka on tottunut käsittelemään samanlaisena toistuvaa rakenteista tietoa, siksi potilasta koskevien havainto-tietojen kirjaaminen on ollut vaikeata

Page 6: HL7 CDA Clinical Document Architecture

6

Vastaus haasteeseen 1: XML teknologia ja dokumentit

Tiedon merkkauskielet, HTML, SGML, XMLSanomat, sivut, dokumentitDTD antaa XML dokumentille rakennesäännötDokumentin ominaisuuksia

Sisältö on pysyvääSisältää asiakokonaisuudenVoidaan vahvistaa allekirjoituksellaTarkoitettu katselijalle

Page 7: HL7 CDA Clinical Document Architecture

7

Vastaus 2: Dokumenttiarkkitehtuuri ja sanastot, HL7 CDA

Yhteentoimiminen vaatii sopimistaSopimisen kohteet: rakenteet, merkitys, sanastot ja koodistotHL7 ANSI standardi: Terveydenhuollon dokumenttiarkkitehtuuri

Page 8: HL7 CDA Clinical Document Architecture

8

HL7 V3, Kokonaisvaltainen järjestelmäintegraation kehikko

Use Case ModelUse Case ModelUse Case Model

Use Case Diagram

Spec

UCM SpecAssociate Actors and Use Cases

Develop Scope

Identify actors and Use Cases

Message DesignMessage DesignMessage Design

2-nd Order1 choice of

0-n Drug0-1 Nursing

h//mt:50”d”………

Develop Refined Message Information Model

Specify HMD & METs with constraints

Specify CMET

Information ModelInformation ModelInformation Model

State DiagramClass Diagram Define vocabulary domains and codes

Define states, transitions and triggers

Define classes, attributes, and relationships

Spec

RIM Spec

Interaction Model

Interaction Interaction ModelModel

Interaction Diagram

Define Application Roles

DefineInteractions

Define Conformance Criteria

Spec

Inter Spec

Storyboard

Page 9: HL7 CDA Clinical Document Architecture

9

RIM malli

Referralauthorized_visits_qty : REAL

Observationvalue : ANYinterpretation_cd : SET<CE>method_cd : SET<CE>target_site_cd : SET<CD>derivation_expr : ST

Substance_administrationroute_cd : CEapproach_site_cd : SET<CD>dose_qty : IVL<PQ>rate_qty : IVL<PQ>dose_check_qty : SET<RTO>max_dose_qty : SET<RTO>potency_qty : PQsubstitution_cd : CE

Proceduremethod_cd : SET<CE>approach_site_cd : SET<CD>target_site_cd : SET<CD>

Supplyqty : PQexpected_use_time : IVL<TS>

Dietenergy_qty : PQcarbohydrate_qty : PQ

Clinical_documentset_id : IIversion_nbr : INTcompletion_cd : CEstorage_cd : CEcopy_time : TS

Containercapacity_qty : PQheight_qty : PQdiameter_qty : PQcap_type_cd : CEseparator_type_cd : CEbarrier_delta_qty : PQbottom_delta_qty : PQ

Accessapproach_site_cd : CDtarget_site_cd : CDgauge_qty : PQDevice

manufacturer_model_nm : STsoftware_nm : STlocal_remote_control_state_cd : CEalert_level_cd : CElast_calibration_time : TS

Employeejob_cd : CEjob_title_nm : STjob_class_cd : CEsalary_type_cd : CEsalary_qty : MOhazard_exposure_txt : EDprotective_equipment_txt : ED

Living_subjectadministrative_gender_cd : CEbirth_time : TSdeceased_ind : BLdeceased_time : TSmultiple_birth_ind : BLbirth_order_nbr : INTorgan_donor_ind : BL

Materialform_cd : CE

Assigned_entityposition_cd : CEprimary_care_ind : BL

Certified_entityrecertification_time : TS

Placemobile_ind : BLaddr : ADdirections_txt : EDposition_txt : EDgps_txt : ST

Manufactured_materiallot_nm : STexpiration_time : TSstability_time : IVL<TS>

Non_Person_living_subjecttaxonomic_classification_cd : CEbreed_cd : CEstrain_txt : EDgender_status_cd : CEeuthanasia_ind : BL

Patientconfidentiality_cd : CEvery_important_person_cd : CE

Organizationaddr : BAG<AD>standard_industry_class_cd : CE

Accountnm : STcurrency_cd : CEinterest_rate_qty : RTO<MO,PQ>allowed_balance_qty : IVL<MO>

Financial_actnet_amt : MO

Personaddr : BAG<AD>marital_status_cd : CEeducation_level_cd : CEambulatory_status_cd : CEdisability_cd : CEliving_arrangement_cd : CEreligious_affiliation_cd : CEspecial_accommodation_cd : SET<CE>race_cd : SET<CE>ethnic_group_cd : SET<CE>

Working_listownership_level_cd : CE

Public_health_casedetection_method_cd : CEtransmission_mode_cd : CEdisease_imported_cd : CE

Patient_encounteradmission_source_cd : CEreferral_source_cd : CElength_of_stay_qty : PQdischarge_disposition_cd : CEaccident_cd : CEbirth_encounter_ind : BLacuity_level_cd : CEurgency_cd : CEpre_admit_test_ind : BLspecial_courtesies_cd : SET<CE>valuables_desc : EDvaluables_location_desc : ED

Schedulable_resourceslot_size_increment_qty : PQ

Acts (Financial)

Acts (Clinical)

Infrastructure (Structured documents)

HEALTH LEVEL 7 REFERENCE INFORMATION MODEL VERSION 1.14 (RIM_0114)

Version is basis for second committee-level ballot of Version 3. It was released March 2002, and reflects RIM changes through Harmonization on 03/07/2002

Billboard produced by:Rochester Outdoor Advertising

Roles

Guarantorcredit_rating_cd : CE

Diagnostic_imagesubject_orientation_cd : CE

Imaging_modalitypixel_intensity_relationship_cd : CEspacial_resolution_qty : PQpixel_padding_qty : PQ

Query_ackquery_response_cd : CSmessage_query_cd : CEresult_count_total : INTresult_count_current : INTresult_count_remaining : INT

Query_continuationquantity : INTstart_result_nbr : INT

Tablerules : CScellspacing : STcellpadding : STsummary : STwidth : STborder : INTframe : CS

Table_structurehalign : CSchar : STcharoff : STvalign : CSlocal_id : ST

Table_column_structurespan : INTwidth : ST

Table_cellrowspan : INTcolspan : INTabbr : STaxis : STheaders : SET<ED>scope : CS

Link

Character_datavalue : ST

Local_attrname : STvalue : ST

Local_markupignore_cd : CSdescriptor : STrender : ST

Link_htmltitle : STname : SThref : EDrel : SET<CE>rev : SET<CE>

Entrylocal_id : ST

0..1

0..*

contains0..1

is_contained_in0..*

Context_structurelocal_id : ST

0..*

0..1

is_contained_in

0..*

contains

0..1

Infrastructure (Structured documents)

Infrastructure (Message control)

Enitites

Message Control

Financial_transactioncredit_exchange_rate_qty : RTOdebit_exchange_rate_qty : RTOinterest_rate_qty : RTO

Invoice_elementmodifier_cd : CEunit_qty : PQunit_price : RTOfactor_nbr : REALpoints_nbr : REALcoverage_source_cd : CEnotify_subject_ind : BL

Financial_contractpayment_terms_cd : CE

Role_heirEntity_heir

Sort_controlelement_name : STsequence_nbr : INTdirection_cd : CS

Query_specexecution_and_delivery_time : TSinitial_qty : INTinitial_qty_cd : CEmessage_query_cd : CEmodify_cd : CSresponse_modality_cd : CSresponse_priority_cd : CSresponse_element_group_id : SET<II>

0..* 1

is_for

0..*

has

1

Relational_expressionelement_name : STvalue : STrelational_operator_cd : CS

Query_by_selection Selection_expression0..*1is_for

0..*

has_expression

1

Logical_expressionrelational_conjunction_cd : CS

1

0..*

has_left_side1

is_lhs_for0..*

1

0..*

has_right_side

1

is_rhs_for0..*

Query_by_parameter

Parameter_list

Parametername : STid : II 0..* 0..1

is_parameter_of0..*

has

0..1

0..1

0..*

may_contain 0..1

is_part_of

0..*

Parameter_itemvalue : ANYsemantics_txt : ST

Device_taskparameter_value : LIST<ANY>

Acknowledgementtype_cd : CSnote_txt : EDerror_detail_cd : CEexpected_sequence_nbr : INT

Messageaccept_ack_cd : CSapplication_ack_cd : CSattachment_txt : EDinteraction_id : IIprocessing_cd : CSprocessing_mode_cd : CSprofile_id : SET<II>sequence_nbr : INTversion_id : ST

0..*

1

acknowledges0..*

is_acknowledged_by1

0..1

1

occurs_with0..1

has 1

Query_eventquery_id : II

Control_eventstructure_type_id : IIresponse_cd : CS

0..1

0..*

is_communicated_as

0..1

has_payload

0..*

0..1

1

occurs_with

0..1

may_have 1

Act_relationshiptype_cd : CSinversion_ind : BLcontext_control_cd : CSsequence_nbr : INTpriority_nbr : INTpause_qty : PQcheckpoint_cd : CSsplit_cd : CSjoin_cd : CSnegation_ind : BLconjunction_cd : CS

Act_contextlevel_cd : CE

Actclass_cd : CSmood_cd : CSid : SET<II>cd : CDnegation_ind : BLtxt : EDstatus_cd : SET<CS>effective_time : GTSactivity_time : GTSavailability_time : TSpriority_cd : SET<CE>confidentiality_cd : SET<CE>repeat_nbr : IVL<INT>interruptible_ind : BLcontext_lock_ind : BLindependent_ind : BLreason_cd : SET<CE>language_cd : CE

0..*1

has_target

0..*

is_target_for

1

0..*1

has_source

0..*

is_source_for

1

1..*

0..*

originates_in_context_of

1..*

provides_context_for

0..*

Participationtype_cd : CSfunction_cd : CDcontext_control_cd : CSsequence_nbr : INTnote_txt : EDtime : IVL<TS>mode_cd : CEawareness_cd : CEsignature_cd : CSsignature_txt : ED

0..* 1

for

0..*

has

1

Relationship_linktype_cd : CSeffective_time : IVL<TS>

Roleclass_cd : CSid : SET<II>cd : CEnegation_ind : BLaddr : BAG<AD>telecom : BAG<TEL>status_cd : SET<CS>effective_time : IVL<TS>certificate_txt : EDqty : RTOposition_nbr : LIST<INT>

0..*1

has_as_participant

0..*

participates_in

1

0..*1

has_source

0..*

is_source_for

1

0..*1

has_target

0..*

is_target_for

1

Language_communicationlanguage_cd : CEmode_cd : CEproficiency_level_cd : CEpreference_ind : BL

Attention_linekey_word_txt : STvalue : ST

Batchname : STreference_control_id : IIbatch_totals : SET<INT>batch_comment : SET<ST>transmission_count : INT

Entityclass_cd : CSdeterminer_cd : CSid : SET<II>cd : CEqty : SET<PQ>nm : BAG<EN>desc : EDstatus_cd : SET<CS>existence_time : IVL<TS>telecom : BAG<TEL>risk_cd : CEhandling_cd : CEimportance_status_txt : ED

0..*0..1

is_played_by

0..*

plays

0..1

0..*0..1

is_scoped_by

0..*

scopes

0..1

10..*

communicates_with

1

used_by

0..*

Transmissioncreation_time : TSid : IIsecurity : ST

0..*1

can_accompany

0..*

can_include

1

0..1

0..*

contains 0..1

is_contained_by

0..*

Communication_functiontype_cd : CStelcom : TEL

1..*

0..*

serves

1..*

served_by

0..*

1..*0..*

ex ecuted_by

1..*

executes

0..*

Managed_participationid : SET<II>status_cd : SET<CS>

Act_heir

Page 10: HL7 CDA Clinical Document Architecture

10

RIM mallista johdetaan sanomat ja dokumentit

<levelone><clinical_document_header>

<document_information><encounter_data><service_actors><service_targets>

</clinical_document_header><body>

...</body>

</levelone>

HL7 CDA

<observation><service_cd V="6298-8" S="LOINC"

DN="POTASSIUM:SCNC:PT:BLD"/><result_dttm V="2000-05-22"/><value V="4.5" U="mg/dl"/>

</observation>

HL7 V3 Message

HL7 Reference Information Model

Sovelluksille Katselijoille

Page 11: HL7 CDA Clinical Document Architecture

11

CDA perusosat: Header, Body ja tietotyypit

HeaderDokumenttiPalvelutapahtumaPalveluun osallistujatPalvelun kohteet

Body

Jäsenneltyäkertovaa tekstiä, Koodattua tietoa

header_1.0.dtd

v3dt_1.0.dtd

levelone_1.0.dtdKuvailuosa

Sisältöosa

Page 12: HL7 CDA Clinical Document Architecture

12

XML elementit ja tietotyypitXML Element Name Data Type Cardinality clinical_document_header document_service 1..1 id II 1..1 document_type_cd CE 1..1 document_relationship service_relationship 0..* document_ relationship.type_cd

CS 1..1

related_document service 1..1 id II 1..1 patient_encounter patient_encounter 0..1 id II 0..1 <clinical_document_header><id EX="a123" RT="2.16.840.1.113883.3.933"/><document_type_cd V="11488-4"

S="2.16.840.1.113883.6.1" DN="Consultation note"/><document_relationship>

<document_relationship.type_cd V="RPLC"/><related_document><id EX="a234" RT="2.16.840.1.113883.3.933"/>

</related_document></document_relationship>

<patient_encounter><id EX="KPENC1332" RT="2.16.840.1.113883.3.933"/>

RIM

XMLdokumentti

XML DTD:t

Page 13: HL7 CDA Clinical Document Architecture

13

Esimerkki CDA Header

<clinical_document_header><id EX="a123" RT="2.16.840.1.113883.3.933"/><document_type_cd V="11488-4" S="2.16.840.1.113883.6.1" DN="Consultation note"/>

<origination_dttm V="2000-04-07"/><document_relationship><document_relationship.type_cd V="RPLC"/><related_document><id EX="a234" RT="2.16.840.1.113883.3.933"/>

</related_document></document_relationship><patient_encounter><id EX="KPENC1332" RT="2.16.840.1.113883.3.933"/><encounter_tmr V="2000-04-07"/>

</patient_encounter><local_header ignore="all" descriptor=“Omatagi">... lisätietoa, jota käytetään vain paikallisesti ...

</local_header></clinical_document_header>...

Page 14: HL7 CDA Clinical Document Architecture

14

Koodatun tiedon esittäminen<document_type_cd

V="11488-4" S="2.16.840.1.113883.6.1“DN="Consultation note"/>

V = koodin arvo

S = koodisto

DN = selväkielinen nimi

Koodiston tunnus OID, Object Identifier

OID määrittely ITU-T Suositus X.208 (katso esim. http://www.alvestrand.no/~hta/

S="2.16.840.1.113883.6.1“2 = ISO/ITU-T yhdessä hallinnoivat16 = Maakohtaiset tunnukset840 = USA1 = Amerikkalainen yritys113883 = Health Level Seven, Inc. (HL7) 6 = HL7 published documents (standards, tutorial slides, etc.)1 = LOINC

Page 15: HL7 CDA Clinical Document Architecture

15

CDA Body

Palvelutapahtumaan liittyvä tietosisältöElementit tietosisällön jäsentämiseen: Rakenne-elementitElementit tietosisällölle: SisältöelementitTietosisältö

TekstiäKoodattua tietoaLinkki tiedostoon, esimerkiksi kuvatiedostoon

Level 1: DTD ei anna tiedolle merkitystäLevel 2: DTD antaa pääkappaleiden merkityksenLevel 3: DTD antaa myös yksittäiset elementit

Page 16: HL7 CDA Clinical Document Architecture

16

CDA Body

CDA rakenne-elementit

CDA sisältö-elementit

Page 17: HL7 CDA Clinical Document Architecture

17

Esimerkki Body

<body><section>

<caption>Nykytilanne</caption> <paragraph> <content>Erittäin tyytyväinen tilaan. Ei mitään niveloireita.

Ollut hyvin työkykyinen ja toimintakykyinen. Azamun-tabletit viikonloppuna tuntuvat joskus unohtuvan.Lab. kokeet erinomaiset.

</content></paragraph>

</section><section>

<caption>Aikaisemmat taudit</caption> <list>

<item> <content>Astma</content> </item> <item> <content>Kohonnut verenpaine</content> </item> <item> <content>Kuluma, oikea polvi</content> </item>

</list></section>

<body>

Page 18: HL7 CDA Clinical Document Architecture

18

CDA Body

Erillisiä asioitaRakenneMerkitysUlkoasu

Miten näitä yhdistetään?

Page 19: HL7 CDA Clinical Document Architecture

19

CDA dokumentin muotoilu katsottavaksi

XML dokumentti

XHTML dokumentti

XSLT tyylisivu

XSLT muunnos

CDA DTD

Page 20: HL7 CDA Clinical Document Architecture

20

Esimerkki laboratoriotuloksista

Page 21: HL7 CDA Clinical Document Architecture

21

Esimerkki laboratoriotuloksista 2

Page 22: HL7 CDA Clinical Document Architecture

22

Esimerkki erikoisalan kertomuksesta

Page 23: HL7 CDA Clinical Document Architecture

23

Avoimia kysymyksiä muotoilusta

Page 24: HL7 CDA Clinical Document Architecture

24

Esimerkki CDA käytöstä: Viitetietojärjestelmä

PTH

SOSDIAB

JNE

ESH

LAB

CDA käyttö:Viitteiden luonti: CDA Header-nippuViitteen avulla haku: CDA dokumenttiXSL muotoilu katselujärjestelmässäAdapterit perusjärjestelmiin, www-palvelin

Viite-tietokanta

Page 25: HL7 CDA Clinical Document Architecture

25

HL7 CDA paikallistamisprojekti

HL7 yhdistys tilannut CDA paikallistamisenMedici Data toimittaa ja koordinoi toimittajakonsortion työnProjektin lopputulokset

WP1: PaikallistamisopasWP2: EsimerkkisisällötWP3: Koulutusaineisto ja koulutustilaisuus (12.6)

Tulokset lausuntokierrokselle

Page 26: HL7 CDA Clinical Document Architecture

26

Dokumenttien mahdollisuudet järjestelmäintegraatiossa

Erilaisia käyttötarkoituksia:Monenvälinen tietojen katselu, esim. viitetietojärjestelmäKahdenvälinen tietojen vaihto, esim. lähete –hoitopalauteUudenlaisten asioiden dokumentointi

ErikoisalakertomusHoitotyön kertomukset ja dokumentit

Uudenlaisia rakenteita terveydenhuollon tietojenkäsittelyratkaisuille: erityisjärjestelmät ja dokumenttirajapinnat

Page 27: HL7 CDA Clinical Document Architecture

27

Kysymyksiä?