DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

29
DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7 RIM-TO-RELATIONAL DATABASE TOOL FOR HL7 RIM-TO-RELATIONAL DATABASE MAPPING NUST SCHOOL OF ELECTRICAL ENGINEERING & COMPUTER SCIENCES, PAKISTAN. Shagufta Umer, Muhammad Afzal, Maqbool Hussain, Hafiz Farooq Ahmad, Khalid Latif Presenter

Transcript of DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Page 1: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

DESIGN AND IMPLEMENTATION OF AN AUTOMATION

TOOL FOR HL7 RIM-TO-RELATIONAL DATABASETOOL FOR HL7 RIM-TO-RELATIONAL DATABASE

MAPPING

NUST SCHOOL OF ELECTRICAL ENGINEERING & COMPUTER SCIENCES,

PAKISTAN.

Shagufta Umer, Muhammad Afzal, Maqbool Hussain, Hafiz Farooq Ahmad, Khalid Latif

Presenter

Page 2: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

2

ABSTRACT

NUST School of Electrical Engineering and Computer Science, Pakistan

ABSTRACT

Page 3: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Abstract3

Exploring HL7 interoperability with the local clinical databases.

Heterogeneity in data models - Difficult to bring local clinical schemas in compliance with HL7 messaging.

NUST School of Electrical Engineering and Computer Science, Pakistan

HL7 version 3 messages can be parsed to any relational database composite of tables attributes and associated identifiers.

In this paper, we explored the RIM to clinical schema mappings and proposed a scheme for dynamically mapping clinical schemas to RIM.

Page 4: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

4

INTRODUCTION

NUST School of Electrical Engineering and Computer Science, Pakistan

INTRODUCTION

Page 5: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

� Healthcare organizations store their data in traditional relational

databases.

� Information exchange between two healthcare systems requires

common syntax, shared vocabularies.

5

Introduction

NUST School of Electrical Engineering and Computer Science, Pakistan

common syntax, shared vocabularies.

� HL7 RIM is a comprehensive UML model representing

healthcare concepts.

� There exist either one-to-one or one-to-many correspondences of

fields mapping between clinical data model and RIM model.

Page 6: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

6

HL7 Messaging Process

Network

NUST School of Electrical Engineering and Computer Science, Pakistan

RIM Object

Lab B Database

RIMObject

Lab A Database

Record

Page 7: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

RIM to Schema Mappings Challenges (1/2)7

� Heterogeneity issues because of

� Varying data models (ER, EAV, UML)

� Differences in schemas

� Query languages they support

NUST School of Electrical Engineering and Computer Science, Pakistan

� Domain terminologies they recognize

� Same concept, different name.

� Medicine: Drug, pills, Medicine etc

� Same name, different concepts.

� Doctor: Author, Performer, Verifier etc

Page 8: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

8

� Finding RIM to schema mappings is the bottleneck!

� mostly done by hand

� labor intensive & error prone

� RIM covers the whole healthcare arena, but complex to understand.

RIM to Schema Mappings Challenges (2/2)

NUST School of Electrical Engineering and Computer Science, Pakistan

understand.

� Complex Data types

� Correct mappings to RIM attributes is complex problem.� Age : No exact corresponding attribute in HL7 RIM

� NIC: No representation in HL7 RIM etc.

� Codes and vocabularies. Local schemas don’t observe codes.

� IDs and sequence numbers are used for interoperability purpose, no such practical usage in clinical systems.

Page 9: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Problems in Existing Approaches

No automation

9

NUST School of Electrical Engineering and Computer Science, Pakistan

Time consuming task

Error prone user intervention in identifying the appropriate mappings.

Page 10: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

10

Proposed

NUST School of Electrical Engineering and Computer Science, Pakistan

Proposed Methodology

Page 11: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

� Analyze some of the clinical databases, more specifically laboratory databases.

� Patterns in the clinical databases are collected.

� Example;

� patient name in clinical databases mostly mentioned as:

11

Proposed Methodology

NUST School of Electrical Engineering and Computer Science, Pakistan

� pname

� Name

� PatientName

� FirstName/LastName

� pFirstName/pLastName

� Maintaining a Mapping Knowledge Repository using the patterns seen in the clinical database terminologies.

Page 12: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

12

Proposed Architecture

Schema Loader:

Loads the data model of

the target clinical

database

and the corresponding

Schema Mapper:

This component is the

core engine of the

process.

For every column in the

Database schema

Mapping

HL7 RMIM

Load RMIM

Load Database

Schema Loader

NUST School of Electrical Engineering and Computer Science, Pakistan

Fig. Proposed Architecture

and the corresponding

RMIM Object Model.

For every column in the

database, it will search

the most appropriate

match in the Knowledge

Base and bind it to the

RMIM accordingly.Mapping Knowledge Repository

Mapping Specification

File

Load Database Schema

Perform Mappings

Schema Mapper

Page 13: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

13

Implementation

&

NUST School of Electrical Engineering and Computer Science, Pakistan

&

Evaluation Strategy

Page 14: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

� Implemented as a case study to support CITILab, Pakistan.

� The CITILab database currently runs in

� Windows environment and

14

Implementation & Evaluation Strategy….

NUST School of Electrical Engineering and Computer Science, Pakistan

� uses the Microsoft SQL relational database management

system (ver. 2000).

� Information centered on the concept of a “test order” and “test

results”.

Page 15: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

15

Mapping CITILab to RIM (1/2)

PATIENT Person

Name

Sex

name

administrativeGenderCode

Database Table RMIM Class

NUST School of Electrical Engineering and Computer Science, Pakistan

Sex

Address

Fax

Mobile

PhoneNo

addr

telecom

administrativeGenderCode

Page 16: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

16

Mapping CITILab to RIM (2/2)

TEST ObservationRequest

Code Code

Database Table RMIM Class

NUST School of Electrical Engineering and Computer Science, Pakistan

Name

Heading

text

tstPerformTime effectiveTime

Page 17: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

� The Knowledge Repository will be helpful in mapping

multiple clinical databases

� The repeating patterns are helpful in refining the knowledge

repository.

17

Evolution of the Tool

NUST School of Electrical Engineering and Computer Science, Pakistan

repository.

� So the tool will evolve by adding new mappings in knowledge

repository with minimal efforts.

� The tool being an open source, the community may contribute

in its evolution process.

Page 18: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

� Mapping provides ease in sharing and exchange of the information.

� Understanding and mapping RIM with clinical schemas require a

thorough and deep understanding of each and every concept.

18

Conclusion & Future Work (1/2)

NUST School of Electrical Engineering and Computer Science, Pakistan

� Clinical schemas are developed having no single structure and

representation.

Page 19: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

� Adding Intelligence through ontology based mapping.

� Extract any database schema and build automated ontology of

database.

Overcomes the mapping knowledge repository.

19

Conclusion and Future Work (2/2)

NUST School of Electrical Engineering and Computer Science, Pakistan

� Overcomes the mapping knowledge repository.

� Later on, this ontology will be used for the dynamic RIM to

clinical schema mapping.

Page 20: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

20

References

NUST School of Electrical Engineering and Computer Science, Pakistan

References

Page 21: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

[1] Health Level 7, http://www.hl7.org , November 2008.

[2] HL7 Reference Information Model, ANSI/HL7 V3 RIM, R1-2003, 12- 3- 2003.

[3] Walter Sujansky, “Heterogeneous Database Integration in biomedicine”, Journal of Biomedical Informatics, 285-298, 2001.

[4] Rene Spronk, The RIMBA Technolgoy Matrix, http://www.ringholm.de/docs/03100_en.htm

[5] HL7 Version 3 Guide, http://www.hl7.org/v3ballot2008JAN/html/help/V3guide/v3guide.htm

[6] “Laboratory Domain”, HL7 V3 Lab, R1, Last Ballot: January 2008.

[7] “Laboratory Domain”, HL7 UK V3 Lab, R1, Affiliate Ballot: May 2008.

[8] Lyman, J. Pelletier, S. Scully, K. Boyd, J. Dalton, J. Tropello, S. Egyhazy, C., Dept. of Health Evaluation Sci., Virginia Univ.,

Charlottesville, VA, USA, “Applying the HL7 reference information

21

References

NUST School of Electrical Engineering and Computer Science, Pakistan

Charlottesville, VA, USA, “Applying the HL7 reference information

model to a clinical data warehouse”, Oct. 2003, Volume: 5, On page(s):

4249- 4255 vol.5

[9] caAdapter, https://cabig.nci.nih.gov/tools/caAdapter , December 2008.

[10] caAdapter Model Mapping Service Hands-On Training,

November, 2007.

[11] http://www.connectingforhealth.org/, February 2009.

[12] Ringholm, http://www.ringholm.de , January 2009.

[13] NeoTool, http://www.neotool.com December, 2008.

Page 22: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Questions & Answers22

NUST School of Electrical Engineering and Computer Science, Pakistan

Page 23: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Training the TOOL23

Q: How many clinical database will be analyzed to serve the mapping process?�Manual Mappings for 3 Laboratory databases first and then build a mapping knowledge repository.

NUST School of Electrical Engineering and Computer Science, Pakistan

Lab CLab BLab A

Laboratory RMIM

Laboratory Databases

Page 24: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Mapping Strategy24

Q: What is the mapping strategy?

� Representation matching: Matching the Table Name or the Column Name.

Data types Matching: Identifying some mechanism to

NUST School of Electrical Engineering and Computer Science, Pakistan

� Data types Matching: Identifying some mechanism to handle the complex RIM data types with respect to the Clinical schema data types.

� Column with respect to its placement in a table can also be used to handle the mappings.

Page 25: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Constraint Handler25

Q: How mapping conflicts are handled?

� If two or more mappings are identified for a single concept then ask the user to decide which mapping

NUST School of Electrical Engineering and Computer Science, Pakistan

concept then ask the user to decide which mapping is most appropriate.

� If any mapping is wrongly identified than the user can request to remap the particular table/field.

Page 26: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Interface for the Mapping Knowledge

Repository 26

Q: How the mapping knowledge repository would evolve ?

� Knowledge repository would evolve with the passage of time through community interaction.

� GUI is provided to update the mapping knowledge repository.

NUST School of Electrical Engineering and Computer Science, Pakistan

� Categorize the RIM classes, e.g. Classes involved in Patient Information, Test Information, Specimen Information, Equipment Information etc. This will help the user in finding the appropriate mappings.

� Provide user-level description: Besides RIM complexity, the description provided to the user should be simple and clear.

� Display to the user the appropriate choices for the mappings.

� Allow the user to select appropriate mappings.

Page 27: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

27

NUST School of Electrical Engineering and Computer Science, Pakistan

Page 28: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

Related Work (1/2)28

This paper focused on:

Mappings from a local

Problems:

Proposes static mapping ,

Applying the HL7 Reference Information Model to a Clinical Data WarehouseLyman, J. Pelletier, S. Scully, K. Boyd, J. Dalton, J. Tropello, S. Egyhazy, C.

NUST School of Electrical Engineering and Computer Science, Pakistan

Mappings from a local clinical data (CDR) warehouse to RIM based classes.

The CDR is a unique information resource at University of Virginia Health System.

Proposes static mapping , only RIM to CDR.

No rules for extending the concept to other databases.

Does not focus on automating the RIM to schema mappings process.

Page 29: DESIGN AND IMPLEMENTATION OF AN AUTOMATION TOOL FOR HL7

caAdapterA framework National Cancer Institute US

29

� caAdapter offers the capability to map object models to data models.

� The Mapping Tool component has a GUI-based front-end application with drag-and-drop capability for mapping.

NUST School of Electrical Engineering and Computer Science, Pakistan

� caAdapter mapping service

� requires human intervention for manually tracing out all attributes in RIM.

� Requires laborious and time consuming efforts.

� No mechanism for collecting RIM context for target database schema.