clinicians on fhir · 2019-01-31 · it suppliers accurx active medicine advanced health & care...

84
1 Clinicians on FHIR Dr. David Hay Chair Emeritus HL7 NZ Dr. Amir Mehrkar Co-chair INTEROPen

Upload: others

Post on 10-Mar-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

1

Clinicians on FHIRDr. David Hay – Chair Emeritus HL7 NZ

Dr. Amir Mehrkar – Co-chair INTEROPen

Page 2: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

INTEROPen Board Representatives

Page 3: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Standards Organisations

Networks & Others

BCS (British Computer Society)

Digital Health CCIO Network

Digital Health CIO Network

EMIS National User Group

Innovative UK - Knowledge Transfer Network

Klas Research

NHS HACK DAY

ALBs

Care Organisations

Alder Hey NHS Foundation Trust

Belfast City Hospital

Birmingham & Solihull LDR

Birmingham & Solihull Mental Health NHS Foundation Trust

Cambridge University Hospital

Connecting Care Partnership

Dorset Health & Care Community (Dorset CCG)

Great North Care Record

Greater Manchester Health & Social Care Partnership CDO

Health and Social Care in Northern Ireland

Holding Your Hand Limited

Humber, Coast and Vale STP

Humber NHS Foundation Trust

Imperial College Healthcare NHS Trust

Lancashire and South Cumbria STP

Leeds Teaching Hospital NHS Trust HL7 UK

IHE UK

OpenEHR

PRSB (Professional Records Standards Body)

Health Education

England

Healthy London

Partnership

London Health and

Care Information

Exchange

NHS Digital

NHS England

162 Member Organisations

as of 20/11/17

Marie Curie UK

NHS Gloucestershire CCG

NHS South, Central and West CSU

NHS Lothian

North West London Care Information Exchange

North Tyneside CCG

North Yorkshire County Council (Adult Social Care Services)

Northumberland, Tyne and Wear NHS Foundation Trust

Salford Royal NHS Foundation Trust

Sheffield Health and Social Care NHS Foundation Trust

Somerset Integrated Digital Electronic Record

Taunton and Somerset NHS FT

Tower Hamlet/Newham/City Hackney/Waltham Forest CCG

University College London Hospitals NHS Foundation Trust

University Hospitals Southampton NHS Foundation Trust

York Teaching Hospitals NHS Foundation Trust

Northern Ireland CCIO Network

One HealthTech

OpenHealthHub CIC

SOCITM

techUK

Page 4: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

IT Suppliers

AccuRx

Active Medicine

Advanced Health & Care

Aire Logic Ltd

Allocate Software

Allscripts

Answer Digital

Application Insight

Atos

Boots

Blackpear

BT

Cambio + Healthcare Systems

Capgemini

Capita Health Partners

Careflow Connect Ltd

Carelink (Piksel Ltd)

Cerner

CGI Group

CharityLog

CheckWare

Clinisys

CommonTime

CSC

Cyber Media Solutions

Deepmind Health

Deontics

Docman

Docobo

Digital Cognition

Ramsey Systems

Red Embedded Systems

Restart Consulting

Ripple

Servelec

Sitekit

Soliton IT

Solutions4Health

Shaping Cloud

Specialist Computer Centres

Stalis

Sunquest

SystemC

Targett Business Technology

Tiani Spirit

Tiny Medical Apps

TotalMobile

TPP

Trisoft Healthcare Ltd

Virgin Media Business

Vision Health

Wiggly-Amps

Wolters Kluwer Health

“HealthLanguage”

X-Lab

Intersystems

JAC Computer Services Ltd

JKM Care Solutions

Kainos Evolve

Mayden

Medelinked

Medical Connections

Medxnote

Microsoft Health & Life Sciences

Microtest

MphRx

myhealth

NHS Wales Informatics Service

NoemaLife UK

Northgate Public Services

Nottinghamshire Health

Informatics Service (NHIS)

Nth Dimension

OLM Systems

Open Mapping Software

Optum International

Oracle

Orion Health

Ortivus

OTTech Healthcare Consultancy

Outcomes Based Healthcare

Phillips Healthcare

Pinnacle Health Partnership

Prederi

psHEALTH

Pumpco

Quicksilva Systems Integration Solutions

Egress

Elsevier

EMIS Health

Endeavour Health

Enovacom

Epic

Epro

everyLIFE Technologies

Experis

Forcare

FreshEHR

G2 Speech B.V

GPC Group

Graphnet Health

HCI Group (Tech Mahindra Ltd)

Health Fabric

Health Intelliegence

HealthForge

Healthcare Gateway

Healthlinked

Hospedia

Huawei Technologies

IBM

IMD-SOFT

IMMJ Systems (Mediviewer)

IMSMAXIMS

Inhealthcare

Inidus Ltd

INPSIntelerad

Intelesant

Page 5: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos
Page 6: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

About me

‣ Medical Doctor

‣ Chair Emeritus of HL7 New Zealand

‣ Co-chair FHIR Management Group

‣ Product Strategist Orion Health

‣ Blog: fhirblog.com

‣ Tooling: clinFHIR.com

Page 7: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Plan for the day

‣ Purpose of the workshop

‣ The clinical problem

‣ Creating an Information model (exercise)

‣ The basic of FHIR : resources and references

‣ Resources model and Resources Graph

‣ Create Resource instance graph using Scenario (exercise)

‣ Structured and Coded data (exercise)

‣ Making a Document (exercise)

‣ Profiling

‣ Moving from models to FHIR artifacts

‣ The Implementation Guide

‣ Last thoughts

Page 8: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Workshop Objectives

‣ Create a profiling process that works for Clinicians

‣ Develop a repeatable workshop for clinicians

‣ Introduce you to FHIR

‣ Introduce you to the clinFHIR tooling

‣ And how to use it…

‣ Describe the profiling infrastructure

Page 9: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

The road to FHIR (aka the process)

Clinical

Problem

Information

Model

Resources

Model

References

Graph

Clinician / Business Analyst

FHIR Expert / Terminology

FHIR

artifacts

Page 10: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Inspired by the London underground…

Page 11: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

The clinical problem

Page 12: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Patient Demographics

Content

Encounter Details

Content

Problems/Diagnoses

Content

Observations

Content

Medications

Content

Allergy

Content

Plan

Content

Headings:Clinical community

via PRSB Content:Data elements

NHS number

SNOMED-CT

dm+d

Free text

Transfer of Care

eDisharge

Page 13: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

IG controls

Security

controlsTechnical Artefact in

FHIR

Recipient

Organisation

Patient’s own

record

Sending

Organisation

Page 14: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Sharing a document

Shared Data

Store

Database

Discharge

Summary

Focus on the document content only…

Page 15: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Information (Logical) Model

Page 16: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Information / Logical Model

‣ What is an Information model

‣ It’s the information being shared in ‘clinician speak’

‣ A form of Logical Model

‣ Different ways to represent

‣ FHIR

‣ openEHR

‣ CIMI

Page 17: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

FHIR datatypes (in Information model)

‣ What is a Data Type

‣ Most useful ones (for now)

‣ string

‣ date

‣ Quantity

‣ CodeableConcept

‣ Coded data, eg SNOMED

Page 18: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

clinFHIR

‣ Developed as training tool

‣ Evolving!

‣ What does clinFHIR do

- View Patient data

- Logical Modeler

- Scenario Builder

- ValueSet explorer

- Extension Definition editor

- Implementation Guide viewer

Clinfhir.com

Page 19: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

clinFHIR: Server roles

‣ Specific FHIR server roles

- Data/patient – patient related (clinical)

and ‘reference’ (Practitioner,

Organization)

- Conformance – profile, extension

Definition, NamingSystem

- Terminology – ValueSet & Terminology

operations

clinFHIR

Patient

and Data

Profiles

(Conformance)Terminology

Page 20: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Demo

‣ Clinfhir.com

‣ Set the servers

‣ Public HAPI-3

‣ Describe each module, & what it is for

‣ Details for:

‣ Logical Modeler

Using the Logical Modeler

Url: clinFHIR.com

Servers: public HAPI STU3

Email: [email protected]

Password: password

Page 21: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Exercise

‣ Build an Information Model for the

Discharge Summary

‣ Notes

- Choose a unique name for the model -

?your name (no spaces)

- Make a ‘multi-resource’ model

- What information should be included?

- Organize in a way that makes sense to

you

- Use resource thinking if you want

- Choose closest datatype

- Remember to save

Url: clinFHIR.com

Servers: public HAPI STU3

Email: [email protected]

Password: password

Page 22: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Review models

‣ Individual group models

‣ Our model

Page 23: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Basics of FHIR

Page 24: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

What is FHIR

‣ An HL7 Interoperability Standard

‣ For sharing clinical information

‣ 2 main parts

‣ Content Model (Resources)

‣ Exchange Specification

‣ Extending into Clinical Knowledge

‣ Decision Support

‣ Quality Measures

‣ Also being used for persistence

‣ Supported by a large community

Page 25: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Overview of FHIR

‣ Fast Healthcare Interoperability Resources (FHIR)

‣ Consistent, simple to use content model (resources)

- Controlled extensibility

‣ Supports all paradigms of exchange

- Real-time APIs

- Documents, Messages & Operations

‣ Designed with implementers in mind

‣ Open Source, freely available

‣ Detailed on-line, hyperlinked specification (hl7.org/fhir)

‣ Freely available tooling, servers, libraries

‣ Strong endorsement and support from vendors, providers and

regulatory community (e.g. UK - INTEROpen.org, US - Project

Argonaut)

‣ Massive supporting community

Page 26: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Sharing information – different paradigms

REST

Message

FHIR

Repository

Document

Page 27: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Where can you use FHIR

FHIR

Application

PHR

FHIR

API Library

DataBase

FHIR

Integration

Engine

V3

V2

Page 28: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Sample clinical use cases

‣ Direct exchange of structured and coded clinical data

‣ Eg Discharge Summary, Progress Note, Patient sourced data

‣ Real-time access to data

‣ Mobile application

‣ Referrals

‣ Including directory infrastructure (Services, Providers…) and

scheduling

‣ Storage of clinical data

‣ Other common pattern is interface

‣ Clinical Decision Support / Quality metrics

‣ Definition and Interface

‣ CDS-Hooks

Page 29: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Timeline: Where does FHIR fit?

1980 1990 2000 2010 2020

FHIR

CDA

V3

V2

V2

1987

Start V3

1995

V3 CDA

2005

Fresh Look

2011

FHIR Release 3

2016

Page 30: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

The specification

http://hl7.org/fhir/

Page 31: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Resources: What are they?

‣ The Content model

‣ The Thing that is exchanged

- Via REST ( FHIR Restful API), Messages, Documents

‣ Informed by much past work inside & outside of HL7

- HL7: version 2, version 3 (RIM), CDA

- Other SDO: openEHR, CIMI, ISO 13606, IHE, DICOM

Page 32: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Resources: Type vs Instance

‣ ‘Type’ is the definition in the spec

‣ Like a template

‣ ‘Instance’ is a ‘filled out’ type

‣ Like a form (sort of)

‣ Take Patient:

‣ Patient type (in spec) is what can be recorded for a patient

‣ Extensions are extra

‣ An actual patient is a particular instance of the Patient type

Page 33: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Clinical Resource types

General

AllergyIntolerance

Condition (Problem)

Procedure

ClinicalImpression

FamilyMemberHistory

RiskAssessment

DetectedIssue

Care Provision

CarePlan

CareTeam

Goal

ReferralRequest

ProcedureRequest

NutritionOrder

VisionPrescription

Medication & Immunization

Medication

MedicationRequest

MedicationAdministration

MedicationDispense

MedicationStatement

Immunization

ImmunizationRecommendation

Diagnostics

Observation

DiagnosticReport

ProcedureRequest

Specimen

BodySite

ImagingStudy

Sequence

Page 34: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Resource instance example

Resource Identity &

Metadata

Human Readable

Summary

Extension with URL to

definition

Structured Data:

• MRN

• Name

• Gender

• Birth Date

• Provider

XML and JSON

<valueString value=“jedi”/>

Page 35: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Specific resource types

‣ Commonly used

‣ Patient

‣ Practitioner

‣ Observation

‣ Condition

‣ List

‣ MedicationStatement

‣ Composition

‣ Substance

http://hl7.org/fhir/

Page 36: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

References between resources

PROCEDURE

Patient

Diagnostic reportCondition

Encounter Practitioner

Page 37: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Recording a consultation

12-year-old-boy

First consultation

Complaining of pain in the right ear for 3 days with an

elevated temperature. On examination, temperature

38°C and an inflamed right eardrum with no

perforation. Diagnosis Otitis Media, and prescribed

Amoxicillin 250mg 3 times per day for 7 days.

Follow up consultation

2 days later returned with an itchy skin rash. No

breathing difficulties. On examination, urticarial rash

on both arms. No evidence meningitis. Diagnosis of

penicillin allergy. Antibiotics changes to Erythromycin

250mg 4 times per day for 10 days.

Patient

Encounter

Condition

Observation

Medication

Allergy Intolerance

Page 38: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

As linked resources…

Encounter

Pain right ear 3 days

Elevated Temperature

Temperature 38° C

Inflamed right drum

Otitis Media

Amoxicillin 250mg

No breathing difficulties

Urticarial Rash

Penicillin Allergy

Erythromycin 250mg

Encounter

Itchy skin rash

Patient

Practitioner

Asserter

Performer

Performer

Performer

Asserter

Prescriber

Performer

Performer

Performer

Asserter

Asserter

Not all references shown

Page 39: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Resources Model &References Graph

Page 40: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Resources Model

‣ Link between Information

Model and FHIR artifacts

‣ Build with Logical Modeler

‣ Need FHIR knowledge to

build

‣ Find existing profiles &

extensions

Page 41: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Demo: Create a Resources Model from an Information model

‣ Show my resources model

Page 42: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

References Graph

‣ Shows relationships between

resources graphically

‣ Uses ‘Instances’ of resource types

‣ Scenario Builder tool

‣ Don’t need FHIR knowledge

‣ but do need Resources

Model or to be able to

choose the correct resource

types

‣ Can also add data to instances

Page 43: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

References between resources

Coded Properties

type

bodySuite

indication

performer.role

complication

relatedItem.type

Other Properties

identifier (Identifier)

outcome (String)

PROCEDURE

Patient

Diagnostic reportCondition

Subject

ReportRelated Item

Encounter Performer

Encounter Practitioner

Page 44: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Demo: Resources Graph for eDischarge

‣ Show relationship between resources graphically for the

Discharge Summary

‣ Using Scenario Builder

‣ Build examples of resources

‣ Based on Resources model

‣ Add a Patient, 2 problems, a List and connect up…

Page 45: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Exercise

‣ Use Scenario Builder to build references graph

‣ Text only for now (Focus on relationships between

resources)

‣ Add Patient first..

‣ Then 2 Lists - Problem List & Allergies

‣ Then 2 Conditions, and link to Problem List

‣ Then 2 Allergies, and link to List of Allergies

‣ Saves automatically

‣ Remember:

‣ ‘Add branch’ for List

Page 46: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Lunch!

Page 47: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Structured

and coded data

Page 48: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Why have structured / coded data

‣ Structured vs Coded

‣ Value:

‣ Greatly improves quality of exchange

‣ ‘semantic’ interoperability

‣ Secondary uses

‣ Decision Support

‣ Analytics

‣ Population Health

‣ Reporting

Page 49: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Resource type structure in the spec

Page 50: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Datatypes redux…

‣ Datatypes in resource type definition

- Backbone element

- ‘choice’ data types

‣ Identifiers

‣ Review coded data

- ValueSet binding

Page 51: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Data types: Primitive

Based on w3c schema and ISO data types

‣ Stick to the “80% rule” – only expose what most will use

– Simplified

instant

Value : xs : dataTime 0..1

time

Value : xs : Time 0..1

date

Value : xs:gYear [xs:gYearMonth | Time 0..1

dateTime

Value : xs:gYear [xs:gYearMonth | xs:date | Time 0..1

decimal

Value : xs : decimal 0..1

integer

Value : xs : int 0..1

Element

Extension : Extension 0..

boolean

value : xs:boolean 0..1

string

Value : xs :string 0..1

uri

Value : xs :anyURI 0..1

base64Binary

Value : xs : base64Binary 0..1

unsignedint positiveInt code id oid

Page 52: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Ratio

numerator: Quality [0..1]

denominator: Quantity [0..1]

Quantity

value: decimal [0..1]

comparator: code [0..1] QuantityComparator!

units: string [0...1]

system: uri [0..1]

code: code [0..1]

Range

low: Quantity(SimpleQuantity) [0..1]

high: Quantity(SimpleQuantity) [0..1]

HumanName

use: code [0..1] NameUse!

text: String [0..1]

family: String [0..*]

given: String [0..*]

prefix: String [0..*]

suffix: String [0..*]

period: Period [0..1]

Identifier

use: code [0..1] IdentifierUse!

type: CodeableConcept [0..1] IdentifierType+

system: uri [0..1]

value: String [0..1]

period: Period [0..1]

assigner: Reference [0..1] Organization

Address

use: code [0..1] AddressUse!

type: code [0..1] AddressType!

text: string [0..1]

line: string [0..*]

city: string [0..1]

district: string [0..1]

state: string [0..1]

postalCode: string [0..1]

country: string [0..1]

period: Period 0...1

Coding

system: uri [0..1]

version: string [0..1]

code: code [0..1]

display: String [0..1]

userSelected: boolean [0..1]

Elementextension:

Extension 0..*

Timing

event: dataTime [0..*]

code: CodeableConcept [0..1] TimingAbbreviation?

Repeat

bounds[x]: Type [0..1] Duration|Range|Period

dount: Integer [0..1]

dountMax: integer [0..1]

duration: decimal [0..1]

durationMax: decimal [0..1]

durationUnit: code [0..1] UnitsOfTime!

frequency: integer [0..1]

frequencyMax: integer [0..1]

period: decimal [0..1]

periodMax: [0..1]

periodUnit: code [0..1] UnitsOfTime

dayOfWeek: code [0..*] DaysOfWeek!

timeOfDay: time [0..*]

when: Code [0..*] EventTiming!

offset: unsginedInt [0..1]

ContactPoint

system: Code [0..1] ContactPointSystem!

value: String [0..1]

use: Code [0..1] ContactPointUse!

rank: PositiveInt [0...1]

period: Period [0..1]

CodeableConcept

coding: Coding [0..*]

text: String [0..1]

Attachment

contentType: Code [0..1] MimeType!

language: Code [0..1] CommonLanguages+

data: base64Binary [0..1]

url: uri [0..1]

size: unsignedInt [0..1]

hash: base64binary [0..1]

title: string [0..1]

creation: dateTime [0..1]

Period

start: dateTime [0..1]

end: dateTime [0..1]

SampledData

origin: Quantity(SimpleQuantity) [1..1]

period: Decimal [1..1]

factor: Decimal [0..1]

lowerLimit: Decimal [0..1]

upperLimit: Decial [0..1]

dimensions: Positivelnt [1..1]

data: String [1..1]

Data types: Complex

Signature

type:Coding [1..*] Signature Type?

when: Instant [1..1]

who[x]: Type [1..1] uri |

Reference(Practitioner|Related

person|PatientDevice|Organization)

onBehalfOf[x]: Type [0..1]

uri|Reference(Practitioner|RelatedPers

on|Pateint|Device|Organization)

contentType: code [0..1] MimeType!

blob: base64Binary [0..1]

Annotation

author[x]: Type [0..1]

Reference(Practitioner|Patient|

RelatedPerson)|string

Time: dateTime [0..1]

Text: string [1..1]

repeat

[0..1]

Page 53: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Identifiers

‣ Identifies an object (Person) within a given system

‣ Eg National Identifier (NHI), Drivers License, HPI

‣ Main sub components:

‣ System – what ‘sort’ of identifier

‣ Value – unique within the system

‣ Defined by NamingSystem resource

Page 54: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Coded datatypes

• Code: "status" : "confirmed"

• Coding: {"system": "http://www.nlm.nih.gov/research/umls/rxnorm",

"code": "C3214954",

"display": "cashew nut allergenic extract Injectable"

}

• CodeableConcept: {"coding": [{

"system": "http://snomed.info/sct",

"code": "39579001",

"display": "Anaphylactic reaction“

}],

"text" : "Anaphylaxis"

}

Page 55: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

ValueSet

{

"resourceType": "ValueSet",

"compose": {

"include": [

{

"system": http://snomed.info/sct",

"filter": [

{

"property": "concept",

"op": "is-a",

"value": "404684003"

}

]

}

]

}

}

‣ A context specific subset of one or more

Code Systems

‣ Promotes consistency between applications

‣ Key component of Terminology

- Also CodeSystem

‣ Start thinking about in Information model

‣ Used by a number of services (Operations)

- $expand

Page 56: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Terminology Sub-system

Code System:

Defines a set of

concepts with a

coherent meaning

Code

Display

Definition

‣ SNOMED CT / LOINC / RxNORM

‣ ICPC, MIMS + 100s more

‣ ICD-X+

‣ A drug formulary

‣ Custom

Page 57: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Terminology Sub-system

Code System:

Defines a set of

concepts with a

coherent meaning

Code

Display

Definition

Value Set:

A selection of a set

of codes for use in a

particular context

Selects

Page 58: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Terminology Sub-system

Code System:

Defines a set of

concepts with a

coherent meaning

Code

Display

Definition

Value Set:

A selection of a set

of codes for use in a

particular context

Element Definition:

Type and Value set

reference

Selects Binds

‣ Binding:

– Connection between element and ValueSet

– Strength determines if can change

Page 59: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Terminology Sub-system

Code System:

Defines a set of

concepts with a

coherent meaning

Code

Display

Definition

Value Set:

A selection of a set

of codes for use in a

particular context

Element:

code/

Coding/

CodeableConcept

Element Definition:

Type and Value set

reference

Selects Binds

Refers to

Conforms

Page 60: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Terminology Sub-system

Code System:

Defines a set of

concepts with a

coherent meaning

Code

Display

Definition

Value Set:

A selection of a set

of codes for use in a

particular context

Element:

code/

Coding/

CodeableConcept

Element Definition:

Type and Value set

reference

Selects Binds

Refers to

Conforms

Definition

Instance

Page 61: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Demo

‣ Adding structured and coded data to

the resources graph

Page 62: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Exercise

‣ Add coded data to graph already built

- Add details & codes for conditions and

allergies

Page 63: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Exchange Paradigms

REST Documents

Messages Services (Operations)

Page 64: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Bundle Resource

Bundles

‣ Container resource

‣ Types of Bundle

- Searchset

- Transaction

- Document

- Message

- …

Patient Resource

List Resource

Condition Resource

Page 65: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Document paradigm

‣ Summary at a point in time

‣ Part of record

‣ Very common

‣ Discharge Summary

‣ Referral letter

‣ Progress Note

‣ Equivalent to CDA

- CDA on FHIR

Page 66: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Documents - are bundles

Patient

Practitioner

Observation

ResourceDevice

List

Condition

Composition

• Subject

• Author

• Section 1

• Section 2

List

Condition

Note: Most resources have a reference to Patient

Bundle

Page 67: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Composition resource

‣ Document header

‣ Document type

‣ References to Patient, Author, Custodian …

‣ Equivalent to:

‣ CDA header

‣ IHE XDS metadata

‣ Sections (headings)

‣ Contents are text and structured/coded data

‣ Rules for rendering

Page 68: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Documents

Encounter

Pain right ear 3 days

Elevated Temperature

Temperature 38° C

Inflamed right drum

Otitis Media

Amoxicillin 250mg

No breathing difficulties

Urticarial Rash

Penicillin Allergy

Erythromycin 250mg

Encounter

Itchy skin rash

Patient

Practitioner

Asserter

Performer

Performer

Performer

Asserter

Prescriber

Performer

Performer

Performer

Asserter

Asserter

Composition

Pain right ear 3 days

Elevated Temperature

Otitis Media

Temperature 38° C

Inflamed right drum

Amoxicillin 250mg

Patient

Practitioner

Encounter

Bundle

Page 69: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Demo

‣ Creating a Document

Page 70: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Exercise

‣ Convert scenario into a document

Page 71: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Profiling artifacts(the techie stuff)

Page 72: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Adapting FHIR to your needs: Profiling

‣ Many different contexts in healthcare, but want a single set of Resources

‣ Need to be able to describe ‘usage of FHIR’ based on context

‣ Allow for these usage statements to:

- Authored in a structured manner

- Published in a registry & Discoverable

- Used as the basis for validation, code, report and UI generation.

‣ 3 main aspects:

- Constraining a resource - remove element, change multiplicity fix values

- Change coded element binding

- Adding a new element (an extension)

‣ Profiling adapts FHIR for specific scenarios

‣ A Statement of Use

Page 73: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

For example…

Limit names to

just 1 (instead

of 0..*)

Change

maritalStatus to

another set of

codes that

extends the one

from HL7

international

Require that the

identifier uses the

NHS number – and is

required

Don’t support

photo

Add an

extension

to support

ethnicity

Page 74: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Conformance resources

‣ StructureDefinition

‣ Profile and Extension Definitions

‣ In resources model

‣ ValueSet

‣ From Information model

‣ ImplementationGuide

‣ CodeSystem

‣ ConceptMap

‣ NamingSystem

Page 75: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

International examples

‣ INTEROPen CareConnect (UK)

‣ Argonaut (US)

‣ ADHA (Australia)

Page 76: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

The ‘profile’

‣ On a single resource type

‣ Defined by StructureDefinition resource

- Same as used for core resources

‣ Defines each element

- Path, name, dataType, binding, multiplicity. mapping & much more

- Including allowable extension points

‣ Can use Forge tooling to build

- clinFHIR (and others) for learning/viewing

‣ US Core (was DAF)

- http://hl7.org/fhir/us/core/index.html

Page 77: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Extension Definitions

‣ Also a StructureDefinition

• Defines the content of a single extension

‣ Simple or Complex

‣ Complex has children

‣ Definition:

• Available on the web

• Canonical Url – Globally unique identifier

- Resolvable or Registry

‣ In resource instance:

• Reference to Canonical Url

• Recipiant can always find out definition

• Extension or ModifierExtension

Page 78: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

clinFHIR: Profiling support

‣ Extension Definition

- Create/edit

‣ Logical Modeller

- Single resource

- Resources model

‣ Generating a ‘real’

profile

‣ ValueSet builder

Page 79: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

clinFHIR: Demo (if time)

‣ Extension Definition

- Create/edit

‣ ValueSet

‣ Logical Modeler

- Single resource

- Add extension

- Change Binding

‣ Generating a ‘real’ profile

Page 80: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Implementation Guide

Page 81: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Implementation Guide

‣ Brings all the artifacts together

‣ Clinical & FHIR

‣ Demo of guide

‣ CareConnect (UK)

‣ Show allergy & condition

Page 82: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

Doing this for real

‣ Managing Expectations

‣ Analogy of building house

‣ All this is the concept plan…

Page 83: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

More information

From HL7

‣ http://hl7.org/fhir/index.html

‣ wiki.hl7.org/index.php?title=FHIR

Community

‣ http://www.fhir.org/

‣ https://chat.fhir.org/

‣ List server ([email protected] )

‣ Stack Overflow (tag FHIR)

Blogs

‣ www.healthintersections.com.au/

‣ https://fhirblog.com/

‣ https://thefhirplace.com/

‣ https://brianpos.com

Libraries

‣ Java (http://hapifhir.io/)

‣ C# (NuGet HL7.FHIR)Tooling

‣ Forge (http://fhir.furore.com/Forge)

Tooling

‣ Forge (http://fhir.furore.com/Forge)

‣ http://clinfhir.com/

Test servers

‣ http://wiki.hl7.org/index.php?title=Publicly_Available_FHIR_Servers_

for_testing

‣ https://fhirblog.com/2016/10/19/setting-up-your-own-fhir-server-for-

profiling/

Page 84: Clinicians on FHIR · 2019-01-31 · IT Suppliers AccuRx Active Medicine Advanced Health & Care Aire Logic Ltd Allocate Software Allscripts Answer Digital Application Insight Atos

That’s it!