Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of...

25
Automated Transformation of openEHR Data Instances to OWL 31.05.2016 1 Birger Haarbrandt Thomas Jack Michael Marschollek

Transcript of Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of...

Page 1: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Automated Transformation of openEHR Data Instances to OWL

31.05.2016 1

Birger Haarbrandt

Thomas Jack

Michael Marschollek

Page 2: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Background

openEHR is an open standard specification in health informatics

that describes the management and storage, retrieval and

exchange of health data in electronic health records (EHRs)

● Recently, openEHR systems have seen wider adoption in countries

such as Norway, Sweden, Slovenia and Russia.

– EMRs, EHRs, Registries…

● Besides of its value to establish semantic interoperability, openEHR

might also help to integrate and facilitate secondary use on EHR

data:

– Cohort Identification / patient recruitments

– Clinical Decision Support

– Data Mining

– …

31.05.2016 2

Page 3: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Background

● For secondary use, combining clinical data with knowledge is

sometimes necessary

● Knowledge is often represented based on the formalism of the Web

Ontology Language (OWL).

● While openEHR provides a formalism to bind elements of the

information models to terminologies, it does not support a direct

access to formal ontologies for querying, reasoning etc.

● Hence, Lezcano et al. developed a method to transform openEHR

concept definitions (Archetypes) to a formal representation using

the OWL [1]

31.05.2016 3

Page 4: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Background

However, transformation of actual clinical data to OWL still requires

the laborious, manual creation of mapping scripts for different data

types and database.

31.05.2016 4

Page 5: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Background

Research Question:

„Is it possible to automate the transformation of openEHR-based

clinical data into individuals of the Web Ontology Language? (OWL)“

31.05.2016 5

Page 6: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Methods: openEHR

● A Comprehensive Semantic eHealth

Framework

● Enables a standard-based, detailed, canonical

representation of health data

– Computable

– Exchangeable

● Multi level modelling:

– Separation of clinical and technical aspects of

software development

– Constraints on a Reference Model (RM) are

defined using the Archetype Definition Language

(ADL).

● Benefit:

– Changes in the domain layer (archetypes) do

not cause changes in the reference model and

the underlying database!

31.05.2016 6

Page 7: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Methods: HaMSTR Architecture

31.05.2016 8

2. Normalization 3. Data Analysis

Sources Core Data Warehouse Provision

Copy of Source

Data

(Staging Area)

Archetype Store

Clinical Data

Repository

1. Extract, Transform, Load

Page 8: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Results: RM2OWL Architecture

31.05.2016 9

RM2OWL

Knowledge Store

2. Merge Ontologies

3. Create Individuals

4. Semantic Enrichment

5. Export to Triple Store

ADL2OWL Translator

Rules Terminologies / Ontologies

openEHR CDR

0. Receive User Input

1. Retrieve Archetype Qualifiers

Archetypes

Page 9: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Results: RM2OWL Transformation

31.05.2016 10

RM2OWL

Knowledge Store

2. Merge Ontologies

3. Create Individuals

4. Semantic Enrichment

5. Export to Triple Store

ADL2OWL Translator

Rules Terminologies / Ontologies

openEHR CDR

0. Receive User Input

1. Retrieve Archetype Qualifiers

Archetypes

Page 10: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Results: RM2OWL Transformation

31.05.2016 11

RM2OWL

Knowledge Store

2. Merge Ontologies

3. Create Individuals

4. Semantic Enrichment

5. Export to Triple Store

ADL2OWL Translator

Rules Terminologies / Ontologies

openEHR CDR

0. Receive User Input

1. Retrieve Archetype Qualifiers

Archetypes

Page 11: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Results: RM2OWL Transformation

31.05.2016 12

RM2OWL

Knowledge Store

2. Merge Ontologies

3. Create Individuals

4. Semantic Enrichment

5. Export to Triple Store

ADL2OWL Translator

Rules Terminologies / Ontologies

openEHR CDR

0. Receive User Input

1. Retrieve Archetype Qualifiers

Archetypes

Page 12: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Results: RM2OWL Transformation

31.05.2016 13

RM2OWL

Knowledge Store

2. Merge Ontologies

3. Create Individuals

4. Semantic Enrichment

5. Export to Triple Store

ADL2OWL Translator

Rules Terminologies / Ontologies

openEHR CDR

0. Receive User Input

1. Retrieve Archetype Qualifiers

Archetypes

Page 13: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

<data xsi:type="ITEM_TREE" archetype_node_id="at0001"><items xsi:type="ELEMENT" archetype_node_id="at0004">

<value xsi:type="DV_QUANTITY"><magnitude>98</magnitude><units>/min</units><precision>0</precision>

</value></items>

</data>

patient_1

case_2334556

PULSE_1

links

VITALSIGNREPORT_1 type COMPOSITION

pulse.:PULSEtype

HISTORY_1ANY_EVENT_1 pulse:HISTORYtype

links

eventspulse:ANY_EVENT type

PULSE_MEASUREMENT_1

event_data

Observation_data

RATE_1

pulse:RATEtype

RATE_DV_QUANTITY_1

value_element

RATE_DV_QUANTITY_UNITS_1 RATE_DV_QUANTITY_PRECISION_1RATE_DV_QUANTITY_MAGNITUDE_1

quantity_unitsquantity_magnitude quantity_precision

pulse:RATE_DV_QUANTITY_UNITS

type

98

real_value

pulse:RATE_DV_QUANTITY_MAGNITUDE pulse:RATE_DV_QUANTITY_PRECISION

type

/min

string_value

0

int_value

pulse:RATE_DV_QUANTITY

type

pulse:PULSE_MEASUREMENT type

items

PATIENT

CASEtype

type

links

Page 14: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Results: RM2OWL Transformation

31.05.2016 15

RM2OWL

Knowledge Store

2. Merge Ontologies

3. Create Individuals

4. Semantic Enrichment

5. Export to Triple Store

ADL2OWL Translator

Rules Terminologies / Ontologies

openEHR CDR

0. Receive User Input

1. Retrieve Archetype Qualifiers

Archetypes

Page 15: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

<data xsi:type="ITEM_TREE" archetype_node_id="at0001"><items xsi:type="ELEMENT" archetype_node_id="at0004">

<value xsi:type="DV_QUANTITY"><magnitude>98</magnitude><units>/min</units><precision>0</precision>

</value></items>

</data>

patient_1

case_2334556

PULSE_1

links

VITALSIGNREPORT_1 type COMPOSITION

pulse.:PULSEtype

HISTORY_1ANY_EVENT_1 pulse:HISTORYtype

links

eventspulse:ANY_EVENT type

PULSE_MEASUREMENT_1

event_data

Observation_data

RATE_1

pulse:RATEtype

RATE_DV_QUANTITY_1

value_element

RATE_DV_QUANTITY_UNITS_1 RATE_DV_QUANTITY_PRECISION_1RATE_DV_QUANTITY_MAGNITUDE_1

quantity_unitsquantity_magnitude quantity_precision

pulse:RATE_DV_QUANTITY_UNITS

type

98

real_value

pulse:RATE_DV_QUANTITY_MAGNITUDE pulse:RATE_DV_QUANTITY_PRECISION

type

/min

string_value

0

int_value

pulse:RATE_DV_QUANTITY

type

pulse:PULSE_MEASUREMENT type

items

PATIENT

CASEtype

type

links

Page 16: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

17

<data xsi:type="ITEM_TREE" archetype_node_id="at0001"><items xsi:type="ELEMENT" archetype_node_id="at0004">

<value xsi:type="DV_QUANTITY"><magnitude>98</magnitude><units>/min</units><precision>0</precision>

</value></items>

</data>

patient_1

case_2334556

PULSE_1

links

VITALSIGNREPORT_1 type COMPOSITION

pulse.:PULSEtype

HISTORY_1ANY_EVENT_1 pulse:HISTORYtype

links

eventspulse:ANY_EVENT type

PULSE_MEASUREMENT_1

event_data

Observation_data

RATE_1

pulse:RATE ≡ snomed:78564009type

RATE_DV_QUANTITY_1

value_element

RATE_DV_QUANTITY_UNITS_1 RATE_DV_QUANTITY_PRECISION_1RATE_DV_QUANTITY_MAGNITUDE_1

quantity_unitsquantity_magnitude quantity_precision

pulse:RATE_DV_QUANTITY_UNITS

type

98

real_value

pulse:RATE_DV_QUANTITY_MAGNITUDE pulse:RATE_DV_QUANTITY_PRECISION

type

/min

string_value

0

int_value

pulse:RATE_DV_QUANTITY

type

pulse:PULSE_MEASUREMENT type

items

PATIENT

CASEtype

type

links

Page 17: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

31.05.2016 18

Page 18: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Results: RM2OWL Transformation

31.05.2016 19

RM2OWL

Knowledge Store

2. Merge Ontologies

3. Create Individuals

4. Semantic Enrichment

5. Export to Triple Store

ADL2OWL Translator

Rules Terminologies / Ontologies

openEHR CDR

0. Receive User Input

1. Retrieve Archetype Qualifiers

Archetypes

Page 19: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Discussion

● It is possible to implement a tool to automatically transform arbitrary

structured clinical data to OWL (no more need to adjust to new

requirements!)

● The terminology binding functions of openEHR enable automated

merging of its OWL representation with terminologies and ontologies

● However, the tool needs to be enhanced to support all entry classes

Safe time and resources to provide medical data to researchers

● New opportunities:

– SPARQL

– SWRL (Decision Support?)

– Semantic Similarity

– Linked Open Data…

31.05.2016 20

Page 20: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Future Work

● Add functions to support all entry

classes

● A function to preselect items would

help to avoid unwanted

transformations

● A graphical user interface would make

it more easy to use.

● Do some interesting research based

on the system

31.05.2016 21

Page 21: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Thank you for your attention

Questions, Remarks,

Complaints?

31.05.2016 22

Page 22: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

References

[1] Lezcano, L., Sicilia, M. A., & Rodríguez-Solano, C. (2011).

Integrating reasoning and clinical archetypes using OWL ontologies

and SWRL rules. Journal of biomedical informatics, 44(2), 343-353.

31.05.2016 23

Page 23: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Links

Query Body Temperature

31.05.2016 24

http://134.169.38.24:5820/myDB!/query/prefix%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0Aprefix%20owl%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0Aprefix%20xsd%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0Aprefix%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0A%0APREFIX%20bt%3A%20%3Chttp%3A%2F%2Fmh-hannover.de%2Fknowledge%2FopenEHR-EHR-OBSERVATION.body_temperature.v1%23%3E%0APREFIX%20bp%3A%20%3Chttp%3A%2F%2Fmh-hannover.de%2Fknowledge%2FopenEHR-EHR-OBSERVATION.blood_pressure.v1%23%3E%0APREFIX%20puls%3A%20%3Chttp%3A%2F%2Fmh-hannover.de%2Fknowledge%2FopenEHR-EHR-OBSERVATION.pulse.v1%23%3E%0APREFIX%20resp%3A%20%3Chttp%3A%2F%2Fmh-hannover.de%2Fknowledge%2FopenEHR-EHR-OBSERVATION.respiration.v1%23%3E%0APREFIX%20cati%3A%20%3Chttp%3A%2F%2Fklt.inf.um.es%2F~cati%2Fontologies%2FOpenEHR-SP-v2.0.owl%23%3E%0APREFIX%20lab%3A%20%3Chttp%3A%2F%2Fmh-hannover.de%2Fknowledge%2FopenEHR-EHR-OBSERVATION.lab_test.v1%23%3E%0APREFIX%20patient%3A%20%3Chttp%3A%2F%2Fklt.inf.um.es%2F~cati%2Fontologies%3E%0A%0A%0ASELECT%20%3FmaxBT%20WHERE%20%7B%0A%20%20%0A%20%20%3Findiv%20a%20cati%3APatient%20.%0A%20%20%3Findiv%20cati%3Ahas%2Fcati%3Aobservation_data%2Fcati%3Aevents%20%3FBTevent%20.%20%0A%20%20%3FBTevent%20a%20bt%3AANY_EVENT%20.%0A%20%20%3FBTevent%20cati%3Aevent_data%2Fcati%3Aitems%20%3FBTelement%20.%0A%20%20%3FBTevent%20cati%3Aevent_time%2Fcati%3Adate_time_value%20%3FeventTime1%20.%0A%20%20%3FBTelement%20cati%3Avalue_element%2Fcati%3Aquantity_magnitude%2Fcati%3Areal_value%20%3FbodyTemperature%20.%0A%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%7D
Page 24: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

openEHR Archetypen III

31.05.2016 25

Page 25: Automated Transformation of openEHR Data Instances · PDF fileAutomated Transformation of openEHR Data Instances ... is often represented based on the formalism of the Web ... to automate

Birger Haarbrandt

Methods: openEHR Multi-Level Modelling

31.05.2016 26

© Koray Atalag