Introduction To Fhir: Grahame Grieve July 10, 2014
Introduction To Fhir: Grahame Grieve July 10, 2014
FHIR
Grahame Grieve
July 10, 2014
© 2013 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
This presentation
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
The “FHIR” Acronym
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
What is FHIR?
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Genesis of FHIR
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Genesis of FHIR
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Genesis of FHIR
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR Development
Progress
July 2011 – Conception
Aug/Sept 2012 – First Draft Ballot
Sept 2012 – First Connectathon
Aug/Sept 2013 (now) – First DSTU ballot
DSTU = Draft Standard For Trial Use
January 2014 – DSTU finalised
~June 2015 – 2nd DSTU
Late 2016? – Normative Version
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR PRINCIPLES
9
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR Manifesto
Focus on Implementers
Target support for common scenarios
Leverage cross-industry web technologies
Require human readability as base level of
interoperability
Make content freely available
Support multiple paradigms & architectures
Demonstrate best practice governance
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Implementer Focus
XmlReader xr = XmlReader.Create(
Publicly available test servers new StreamRead
IFhirReader r = new XmlFhirReader
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Support “Common”
Scenarios
Focus on scenarios implementers ask for
Inclusion of content in core specification is
based on core content rule
“We only include data elements if we are confident
that most normal implementations using that
resource will make use of the element”
Other content in extensions (more on this later)
Easy to say, governance challenge to achieve
Resources are simple and easy to
12
understand and use
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Web technologies
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Human Readable
14
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Freely available
15
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR is Better
16
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR & Cost of
Integration
These factors will drive down the cost of
integration and interoperability
Easier to Develop
Easier to Troubleshoot
Easier to Leverage in production
More people to do the work (less expensive
consultants)
Competing approaches will have to match the
cost, or disappear – effect is already being felt
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Future impact of FHIR
1
9 © 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
REST
Outcomes
Simple stable interfaces
High Performance / Scalability
Visible Process (e.g. can debug)
Portability
Reliability (resistance to failure)
2
0© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
REST in practice
Example:
A device that monitors a patient %02 Sat
Raises an alarm on EHR if it’s too low
EHR can turn the alarm off
RPC:
POST http://acme.org/devices/turnOffAlarm
Parameters: device id, alarm id
REST:
POST http://acme.org/devices/[deviceid]/[alarmid]
Content: data to say “Alarm is off”
2
4© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
RPC vs REST
RESTful Documents
Messages Services
26
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Documents
Similar to CDA
Collection of resources bound together
Root is a “Composition” resource Documents
27
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Messages
Can be asynchronous
28
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Service Oriented
Architecture (SOA)
Do whatever you like
(based on SOA principles)
Services
Ultra complex workflows
Ultra simple workflows
Individual resources or collections (in Atom or
other formats)
Use HTTP or use something else
Only constraint is that you’re passing around FHIR
resources in some shape or manner
29
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Paradigms
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR RESOURCES
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Resources
“Resources” are:
Small logically discrete units of exchange
Defined behaviour and meaning
Known identity / location
Smallest unit of transaction
“of interest” to healthcare
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
What’s a Resource?
Examples Non-examples
Administrative Gender
Patient, Practitioner, Too small
Organization, Location, Electronic Health Record
Coverage, Invoice
Too big
Clinical Concepts
Blood Pressure
Allergy, Condition, Family
History, Care Plan Too specific
Infrastructure Intervention
Document, Message, Too broad
Profile, Conformance
33
Goal: 100-150 total
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
DSTU Resource List
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Resource anatomy
Narrative
Defined
Structured
Data
35
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
36
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Resource Documentation
For each Resource, the specification provides:
Scope and Usage Notes
Resource Content (as UML and XML)
Terminology Bindings (what codes can you use?
Constraints (technical rules about usage)
Discussion of Implementation Issues
Search Parameters for RESTful interface
Examples, Profiles, Formal Definitions
Mappings to RIM, CDA, v2, etc
3
7© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Example Resource
Definitions : UML
3
8© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
39
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Resource elements
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
It’s all about the
resources . . .
Location
Lab
Related Patient
Person Report
Practitioner
41
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
References between
resources
42
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Rules for references
44
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Data types (cont’d)
45
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
CodeableConcept
46
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Vocabulary
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Bundles
48
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Narrative
4
9© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Narrative XHTML
51
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
The Case for Extensions
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Extensions
54
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Governing Extensions
5
6© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Example Extension
59
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Business Operations
Register a patient:
Create a Patient Resource
Admit a patient:
Create an Encounter Resource
Move a patient from one bed to another
Find and update the encounter resource
Prepare a list of medications to
administer
Search through the medication prescriptions
6 for a patient (and then apply logic)
0© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR Resource URLs
6
4© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
PROFILES &
CONFORMANCE
65
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Conformance Resources
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Conformance
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Profiles
69
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
IMPLEMENTING FHIR
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Where can FHIR be
used?
Classic in-institution interoperability
Back-end e-business systems (e.g. financial)
Regional Health Information Organizations
(RHIO)
National EHR systems
Social Web (Health) Initial
Mobile Applications Focus
71
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Architecture Options
7
2© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Implementation
Assistance
Reference Implementations – object
models, parsers, serializers, clients,
validators, utilities
Schema, Schematron, Validation Pack
1000’s of examples
Live Servers to test against
http://wiki.hl7.org/index.php?title=Publicly_Available_FHIR_Servers_for_test
ing
Connectathons
7
3© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Servers
7
4© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Other Free software
See
http://wiki.hl7.org/index.php?title=Open_Source_FHIR_implementations
Coming shortly:
“Sprinkler” – a conformance test tool for
servers
“Forge” – an editor for conformance
statements
A Value set Editor
Several implementation guide publishers
7
5© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Connectathons
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Migration – v2
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Migration – CDA
80
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
FHIR Manifesto
Focus on Implementers
Target support for common scenarios
Leverage cross-industry web technologies
Require human readability as base level of
interoperability
Make content freely available
Support multiple paradigms & architectures
Demonstrate best practice governance
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Thank you
FHIR:
http://hl7.org/fhir
Development team wiki home:
http://wiki.hl7.org/index.php?title=FHIR
Twitter:
https://twitter.com/search?q=%23FHIR
Stack Overflow:
http://stackoverflow.com/questions/tagged/hl7-fhir
82
© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.