Top Banner
© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Catching FHIR HL7 FHIR Hands-on Training Course Ewout Kramer March 2015
88

Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

Jul 05, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Catching FHIRHL7 FHIR

Hands-on Training Course

Ewout Kramer

March 2015

Page 2: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Who am I?

Name: Ewout Kramer

Company: Furore, Amsterdam

Background:

FHIR core team, RIMBAA

Software developer & healthcare

architect

Contact:

[email protected]

www.thefhirplace.com

Page 3: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Program

Introduction to FHIR

The Resource and REST

Exercise - Requesting a Patient resource

Deconstructing the FHIR data model

Exercise - Editing a Resource Instance

Bundles

Simple search and search demo

Page 4: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

INTRODUCTION TO FHIR

Page 5: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Relative – No technology can make integration as fast as we’d like

That’s why we’re here

Building blocks – more on these to follow

The Acronym

Page 6: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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

Keep common scenarios simple

Leverage existing technologies

Provide human readability

Make content freely available

Demonstrate best practice governance

Page 7: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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

Specification is written for one target audience:

implementers

Rationale, modeling approaches, etc. kept elsewhere

Multiple reference implementations from day 1

Publicly available test servers

Starter APIs published with spec

Delphi, C#, Java – more to come

Connectathons to verify specification approaches

Instances you can read and understand

Lots of examples (and they’re valid too)

using HL7.Fhir.Instance.Model;using HL7.Fhir.Instance.Parsers;using HL7.Fhir.Instance.Support;

XmlReader xr = XmlReader.Create(new StreamRead

IFhirReader r = new XmlFhirReader

// JsonTextReader jr = new JsonTe// new StreamRead// IFhirReader r = new JsonFhirRe

ErrorList errors = new ErrorList(LabReport rep = (LabReport)ResourAssert.IsTrue(errors.Count() == 0

Page 8: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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 IN THE BOX?

Page 9: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Patient Prescription

Resources

Page 10: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

The 80/20 rule

Design for the 80%, not 100%

Only include data elements in the artifacts if 80%

of all implementers of that artifact will use the data

element

Allow easy extension for the remaining 20%

of elements

which often make up 80% of current specs

Vocabulary approach to extension definition

Page 11: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

+ =

Extensibility

Page 12: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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

Simple choice – design for absolutely

everything or allow extensions

Everyone needs extensions, everyone

hates them

Define, publish, find extensions

Repository

Documented just like resources

Can be fetched & interpreted by clients

Page 13: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

HTTP/1.1 200 OKContent-Type: application/json;charset=utf-8

Content-Length: 627

Content-Location: /fhir/Patient/1/history/1

Last-Modified: Sat, 03 May 2014 16:28:55 GMT

{"resourceType":"Patient","identifier":[{"use":"usu

al","label":"MRN","system":"urn:oid:1.2.36.146.59

5.217.0.1","value":"12345","period":{"start":"2001-

Transport

Page 14: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Just follow the industry...

Exchanges use XML & JSON

Collections represented using ATOM

Same technology that gives you your daily news

summary

Out-of-the-box publish/subscribe

Support for REST: Web calls work the same

way they do for Facebook & Twitter

Rely on HTTPS, OAuth, etc. for security

functions

Page 15: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Paradigms

FHIR supports 4 interoperability paradigms

REST Documents

Messages Services

Page 16: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

FHIR

Repository

Regardless of paradigm

the content is the same

Lab System

Receive a lab result in a message…

FHIR MessageFHIR Document

…Package it in a discharge summary document

National

Exchange

Page 17: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

DESIGN OF THE RESOURCE

Looking at FHIR Resources from a software engineering perspective

Page 18: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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

V2: Sort of like Segments

V3: Sort of like CMETs

Page 19: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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/isn’t a Resource?

Examples

Administrative

Patient, Location,

Encounter, Organization,

Clinical Concepts

AllergyIntolerance,

Questionnaire, Observation

Infrastructure

Document, Message,

Profile, Conformance

Non-examples

Gender

Too small

Blood Pressure

Too specific

Pregnancy

Too broad

Electronic Health Record

Too big

Page 20: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Resource

Narrative

Elements

ExtensionsExtensions

Structure of a Resource

Metadata

Page 21: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Structure of a Resource(XML example)

Page 22: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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

CDA taught HL7 a very important lesson

Even if the computers don’t understand 99% of

what you’re sending, that’s ok if they can properly

render it to a human clinician

This doesn’t just hold for documents –

important for messages, services, etc.

In FHIR, every resource is required to

have a human-readable expression

Can be direct rendering or human entered

Page 23: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Resources in the spec

Let’s take a look at some Resources in

the specification….

Page 24: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Composition vs. reference

FHIR makes composition and references

explicit:

References are in between Resources. No

context conduction across references – safe

retrieval as individual resources.

Composition is within a Resource: Components

have no meaning outside resource, no identity, no

separate access path except through resource

Page 25: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Composition of a Resource

Resource Root

Resource Component

Simple & Complex

elements (may be

repeating)

Page 26: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Composition

Page 27: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Diagnostic

Report

Practitioner

Patient

Observation

Page 28: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Resource Reference

Example: part of DiagnosticReport

Page 29: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

http://fhirblog.com/2014/01/24/modelling-

encounters-with-fhir/

Page 30: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Not a hierarchy!

Patient

Episode Episode

VisitVisit

Observation Order

Not an “electronic” version of a patient file…

Page 31: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

A Resource’s identity

In fact: an URL

http://server.org/fhir/Patient/1

endpoint

resource type

identifier

Page 32: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

“Business” identifiers

Page 33: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Patient

MRN 22234

“Ewout Kramer”

30-11-1972

Amsterdam

Resource metadata

Metadata

Resource Identities

http://fhir.hl7.org/Patient/23E455A3B

http://fhir.hl7.org/Patient/23E455A3B/_history/4

Last updated

2013-12-23T23:33:01+01:00

http://hl7.org/fhir/tag/profile

http://hl7.org/fhir/Profile/us-core

http://hl7.org/fhir/tag

http://example.org/fhir/Status#Test

Page 34: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

REST SERVICE INTERFACEHow FHIR uses RESTful principles to communicate Resources

Page 35: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

REST?

“REpresentational State Transfer”

Represent your data as “resources”

Make “Resources” URI addressable

Use HTTP to do CRUD operations

Resources may be exchanged using

different representations

Page 36: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Possibly distributed…

FHIR server @ hospitalA.org

Practitioner

Practitioner/87Organization

Organization/1

FHIR server @ lab.hospitalA.org

DiagnosticReport

DiagnosticReport/4445

Observation

Observation/3ff27

FHIR server @ pat.registry.org

Patient

Patient/223

subject

Page 37: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

“Repository” model of healthcare

FHIR server

Patient ObservationPatientPatient Observation

Observation

DiagnosticReportOrganization

CreateUpdate

Query

Lab System

CreateUpdate

Hospital System

CreateUpdate

Query Subscribe

Page 38: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Just a quick GET

GET /fhir/patient/1 HTTP/1.1

HTTP/1.1 200 OK

Content-Type: application/xml+fhir;charset=utf-8

Content-Length: 787

Content-Location:

http://spark.furore.com/fhir/Patient/1/_history/12

Last-Modified: Tue, 29 May 2012 23:45:32 GMT

<?xml version="1.0" encoding="UTF-8"?><Patient xmlns="http://hl7.org/fhir"><identifier><label>SSN</label><identifier><system>

http://hl7.org/fhir/sid/usssn</system><id>444222222</id></identifier></identifier><name><use>official

</use><family>Everywoman</family><given>Eve</given></name><telecom><system>phone</system><value>555-

555 2003</value><use>work</use></telecom><gender><system>http://hl7.org/fhir/sid/v2-0001</system>

<code>F</code></gender><birthDate>1973-05-31</birthDate><address><use>home</use><line>2222 Home

Street</line></address><text><status>generated</status><div

xmlns="http://www.w3.org/1999/xhtml">Everywoman, Eve. SSN:444222222</div></text></Patient>

UTF-8

encoded

See the BOM?

HTTP Verb + path

Page 39: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

A Resource’s REST identity

In fact: an URL

http://server.org/fhir/Patient/1

endpoint

resource type

identifier

Note: This URL resolves to the current version of a resource

Page 40: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Patient

MRN 22234

“Ewout Kramer”

30-11-1972

Amsterdam

Remember metadata?

Metadata

Resource Identities

http://fhir.hl7.org/Patient/23E455A3B

http://fhir.hl7.org/Patient/23E455A3B/_history/4

Last updated

2013-12-23T23:33:01+01:00

http://hl7.org/fhir/tag/profile

http://hl7.org/fhir/Profile/us-core

http://hl7.org/fhir/tag

http://example.org/fhir/Status#Test

Page 41: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Tag metadata

GET /fhir/Patient/1 HTTP/1.1

HTTP/1.1 200 OK

Content-Location: http://server.com/fhir/Patient/1/_history/12

Last-Modified: Tue, 29 May 2012 23:45:32 GMT

Category: http://example.org/fhir/Status#Test; scheme="http://hl7.org/fhir/tag"; label="Our test tag"

http://hl7.org/fhir/tag A general tag

http://hl7.org/fhir/tag/profile

A profile tag - a claim that the Resource

conforms to the profile identified in the

term

http://hl7.org/fhir/tag/security A security label

Page 42: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Mapping (meta)data toHTTP

Resource data

Resource id

Resource version

Last update date

Tags

http body

Url

Content-Location

header

Last-Modified header

Category header

Page 43: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

REST “representations”

GET /fhir/Patient/1?_format=json HTTP/1.1

HTTP/1.1 200 OK

Content-Type: application/json+fhir;charset=utf-8

Content-Length: 787

GET /fhir/Patient/1 HTTP/1.1

Accept: application/json+fhir

HTTP/1.1 200 OK

Content-Type: application/json+fhir;charset=utf-8

Content-Length: 787

Page 44: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

REST – CRUD & VERSIONSUpdating, creating & deleting single resources using REST

Page 45: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

One more look at the header

GET /fhir/Patient/1 HTTP/1.1

HTTP/1.1 200 OK

Content-Type: application/xml+fhir;charset=utf-8

Content-Length: 787

Content-Location: http://spark.furore.com/fhir/Patient/1/_history/12Last-Modified: Tue, 29 May 2012 23:45:32 GMT

Page 46: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

For a specific version…

We have the version-specific URL

http://server.org/fhir/ (continued)

Patient/1/_history/4

endpoint

resource type

identifier version id

Page 47: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Question

DO I REALLY HAVE TO IMPLEMENT

VERSIONS?

NO, You are not required to keep history, and may return

410 (Gone) on a “vread” for any request for an older version

than the current one!

Page 48: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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 the spec

Let’s look at these operations in the

specification….

Page 49: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Mapping to verbs

create 2.1.10 The create interaction creates a new resource in a server assigned location. The create interaction is performed by an HTTP POST operation as shown:

POST [service-url]/[resourcetype] (?_format=mimeType)

read 2.1.6 The read interaction accesses the current contents of a resource. The interaction is performed by an HTTP GET operation as shown:

GET [service-url]/[resourcetype]/{id} (?_format=mimeType)

update 2.1.8 The update interaction creates a new current version for an existing resource or creates a new resource if no resource already exists for the given id. The update interaction is performed by an HTTP PUT operation as shown:

PUT [service-url]/[resourcetype]/{id} (?_format=mimeType)

delete 2.1.9 The delete interaction removes an existing resource. The interaction is performed by an HTTP DELETE operation as shown:

DELETE [service-url]/[resourcetype]/{id}

Page 50: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Exercise #1

Fiddling around with Fiddler

&

Getting data from a FHIR test server

(20 minutes)

Page 51: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Exercise #1

Install Fiddler2

Try getting a single patient:

• GET a patient with id ‘example’ (on spark.furore.com/fhir)

• Look at the response headers and validate that they are correct.

• Look at the xml and try to find an extension

• Find a resource reference and fetch the referenced Resource

• Try to get the same patient in JSON

‒ Using the _format parameter

‒ Using an Accept header

When you do a GET on a resource, there is another URL presentin the header. What happens if you try to GET that url?

Page 52: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

DECONSTRUCTING THE FHIR DATAMODEL

The basic building blocks of FHIR

Page 53: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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 Elements

Resource

Narrative

Extensions

Metadata

Elements

Extensions

Primitives(integer, boolean,

string, instant)

Derived

Primitives(oid, uuid,

code, id)

Composite

Datatypes(HumanName,

Quantity, Period,

Address, Identifier )

Constrained

Types(Quantity:

Distance, Count,

Duration, Money)

use

use

use

Page 54: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Start at the bottom: Primitives

boolean xs:boolean Values can be either true or false

integer xs:int A signed 32-bit integer

decimal xs:decimalA rational number. A true decimal, with

inbuilt precision (e.g. Java BigDecimal)

base64Binary xs:base64Binary A stream of bytes, base64 encoded

instant xs:dateTime

An instant in time - known at least to the

second and always includes a

timezone.

string xs:string A sequence of Unicode characters.

uri xs:anyURI A Uniform Resource Identifier Reference.

date

union of xs:date,

xs:gYearMonth,

xs:gYear

A date, or partial date as used in

human communication. No time zone.

dateTime

union of xs:dateTime,

xs:date,

xs:gYearMonth,

xs:gYear

A date, date-time or partial date as used

in human communication. If hours and

minutes are specified, a time zone must

be populated.

Page 55: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Derived primitives

Using the ISO date/time with timezone

“1951”, “1951-06” and “1951-06-04”

“1951-06-04T10:57:34.0321+01”

“1951-06-04T10:57:34.0321Z”

Page 56: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Level up: Composite Datatypes

Page 57: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Datatypes

Let’s take a look at the “Data Types” section of the FHIR

specification at

http://www.hl7.org/implement/standards/fhir/datatypes.html

Page 58: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Coded types

Codes are defined in code systems

Page 59: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Coded types

When used in a Resource, the modelers

include Bindings

Bindings specify which codes can be used

Page 60: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Page 61: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

62

• Publication meta-

data

• Concepts from 1 or

more existing

systems

• Additional concepts

Page 62: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Level up: resources

Page 63: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

“Choice” properties

Page 64: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

References

Page 65: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Quick look at extensions

Resource

Narrative

Extensions

Metadata

Elements

Extensions

Page 66: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Extensions

Organization“ACME Hospital”National Drive 322Orlando, FL

PatientMRN 22234“Ewout Kramer”30-11-1972Amsterdam

+ Haircolor BROWN

+ Taxoffice Id NLOB33233

You can extend:

- Resources

- Elements of Resources

- FHIR Datatypes

Page 67: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Extending a multiple birth

Key = location of formal definition

Value = value according to definition

Page 68: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Complex extensions

Page 69: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Quick look at narrative

Resource

Narrative

Extensions

Metadata

Elements

Extensions

Page 70: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Narrative

Page 71: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Exercise #2

Editing a Resource Instance -

by hand!

(45 minutes)

Page 72: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Exercise #2

Store the patient from last exercise somewhere on your machine.

Look up the Patient resource and update it to match your own situation.Lookup the specification of Patient to see if there are other relevant elements you could use

Try to add an extension for your hair color

Try creating a new patient on the FHIR server withthis data

Why is hair color not a standard element on Patient?Would you make an extension for it? Are there (better?) alternatives for communicating a hair color?

Page 73: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

BUNDLESHow FHIR uses Atom to communicate sets of resources

Page 74: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Communicating lists

We need to communicate lists of Resources

Search result

History

Documents or messages

Multiple-resource inserts (“batches”)

So, we need an industry-standard to

represent lists, and a place to put our

metadata

Page 75: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Bundle

Resource

Narrative

Elements

ExtensionsExtensions

Resource

Metadata

Bundle

Metadata

Resource

Resource

Page 76: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Bundles

Atom RFC 4287 + Tombstones RFC 6721

Poll-based protocol for keeping up-to-date

with newsfeeds (RSS and Atom)

You can “subscribe” to a FHIR feed and get

updates

Page 77: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

An example Bundle

Page 78: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Patient

MRN 22234

“Ewout Kramer”

30-11-1972

Amsterdam

Resource metadata

Metadata

Resource Identity

http://fhir.hl7.org/Patient/23E455A3B

Last updated

2013-12-23T23:33:01+01:00

http://hl7.org/fhir/tag/profile

http://hl7.org/fhir/Profile/us-core

http://hl7.org/fhir/tag

http://example.org/fhir/Status#Test

Page 79: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Resource Entry

Resource id

Last modified

Resource content

Human-readable form,

just like Resource.text

Tags

Version specific id

Page 80: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

SEARCH FUNCTIONALITY

Page 81: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Getting “all” patients

http://server.org/fhir/Patient

Always returns a paged feed

Use _count to indicate number of results per page

Special case of the “real” search operation:

http://server.org/fhir/Patient/_search?name=eve

http://server.org/fhir/Patient?name=eve

Page 82: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Search (patient)

Each resource has a set of “standard”

search operations, so not every element

can be searched!:

Our last search

used this one

Page 83: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Demo

Performing simple searches

Let’s try this out

Page 84: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 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 NEXT?

Page 85: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Next Steps for you

Read the spec: http://hl7.org/fhir

Try implementing it

Come to a Connectathon!

[email protected]

#FHIR

Implementor’s Skype Channel

StackOverflow: hl7 fhir tag

Page 86: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

International Working Group Meeting

Mark Your Calendar and Join Us!

Paris, France

May 10 – 15

88

Page 87: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

International HL7 FHIR Developer DaysNovember 18-20, 2015 in Amsterdam

Education

Tutorials

Connectathon

Meet fellow developers

Put FHIR to the test

Networking

FHIR experts and authors on hand

http://fhir.furore.com/devdays

Page 88: Catching FHIR - HL7 › wp-content › uploads › 2015 › 03 › HL7... · using HL7.Fhir.Instance.Model; using HL7.Fhir.Instance.Parsers; using HL7.Fhir.Instance.Support; XmlReader

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

The End –

Questions?