FHIR - as a new currency of exchange in New Zealand

29
FHIR – the new currency and process of exchange Dr. David Hay Chair HL7 New Zealand Co-Chair FHIR Management Group Board Member HINZ Member HISO Information Architect, Orion Health www.fhirblog.com

Transcript of FHIR - as a new currency of exchange in New Zealand

Page 1: FHIR - as a new currency of exchange in New Zealand

FHIR – the new currency and process of exchange

Dr. David HayChair HL7 New Zealand

Co-Chair FHIR Management GroupBoard Member HINZ

Member HISOInformation Architect, Orion Health

www.fhirblog.com

Page 2: FHIR - as a new currency of exchange in New Zealand

Page 2 • HL7 New Zealand

Agenda

• A review of FHIR

• Evolving the Interoperability Reference Architecture with a FHIR focus

• A practical example

• What we should be doing now

Page 3: FHIR - as a new currency of exchange in New Zealand

A review of FHIR

Page 4: FHIR - as a new currency of exchange in New Zealand

Page 4 • HL7 New Zealand

A brief history & current status

• Latest HL7 Interoperability Standard

• 2 years old

• Huge international interest– Vendors

– National Bodies

– Other SDOs

• Currently DSTU-1– DSTU-2 mid next year

Page 5: FHIR - as a new currency of exchange in New Zealand

Page 5 • HL7 New Zealand

Use across all Paradigms

• Document– Discharge Summary

– Clinic Notes

– Ambulance summary

– Referral

• Message– Admin (‘ADT’)

– Lab results and orders

• REST– Mobile

– Real time access

• Service– Complex back end logic

– Decision support

REST

DocumentsMessages

Services

Same resources

across all paradigms

Page 6: FHIR - as a new currency of exchange in New Zealand

Page 6 • HL7 New Zealand

REST

Client Server

Request

Response

HTTP/S

• HTTP– Verbs

– Headers

– Status Codes

• The way the web works…– Familiar to developers

– Lots of tools

• Examples:– Add (POST [server]/Patient)

– Retrieve (GET [server]/Patient/100)

– Update (PUT [server]/Patient/100)

– Search (GET [server]/Patient?name=eve)

Page 7: FHIR - as a new currency of exchange in New Zealand

Page 7 • HL7 New Zealand

Resources

• “Resources” are:– A core part of FHIR

– Small logically discrete units of information

• Smallest unit “of interest” to healthcare

– Defined behaviour and meaning

– Known identity / location

• (usually)

• They’re the building blocks…

7

Page 8: FHIR - as a new currency of exchange in New Zealand

Page 8 • HL7 New Zealand

Main Clinical resources

• Observation

• Condition (Problem)

• DiagnosticReport

• MedicationPrescription (and others)

• AdverseReaction / AllergyIntolerance

• Immunizations / ImmunizationRecommentation

• CarePlan

• Questionnaire / QuestionnireAnswers

• ReferralRequest

• ContraIndication

• RiskAssessment

• Assessment

• Alert

Page 9: FHIR - as a new currency of exchange in New Zealand

Page 9 • HL7 New Zealand

Important Supporting Resources

• Patient

• Practitioner

• List

• Encounter / EpisodeOfCare

• Order / OrderResponse

• DocumentReference

• Appointment / AppointmentResponse / Availability / Slot / HealthcareService

• Provenance

Page 10: FHIR - as a new currency of exchange in New Zealand

Page 11 • HL7 New Zealand

ResourceNarrative

Elements

Extensions Extensions

Structure of a Resource

Metadata

Page 11: FHIR - as a new currency of exchange in New Zealand

Page 12 • HL7 New Zealand

Page 12: FHIR - as a new currency of exchange in New Zealand

Page 13 • HL7 New Zealand

Resource as a bag of DataTypes

Page 13: FHIR - as a new currency of exchange in New Zealand

Page 14 • HL7 New Zealand

References between resources

Page 14: FHIR - as a new currency of exchange in New Zealand

Page 15 • HL7 New Zealand

Profiles

• Constrains a resource/s for a specific use case

• Where extension definitions are stored

• It’s a resource like any other– Can be queried/located like any other resource

– Profile registries easy

Resource Profile

Extension

The extension points to its profile

Can be (and probably are) on different servers

HTTP://server/Profile/nzpatient#iwi

Page 15: FHIR - as a new currency of exchange in New Zealand

Page 16 • HL7 New Zealand

Other things about resources

• Collections (bundles)– Query result– Transactions– Documents– Messages

• Versioning• Tools

– XML Editor– REST client– Libraries– Test Servers

33, v12 – 2012-12-04

33, v13 – 2012-12-05

33, v14 – 2012-12-08

Patient/33/_history/12

Patient/33/_history/13

33, v15 – 2012-12-09

Patient/33/_history/14

Patient/33/_history/14

Patient/33

Page 16: FHIR - as a new currency of exchange in New Zealand

Evolving the IRA with a FHIR focus

Page 17: FHIR - as a new currency of exchange in New Zealand

Page 18 • HL7 New Zealand

Interoperability Reference Architecture

XDSCDA Archetypes

Page 18: FHIR - as a new currency of exchange in New Zealand

Page 19 • HL7 New Zealand

CDA as the unit of exchange

• Move to FHIR documents– Timing – next year earliest (DSTU-2)

– Continue with simple CDA for a while

• Migrate current CDA designs straight forward– Closed nature of our design

– Create FHIR profiles of current specs

• Modify GP2GP toolkit to support FHIR documents– FHIR document to/from object interface

– Our CDA to/from FHIR documents

– Support combined CDA/FHIR documents

• Ultimately resources are the units of exchange– Moving beyond documents

Page 19: FHIR - as a new currency of exchange in New Zealand

Page 20 • HL7 New Zealand

XDS (Record Locator)

Page 20: FHIR - as a new currency of exchange in New Zealand

Page 21 • HL7 New Zealand

Archetypes

• Formal descriptions of clinical practice– Wide clinical input

– Peer reviewed

– Sophisticated tooling

• Use profiles to map requirements to FHIR– As with CDA -> FHIR or v2 -> FHIR

• Emphasize importance of standardizing profiles– FHIR resources are engineering

– Profiles represent clinical perspective

Page 21: FHIR - as a new currency of exchange in New Zealand

Page 22 • HL7 New Zealand

Transition considerations

• If it ain’t broke…– Leave existing v2 messaging for now

• Though transformation should be straightforward

• National– Need Record Locator Service

• But with a FHIR façade – not ebXML

• Use Document metadata standard

– Need other infrastructure

• Profile registry

• OAuth2 / OpenID connect (SMART)

• FHIR enabled repositories (with Consumer access)

– Eg MLOM, Allergies

• Local– FHIR enable local systems (query at least)

• Example of Brett’s work with PMS

– Toolkit

Page 22: FHIR - as a new currency of exchange in New Zealand

Moving into clinical records:A practical example

Page 23: FHIR - as a new currency of exchange in New Zealand

Page 24 • HL7 New Zealand

Moving beyond exchange

• Resources as basis of storing clinical notes

• Theme:– A mobile application for a clinician

– Collect and present clinical information about a patient

• Previous encounters

• Lab Data

• Documents

– Record details of an encounter

– Schedule encounters

– Make orders for Labs, meds etc.

– Get Decision support

– Save a summary in a Document Repository

Page 24: FHIR - as a new currency of exchange in New Zealand

Page 25 • HL7 New Zealand

The app

• Not considering:– Security

– App architecture

– Other infrastructure

Page 25: FHIR - as a new currency of exchange in New Zealand

Page 26 • HL7 New Zealand

Clinical Scenario

• First consultation– Complaining of pain in the r) ear for 3 days with an

elevated temperature. On examination, temperature 38.5 degrees and an inflamed r) ear drum with no perforation. Diagnosis Otitis Media, and prescribed Amoxil 250mg TDS for 5 days

• Follow up consultation– 5 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 and advised not to take penicillin in the future.

Condition

Observation

Med

Adv Rean.

Allergy

Encounter

5 year old boyPatient

Page 26: FHIR - as a new currency of exchange in New Zealand

Page 27 • HL7 New Zealand

Looking at the relationships

Page 27: FHIR - as a new currency of exchange in New Zealand

Page 28 • HL7 New Zealand

Creating a summary document

Page 28: FHIR - as a new currency of exchange in New Zealand

What should we be doing now

Page 29: FHIR - as a new currency of exchange in New Zealand

Page 30 • HL7 New Zealand

Practical next steps

• Form a local community– Multi-discipline

– FHIR is coming, it’s not ‘IF’ any more…

• Learn the specification– It’s very readable

– Play with the test servers

• Profiles and archetypes

• CDA to FHIR documents– The babelFish (toolkit)

– Design work

Thanks for listening!

• Stand up test services– Record Locator Service

– FHIR repositories

– Security infrastructure

– Profile registries

• Support innovation – and innovators– Clinicians Challenge version 2?

– Especially mobile