43
HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. RIMBAA Overview Slide contents published under the Creative Commons / Attribute-Share Alike license Source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt Full source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

RIMBAA Overview

  • Upload
    clio

  • View
    24

  • Download
    0

Embed Size (px)

DESCRIPTION

RIMBAA Overview. Full source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt. Slide contents published under the Creative Commons / Attribute-Share Alike license Source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt. René Spronk. Trainer / Senior Consultant Ringholm bv - PowerPoint PPT Presentation

Citation preview

Page 1: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

RIMBAA Overview

Slide contents published under the Creative Commons / Attribute-Share Alike licenseSource: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Full source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Page 2: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. 2

René Spronk

HL7/IHE roles:•HL7 Fellow•Co-chair of the international HL7 RIMBAA Working Group•Co-chair of various Committees, HL7 Germany, HL7 Netherlands•Member of HL7 UK, HL7 FR, HL7 CH, HL7 NO•Contributor to the IHE Laboratory Technical Framework•HL7 volunteer of the year - 2008

Trainer / Senior Consultant Ringholm bvHaarlem, the Netherlands

Tel. +31 (0)318 589 789Fax: +31 (0)318 548 090

eMail: [email protected]: http://www.Ringholm.comTwitter:@Ringholm

Page 3: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

RIMBAA WG Activities

• The International RIMBAA Work Group

1. Promotes RIMBAA architectures , and

2. Gathers, documents and publishes best practices when it comes to the (model driven) implementation of HL7 version 3• Product presentations• Open forum discussions

• Page: http://wiki.hl7.org/index.php?title=RIMBAA

Page 4: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Key Objectives

Understand some of the architectural approaches and techniques for using the HL7 RIM data model in clinical data repositories

Show some of the ‘best practices’ collected by the HL7 RIMBAA Workgroup

Note: interoperability is “out of scope” of this presentation .. and “in scope” for RIMBAA

Page 5: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Scope, Origins of the

Reference Information Model

Slide contents published under the Creative Commons / Attribute-Share Alike licenseSource: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

The HL7 RIM

Page 6: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

RIM (1995-1999)

04/21/236

Page 7: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Sources of the RIM: data(base) models

04/21/237

..and UK / Australian national healthcare data models.

Page 8: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. 8

RIM (current version, 2001+)

Page 9: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

The RIM as a model for persistence

All healthcare domains can be represented and integrated using one single ISO standard information model (the RIM) This means one does not have to develop and

support different databases and interfaces between systems for different healthcare domains

RIM Based Application Architecture (RIMBAA)

Page 10: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

RIM in UML

10

Page 11: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Essential components of the RIM

• Class Diagram

• Constraint Language

• State transition diagrams

• Definitions (classes, attributes, ..)

• Data type definitions

• Vocabularies (notably:structural vocabularies, e.g. ActClass)

Slide courtesy of Nicolas Canu (HL7 France)

Page 12: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

RIMBAA

Use of RIM (-based) models

Page 13: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Application Layer

Slide contents published under the Creative Commons / Attribute-Share Alike licenseSource: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Full source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Page 14: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

RIM – Generated Code

RIM MIF or XSD based class/code generators Includes support for constraint language

State transitions Constraint on RIM classes

Vocabulary definitions/bindings Terminology Server functionality, CTS II

Data type Custom library, partly XSD generated

01/01/201114

Page 15: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Constraint Language

To express additional constraints OCL, ADL, Gello No solution has been formally adopted

Typical (OCL) example: The Person object should have either an id or a

name context Person

inv: id.hasContent or name.hasContent

15

Page 16: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Data Types – custom code Custom library with support for data types

Mostly: ISO data types, patched to support data types R1 as well

Relationship with Terminology Server (C* data types)

Needs custom coding: data types MIF is abstract.

16

Page 17: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

MDD - Application Generation

Software application

Software application

Generic Software Components-Terminology-Data types

Generic Software Components-Terminology-Data types

PersistenceDatabase

RIM RIM

Page 18: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

MDD –Prescription Example

RIM based model for Prescription

Business workflow

Exchange Pattern

Software application

Software application

Page 19: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Class Generators

Class generators – XML Schema driven Every major development platform provides tools

to generate classes from XML Schemas E.g. JAXB, .NET Framework/Mono (XSD.EXE), XML

Beans…

Class Generators – Model driven Model Driven Software development

environments allow classes to be generated from (UML-) models

E.g. MARC Everest API Generator (XML ITS/RIM ITS), MDHT (for CDA)

Page 20: RIMBAA Overview

20

Example: Philips Research (1/2)

Object model of MIF was generated from the MIF schemas, including read and write methods.

MIF files are read as instances of the MIF model and mapped to object models.

Applications are built using C# classes generated from the object models.

C#SQL

XML

application

object modelgenerator object model

C#generator

MIF

XSD

HL7v3 Standard ABCD HL7v3 Generator

Page 21: RIMBAA Overview

21

Example: Philips Research (2/2)

Datatypes(R1)

RIM(2.26)

R_PatientUniversal

ClinicalStatement

R_AssignedEntity

Universal

R_AssignedPerson

Identified

R_MedicationUniversal

R_SpecimenUniversal

CMETs …..

Vocabulary

Object models generated from MIF:

Page 22: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Persistence Layer

Slide contents published under the Creative Commons / Attribute-Share Alike licenseSource: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Full source: www.ringholm.com/download/ implementation_mechanics.ppt

Page 23: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Database models (Relational)

23

RIM

LDM

PDM

RIM or RIM-based model:Conceptual Data Model

Logical Data Model•Not DBMS specific, no tables, no keys

Physical Data Model•DBMS specific, tables, keys

ORM – Object Relational Mapping

Page 24: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Conceptual Data model - RIM

Enormous flexibility, at the cost of a very abstract structure. makes enforcement of data integrity rules very difficult making it

necessary to rely on stored procedures and application logic to enforce rules.

Low number of tables less programming work, easier to learn, easier to add new

functionality. More data in each table, need to tune queries.

Main use-case: If you're creating a data store for ad-hoc queries, mining

and exploration of all sorts of data from all sorts of different sources

24

Page 25: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

RIM – Interoperability Focus

Data types Defined for ‘worst case’ interoperabilty scenarios;

within one system this scenario doesn’t apply HIST<X>; other means of supporting versioning Normalization of data types

Context Conduction RIM

Lacks certain classes for non-interoperability settings; change proposals are being made

01/01/201125

Page 26: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

OLTP versus OLAP

OLTP: Online Transaction Processing Persists a “stack of messages” Fast processing Query processing requires plowing through a

series of relevant transactions

OLAP: Online Analytical Processing Persists an object graph Very flexible when it comes to querying

26

Page 27: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

OLTP + OLAP

27

Page 28: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

OLAP + Data mart / view model

28

User InterfaceUser Interface

View Model/Datamart

View Model/Datamart

RIM(OLAP)

RIM(OLAP)

RIM ServicesRIM Services

Events

Commands Query

View Model /Datamart

View Model /Datamart

User InterfaceUser Interface

Page 29: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Data Marts

29

Page 30: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Database Models

EAV (“RDF Triples”) Pure EAV considered to be too slow

XML Example implementation

RDBMS (ER) Focus of the presentation

30

Page 31: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Example: RIM persistence -OntoReason / MD Anderson

31

Page 32: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Example: IBM (1/2)

32

Page 33: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Example: IBM (2/2)

33

Page 34: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Example: UMCG – RDBMS & XML

● XML in column(e.g. SQL-Server 2005)

● With XPathindex columns

Page 35: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Persistence LayerData Types

Slide contents published under the Creative Commons / Attribute-Share Alike licenseSource: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Full source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Page 36: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Hiding the complexities of the persistence model

Goal: SQL that is based on ISO/R2 data types, and more complex class structures

Object/Relational Mapping Wrap database objects (tables, columns, fields…)

in OO classes Examples: Hibernate (Java), nHibernate (.NET),

HyperJAXB, Jakarta OJB, JPOX Type definitions in databases

User Defined Types (e.g. to hide data type specifics)

Page 37: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

UDT – Data Types

User Defined Types (at the DBMS level) A form of ORM at the database level

Allows for the definition of CD with SNOMED support, II with an OID check, or PQ with UCUM validation.

Native support for HL7 datatypes in SQL. Full nullFlavor support

37

Page 38: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

UDT Example: PQ

38

Page 39: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

UDT Example: IVL<PQ>

39

Page 40: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Summary

Slide contents published under the Creative Commons / Attribute-Share Alike licenseSource: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Full source: www.ringholm.com/download/RIMBAA_overview_tutorial.ppt

Page 41: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Who uses RIMBAA ?

• Centralized archives with medical information (research/EHR)• National Cancer Registry, USA• BioBank, UK• Philips Research, NL• CDC NEDDS, USA• DRV Bund, DE

• Toolkits for application development• PHI Technology, IT• MDHT, USA• MARC-HI Everest, CA• Oracle HTB, US• dbMotion, IL

• HIS/PAS systems• Axolotl Elysium, USA• CSC Clinical Suite, DK• Siegele Software, AT• PCS, AT

Page 42: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Summary

The RIM is appropriate as a persistence model if there is a requirement for a generic data model (research, EHRs) Combine with views/datamarts for specific

domains or target audiences

Implementation of data types (library, persistence) is key

MDD (Application Generation) based on RIM-based models is definitely an option

Page 43: RIMBAA Overview

HL7 and Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Any Questions ?

Or: post your question/suggestions via •E-mail [email protected]•Twitter: @Ringholm