The Clinical Information Modeling and ... - FHIR DevDays€¦ · Mark Kramer, MITRE Corporation...

Preview:

Citation preview

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7 HL7®, FHIR® and the flame Design mark are the registered trademarks of Health Level Seven International and are used with per mission.

Redmond, June 10 – 12 | @HL7 @FirelyTeam | #fhirdevdays | www.devdays.com/us

The Clinical Information Modeling and Profiling Language (CIMPL)

Mark Kramer, MITRE Corporation mkramer@mitre.org

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

1 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Introduction

Mark Kramer

• Chief Engineer for Health Technical Center at MITRE Corporation

• Non-profit, federally-funded research and development center working in the public interest

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

2 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

FHIR Profiling Methods You Probably Know:

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

3 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

clinical information modeling and profiling language

High level language for creating FHIR profiles

Another you probably don’t:

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

4 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Profile Editors

User Interface

Structure

Definitions

+

IG config

Implementation

Guide, Profiles

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

5 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Approach

Object Oriented

Declarative

Language

IG,

Profiles

Data

Dictionary

Graphical

View

Class

Browser

Execute

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

6 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Why a Textual Language?

• Grammar is designed to concisely express exactly what you need to

• Complex projects are much easier when you use a language

• 10x faster & more agile

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

7 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Ideal Profiling Process

Problem Definition

Clinical Information

Information Model

Resource Mapping

FHIR Artifacts

Implement Deploy

& Use

Clinician/User/Business Analyst

Modeler/Informaticist/Terminologist

Implementer

Clinician/User

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

8 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

In reality... Consult

Add

Modify

Refactor

Rename Rethink

Revert

Redo

Repeat

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

9 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Agile Profile Development in CIMPL

• Write once, use many times

• Global search & replace (your BFF )

• Source code control (with meaningful diffs)

• Distributed, collaborative development

• All major FHIR versions at once

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

10 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Sample

Generates a StructureDefinition with 2760 lines of JSON

Use any text editor (but try our Visual Studio Code plug-in)

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

11 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Sample Object-oriented paradigm

Parent class from CIMPL Class Library

(aka Objective FHIR)

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

12 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Sample

New property

(becomes extension)

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

13 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Sample

Constraints

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

14 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Sample

fixed-value

constraint

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

15 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Sample

cardinality

constraints

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

16 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Sample

Slicing

constraint

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

17 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Value Set Definition in CIMPL

implicit

explicit

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

18 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Reviewing Changes in Github

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

19 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Distributed, Collaborative Development

(mCODE development, February 16-20, 2019)

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

20 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

clinical information modeling and profiling language

Advanced Features

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

21 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL is Object-Oriented

• Create classes by subclassing, extending, constraining

• Base class library “Objective FHIR”

• Objective FHIR ("OBF") is an object-oriented abstraction of FHIR

• OBF provides a consistent view of DSTU 2, STU 3 and R4 and makes

resulting profiles more interoperable

• Example: Consistent modeling of body locations

http://standardhealthrecord.org/cimpl-doc/cimpl6ObjectiveFHIR/

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

22 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Reusability Superior Interoperability

• Everything in CIMPL is reusable

• Anything can be subclassed

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

23 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Multiple FHIR Versions: Semantic Compatibility

FHIR

DSTU 2 (2015)

FHIR

STU 3 (2017)

FHIR

R4 (2019)

• Argonaut Data Query

• Apple Health Records

• Epic

• Cerner

• mCODE

• Argonauts Provider Directory

• Argonauts Scheduling

• US Core

• CMS Blue Button 2.0 IG

• DaVinci Project

?

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

24 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Approach

One Source

IG,

Profiles

In DSTU2

Execute

IG,

Profiles

In STU3

IG,

Profiles

In R4

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

25 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

CIMPL Class Library (aka Objective FHIR)

http://standardhealthrecord.org/guides/obf/ (Implementation Guide)

http://standardhealthrecord.org/guides/obf/modeldoc.html (model browser)

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

26 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Getting Started http://standardhealthrecord.org/cimpl-doc/

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

27 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Proven Framework http://build.fhir.org/ig/HL7/fhir-mCODE-ig/branches/master/index.html

Tomorrow @ 10:15 in Lassen

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

28 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

clinical information modeling and profiling language

Questions?

© 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

29 © 2019 The MITRE Corporation. All rights reserved. Approved for public release. Distribution unlimited 18-03443-7

Exported Data Dictionary

Recommended