Vitalis 2016 FHIR App Development

Preview:

Citation preview

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

Access to health data

Ewout KramerFHIR Core team (and software developer) Furore (Amsterdam, NL)

email: e.kramer@furore.comweb: http://thefhirplace.com

http://fhir.furore.comskype: ewoutkramer

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

Common Nordic Architecture for Telemedicine

?

Align to Continua TAN-IF, PAN-IF and LAN-IF

HL7 FHIR Observation (CDG 2017 WAN-IF)

HL7 FHIR Questionnaire (CDG 2017 WAN-IF)

SOAP (Green CDA) → 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.

3

Personal Info Exchange

“In many ways this overlaps with the innovation framework labeled ‘SMART on 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.

REST AND DOCUMENTS

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

“Here is the patient’s pregnancy file”

““Pass the DICOM metadata of last visit’s MRIs”

“My training diary entries for today”

Strong notion of inter-human “bulk transfer”(of data, responsibility)

Document-based data

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

6

Beware of the document

Document based transfer is popular:

• C-CDA in the US• XDS-based infrastructure on a national scale• Aligns with practitioner-to-practitioner human

communication

But it does not fit every usecase!

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

Longitudinal data

© 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/System interactions

Helse Vest Self booking Project

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

“I’d like to reschedule my appointment”

“Which medication is the patient using?”

“Your new lab results are ready”

Strong notion of fine-grained app-to-server “communication”(of events, facts, actions)

Request/Response

© 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 problem with this approach is that the CDA is really only a container for the information.”

“The recent introduction of FHIR by HL7 is in JASON’s view a signifi cant improvement over CDA. FHIR attempts to standardize the exchange of information through a set of modular components that are called Resources”

“Data for Individual Health” – US JASON Taskforce, November 2014

Warning!

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

11

What about XDS in the Nordic countries? SE: (…) As a result, there is no national EHR

database, nor is there a demand for a document exchange infrastructure

NO: A possible future migration to XDS-based document exchange is being considered.

DK: The future for clinical exchange (…) is basically based on XDS based document exchange.

Source: Towards a Nordic Reference Architecture for Personal Connected health and care TechnologyLars Kristian Roland, Architect at the Norwegian Directorate of e Health; Johan Eltes, Deputy CTO Inera AB, Thor Schliemann, Architect atthe Danish Health Data Authority.

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

SMART ON FHIRIntegrating in the EMR

12

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

Objective In early 2010, Harvard Medical School and Boston Children’s Hospital began an interoperability project with the distinctive goal of developing a platform to enable medical applications to be written once and run unmodified across different healthcare IT systems. The project was called Substitutable Medical Applications and Reusable Technologies (SMART).

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

14

Motivation….

Turn bright ideas into real apps Take away the technology burdens

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

Why ?

App choice (substitutability) for users

Low barriers to entry for developers

Apps can run in systems by different vendors

Apps can run in different contexts (e.g. EHR

and Patient Portal)

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

SMART The App Platform for Healthcare

Open source development tools and resources

Standard formats and protocols for healthcare data

Public gallery to connect apps and users

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

17

SMART = 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.

SMART Authorization

Based on OAuth2 standard

Two launch workflows EHR/Portal Launch – user picks an app from

within EHR (EHR can pass along context like encounter and patient)

Standalone Launch – user launches app and picks an EHR server (can run from mobile devices)

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

SMART Authorization

Slightly simplified - details at: http://docs.smarthealthit.org/authorization/

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

20

Agree on actual codes

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

21

Additional constraints

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

22

App Gallery

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

23

Growth analyzer

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

Run a demo…

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

Launch context

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

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

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

28

CDS-HooksEMR

Medication-prescribe

Order-review

Patient-view

Events in theEMR

External services hooked to the events

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

Source: https://github.com/cds-hooks/cds-hooks/wiki

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

Live demo

Try: http://hooks.fhir.me/#"activity":"medication-prescribe"

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

Uses for CDS hooks

Opening patient record prompts action in trial selection system

Placing a medication order prompts (pricing/interaction) guidance in EHR

Placing a medication order returns medication info in foreign language of patient

Opening a patient adds links to apps with detailed genomic results

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

32

Common theme

SMART and CDS-hooks open up the EMR as a platforms in which 3rd-parties can become part of the workflow

3rd party suppliers can provide more specialized functionality than an EMR would every implement

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

Argonaut Project Initiative to get FHIR and SMART ready for broad use by

testing standards with widely adopted EHR systems Founding organizations:

EHR Vendors: athenahealth, Cerner, Epic, McKesson, MEDITECH, Surescripts

Healthcare Organizations and Companies: Beth Israel Deaconess Medical Center, Intermountain Health,

Mayo Clinic, Partners Healthcare System, SMART at Boston Children’s Hospital Informatics Program, The Advisory Board Company, Accenture

Implementation program – free to participate 20+ vendors Series of development sprints

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

34

© 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 Questionnaire for? Questionnaires are a typical means for

capturing information from humans Both within and outside of healthcare

Provide great control over data capture What data is requested How question is phrased Constraints on allowed responses In what order questions are presented Under what circumstances information is

needed

© 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

Item/question

Item-group

Nested Item/question

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

37

Questionnaire(Response)

Questionnaire: The “Definition” of the content to be captured What questions(items) are to be asked when and

how? QuestionnaireResponse: A completed (or

partially) completed instance of a Qnnaire There may be hundreds (or thousands) of

QuestionnaireResponses for one Questionnaire QuestionnaireResponses can exist without a

Questionnaire at all (paper, legacy)

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

38

Questionnaire model

Linkid: ties questionnaire and responseRequired: yes/noRepeats: yes/no

status: Is this questionnaire still active?date: When did this status become effectivesubjectType: What must QuestionnaireResponse.subject be?concept: Code for the overall questionnaire

Nests!

© 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

Item types

There are 3 main types of items in a questionnaire: display – Cannot have an answer or nested items

– just text for display group – Cannot have an answer and must have

nested groups and/or questions question (abstract) – Can have an answer, but

may also have nested items

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

40

QuestionnaireResponse

Author, source and subject!

Here’s linkId again!

Answer can point to a real Resource!

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

41

Example Questionnaire / Response workflow

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

42

Standard FHIR services

Questionnaire/$populate Generate a QuestionnaireResponse for a specified

Questionnaire, optionally filling in data from a local or submitted data

Requires business logic in server to know “how” to populate

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

43

Usage

Forms in apps US ‘Structured Data Capture’ (SDC) project

Pre-population of forms from CDA R2 data http://wiki.siframework.org/

Structured+Data+Capture+Initiative http://hl7.org/fhir/sdc/sdc.html

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

44

Render-a-Questionnaire

http://smartq.azurewebsites.net/Home/SelectSurvey

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

45

C3-PRO + ResearchKit

Source: http://c3-pro.chip.org/architecture.html

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

46

Caveat

There is overlap between Questionnaires and other Resources

Questionnaire's flexible structure can easily be misused to capture any data

Choice between Questionnaires or Resources may be dictated by the procedure of collection and recording

No binary choice!

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

DEVICE OBSERVATION – A PROFILE

47

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

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

49

Points of Interest

Subject: the Patient and/or the Device

effective[x] and issued

Component versus Related

Device and DeviceMetric

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

50

Example instance

http://spark.furore.com/fhir/Observation/satO2?_format=xml

http://hl7.org/fhir/observation-example-satO2.html

Take a look at the xml!

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

51

Continua WAN

Uses IEEE 11073 and IHE-PCDProfile

Semantically equivalent toFHIR DeviceMetricObservation profile

(FHIR will be used in 2017 CDG WAN-IF?)

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

52

IEEE 11073 in FHIR

DeviceComponent Resource(any medical device that does not represent a metric, e.g. MDS, VMD, or Channel)

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

53

IEEE 11073 in FHIR

DeviceMetric Resource(mandatory static properties that characterize a direct or derived, quantitative or qualitative biosignal measurement, setting, or calculation produced by a medical device)

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

54

DeviceMetric Observation Constrained version of Observation

Subject: only Patient or Device No: Encounter link, “issued”, “dataAbsentReason”,

specimen Mandatory: effectiveDateTime (not Period) Mandatory link to DeviceMetric (not to Device) 15x “Must Support”

Let’s try this in Forge Define SpO2 DeviceMetricObservation…

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

PATIENT ACCESS OR PATIENT IN THE CENTER?

55

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

Your “Mobile” device becomes the Big Aggregator and Coordinator of data and functionality

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

57

In the financial sector…

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

59

Apple ResearchKit

© 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 is the Portal? PHR?

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

61

Reality?

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

62

Reality?

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

FINALLY…

63

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

64

Tutorials All the latest information on FHIR

Connectathon Meet fellow developers Put FHIR to the test

Networking FHIR experts and

authors on hand

http://fhir.furore.com/devdays

Recommended