SlideShare una empresa de Scribd logo
1 de 84
FHIR
                                              The Basics
                                             (and beyond)

                                                           Ewout Kramer
                                                           March 14, 2013



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

        Can be downloaded here (user „anonymous‟,
         no password):
                 http://gforge.hl7.org/svn/fhir/trunk/presentations/HL
                  7 UK FHIR The Basics.pptx
        Is licensed for use under the Creative
         Commons, specifically:
                 Creative Commons Attribution 3.0 Unported
                  License
                 (Do with it as you wish, so long as you give credit)
        Based on Lloyds WGM tutorial
© 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, NL)
        Background:
                 Initial participant in FHIR core team
                 Member of the HL7 RIMBAA group
                 Involved in software development of v3 based
                  systems


3

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
© 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 Need

         “How can I get data from my
         server to my iOS app?”

                 “How do I connect my applications
                 using cloud storage?”

    “How can I give record-based
    standardized access to my PHR?”

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




                                                                                                                                                        6
© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
V3 is too hard?

      • V3 puts the modeler before the implementer
      • Learning curve is too steep
      • Not easily adopted by out-of-box tools
      • Caught up in the need to do everything
      • Internationally defined specifications are not directly
             implementable




                                                                                                                                                        7
© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
January 2011
      The HL7 Board initiated

      “Fresh Look”
                                                                                                             Grahame Grieve
      “What would we do if we were
      to revisit the healthcare
      interoperability space from
      scratch?”


                                                                                      Lloyd McKenzie Ewout Kramer
© 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 PRINCIPLES


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



© 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 target audience:
         implementers
        Publicly available test servers
        Starter APIs published with spec (Java, C#, …)
        Connectathons to verify specification approaches
        Lots of examples (and they‟re valid too)



11

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

        You should be able to “figure it out” over a
         weekend.
        Easy to get started, grow into the spec for
         more complex scenario‟s
        Don‟t try to cover all: inclusion of content in
         core specification is based on “80% of
         implementers” rule
        “Drive by interoperability”
12

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

     XML, Json, ATOM
                                                                                  UML class diagram, eCore

          Xsd, Schematron
                                                                                       REST API like
                                                                                       Facebook & Twitter

                      HTTPS,                                                      NoSql, Amazon
                      OAuth                                                       S3, Lucene
13

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



                                                                 Governance
                                                                    FGB


                                          Methodology                                Management
                                             MnM                                        FMG




        Content                                                  Content
       Core Team                                               Work Groups
14

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


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




                                  Patient                                                                    Prescription



© 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




                                              +                                                   =


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




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




                                                                                 HTTP/1.1 200 OK
                                                                                 Content-Type: application/json;charset=utf-8
                                                                                 Content-Length: 627
                                                                                 Content-Location: /fhir/person/@1/history/@1
                                                                                 Last-Modified: Tue, 29 May 2012 23:45:32 GMT
                                                                                 ETag: "1“

                                                                                 "Person":{"id":{"value":"1"},"identifier":[{"type":{"co
                                                                                 de":"ssn","system":"http://hl7.org/fhir/sid

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


© 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/storage
                 Defined behaviour and meaning
                 Known identity / location
                 “of interest” to healthcare
                 Defined by HL7 committees
                 About 100-150 in total

                 V2: Sort of like Segments,
21               V3: Sort of like CMETs
© 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 a Resource?

     Examples                                                                            Non-examples
           Administrative                                                                     Gender
                   Person, Patient, Visit,                                                            Too small
                    Organization, Coverage,                                                    Electronic Health Record
                    Invoice
                                                                                                       Too big
           Clinical Concepts
                                                                                               Blood Pressure
                   Allergy, Problem,
                    Questionnaire, Care Plan                                                           Too specific

           Infrastructure                                                                     Intervention
                   Document, Message,                                                                 Too broad
                    Profile, Conformance

22
 © 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 diagram




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

        Description (definition, scope)
        UML diagram
        Simple pseudo-XML syntax
        Vocabulary bindings
        Constraints (validation)
        Notes
        Search Criteria
        Data dictionary
        Example instance
        Schema
24

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

        Each resource is modeled using developer friendly
         XML
                 XML does not reflect RIM-based modeling
                 No classCodes, moodCodes, etc. visible
        Uses a variant of the ISO datatypes




25

© 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



                                                                                                                                              Narrative




                                                                                                                                              Defined
                                                                                                                                             Structured
                                                                                                                                                Data




26

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


27
 © 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:
                 Z-segments in v2
                         What does this mean?
                              • ZSB|20080117|Q^57|4.30^uL
                 Foreign namespaces in CDA/V3
                         Break schemas
28

© 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 without the
     pain…
        Extensions are not a dirty word, they will be
         common
        Extensions are built into the wire format
                 All conformant systems can “handle” any possible
                  extension - Just a bucket of “other stuff”
        Framework to define, document, publish,
         find extensions


29

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




30

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


                                                                              Key = location of formal definition




                                                                        Value = value according to definition




31

© 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 PROFILES &
          CONFORMANCE

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

        Defines what „your jurisdiction‟ needs to
         communicate and store
        Defined by HL7 Int, Country, Region,
         Organization, Project
        Accessible on-line – via URL
        Structured, computer readable, used for
         validation
        In fact, it‟s a Resource itself

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Profile (cont’d)




34

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

        Constrain existing resources or profiles
        Define new extensions
        Define new bindings
        Define messaging events, search operations

        Subsumes: template, implementation
         profile, DCM (Detailed Clinical Model), etc.

35

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

        There‟s a resource for documenting conformance
         to FHIR
        Can be used for:
                 Stating how a specific system instance behaves
                 Defining how a software system is capable of behaving
                  (including configuration options)
                 Identifying a desired set of behavior (e.g. RFP)
        To declare themselves “FHIR Conformant”, a
         system must publish a Conformance instance
36

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Conformance (cont’d)




37

© 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




38

© 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

        Regardless of paradigm the content is the same
        This means it‟s straight-forward to share content
         across paradigms
           E.g. Receive a lab result in a message. Package
             it in a discharge summary document
        It also means constraints can be shared across
         paradigms
           E.g. Define a profile for Blood Pressure and use it
             on resources in messages, documents, REST and
             services
39

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




        Simple, out-of-the-box interoperability
        Leverage HTTP: GET, POST, etc.
        Pre-defined operations
                 Create, Read, Update, Delete
                 Also: History, Read Version, Search, Updates,
                  Validate, Conformance & Batch
        Works best in environments where control
         resides on client side and trust relationship
         exists
40

© 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/person/@1
     HTTP/1.1 200 OK                                            UTF-8
     Content-Type: text/xml+fhir;charset=utf-8                  encoded
     Content-Length: 787
     Content-Location: http://fhir.furore.com/fhir/person/@1/history/@1
     Last-Modified: Tue, 29 May 2012 23:45:32 GMT

     <Person 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></Person>




41
 © 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 Document
                                                                                                                 Documents




         Document Resource
                                                                                           Similar to CDA
              Section
                                          Section                                          A point in time
                                                                                            collection of
                       Observation Resource                                                 resources, bound
                                                                                            together
                       Device Resource
                                                                                                   Root is a “Document”
                                                                                                    resource
                        Prescription Resource
                                                                                                   Just like CDA header
                        Person Resource                                                    One context
42
                                                                                           Can be
                                                                                            signed, authenticated,
© 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 Message
                                                                                                        Messages




      Message Resource                                                                 Similar to v2 and v3 messaging:
        source     destination                                                          event codes, defined content for
                          event                                                         request and response.
                                                                                       Also a collection of resources
                                                                                        which includes a “Message”
              Observation Resource                                                      resource, similar in purpose to
                                                                                        Message wrapper and MSH
                                                                                        segment
                       Device Resource
                                                                                       Sent as a result of some real-world
                                                                                        event intended to accomplish a
                                                                                        particular purpose

               Person Resource

43

© 2012 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, email, FTP, sockets…only constraint is
                  that you‟re passing around FHIR resources in
                  some shape or manner
44

© 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 on the wire




                           XML                                                                                   JSON
45

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

© 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 IDENTITY AND
          REFERENCES

47
 © 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
                                                                                                           resource type


                 http://server.org/fhir/person/@1

                                                             base path                                                               identifier




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




48

© 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

                                                             base path

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

                                       person/@1/history/@4

                                                                identifier                               version id




49

© 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




50

© 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




                                                                            “Refers to…”



51

© 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




52

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




                                                                                        “Contains”




53

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




54

© 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


55
 © 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 as Atom

        Operations like “search” and “history” return
         lists of resources
        The natural way to represent lists in a Web
         context is using Atom feeds
        Advantages:
                 Industry standard – platform support
                 Subscribe to a feed for changes (Outlook!)
                 Room for metadata


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

        REST id
        Version-specific reference
        Last updated
        Type of Resource
        Author
        …
        Maps well to Atom Entries

57

© 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
     (Atom)
                                                                                                      Here‟s the resource‟s id

                                                                                                                 Some more meta-data
            1



                                                                                                                       The resource itself




                                                                                                            Human-readable form,
                                                                                                            just like Resource.text
     2
58

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

      Document Resource                                                                                       Message Resource
          Section                                             Atom Feeds!                                       source      destination
                                 Section                                                                                      event


                 Observation Resource                                                                               Observation Resource


                 Device Resource                                                                                           Device Resource


                  Prescription Resource


                  Person Resource                                                                                    Person Resource



                                       “Flat” lists of Resources, with a Document or
                                       Message resource as the first feed entry
59

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


60
 © 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”
        Based on a dissertation by Roy Fielding from
         2000
        Roy Fielding is one of the principal authors
         of the Hypertext Transfer Protocol (HTTP)
         specification versions 1.0 and 1.1
        Make systems use the “web” like humans do

61

© 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 Glory of REST




                                Source: http://martinfowler.com/articles/richardsonMaturityModel.html
62

© 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/person/@1
     HTTP/1.1 200 OK                                                                             Verb
     Content-Type: text/xml+fhir;charset=utf-8
     Content-Length: 787                                                                                                                  Header
     Content-Location: http://fhir.furore.com/fhir/person/@1/history/@1
     Last-Modified: Tue, 29 May 2012 23:45:32 GMT

     <Person 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></Person>
                                                                                                                      Body
63
 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Instance-level ops

     Read - Read the current state of the resource
             GET /fhir/person/@1

     VRead – Read the state of a specific version of the resource
            GET /fhir/person/@1/history/@4

     Update – Update an existing resource by its id (upsert)
             PUT /fhir/person/@1

     Delete – Delete a resource
              DELETE /fhir/person/@1

     History – Retrieve the update history for the resources
              GET /fhir/person/@1/history
64
 © 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 type-level ops

     Create – Create a new resource with a server-assigned id
             POST /fhir/person

     Search – Search the resource based on some filter criteria
             GET /fhir/person/search?name=x&gender=y
             GET /fhir/person

     History – Retrieve the update history for a particular resource type
              GET /fhir/person/history?_since=xxxx

     Validate – Check that the content would be acceptable as an update
              POST /fhir/person/validate/@1


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

     Conformance – Get a conformance statement for the system
            GET /fhir/metadata

     Batch – Update or create a set of resources
             POST /fhir

     History – Retrieve the update history for all resources
              GET /fhir/history?_since=xxxx




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

67
 © 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 home)




68
                                    http://hl7.org/fhir
© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
On the FHIR website

        Under “Implementation”…
        A zip with all schema‟s + schematron to
         validate Xml messages
        A zip with all examples (in both xml and json
         format).
        Delphi.zip, Java.zip, CSharp.zip
        The whole website (multiple html files) or
         book (=1 BIG html file)
69

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




70

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



                .INI



                                                Publication tool
                                              (org.hl7.fhir.tools.jar)
                   Website               Examples                  Resource                  Java, C#,
                                                                   UML                       Delphi
                     Validation
                     Schema‟s                   DictXml                 Resource                                             eCoreDefinitions.xml
                                                                        profiles



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

        http://gforge.hl7.org/svn/fhir/trunk
        All presentations (/presentations)
        All Resource source files (Excel) (/source)
        Source of the publication process (/tools)
        Archived older versions of FHIR (/archive)
        Help extend generation, use
         eCoreDefinitions (/publish)
        We use Eclipse + Java 1.6
72

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


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

              v3                                                              App
                                                                                       FHIR
                                   v2
                                                                                                                                           FHIR
                                                                              PHR
                        Broker


                                                                                                                                         Comm.
                                                                                                                                        Interface


                            FHIR
                                                                                                                                          DB


74

© 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

                  HIS                      LIMS                     PACS                         SystemX                              Gateway


                                                          FHIR                       FHIR
                              FHIR                                                                             FHIR                           FHIR




                                             Vendor Neutral Repository




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

              App
                                                        • Get data from UI in/out of an Object model
                                                        • Manipulate Object model                                                      √
                   FHIR
                                                        • Serialize object model to FHIR XML or Json
                                                        • Use HTTP API to send data to server                                          √
                                                        • Use a REST framework to receive calls




               PHR
                                                        • Deserialize XML or Json or
                                                        • Deserialize XML or Json into Object model                                     √
                                                        • Store Object model in a database

76

© 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
Object Model
                                              [FhirResource("DiagnosticReport")]
                                              public partial class DiagnosticReport : Resource
                                              {
                                                public Code<ObservationStatus> Status {…}

                                                   public Instant Issued {…}

                                                   public ResourceReference Subject {…}

                                                   public ResourceReference Performer {…}

                                                   public Identifier ReportId {… }

                                                   public
                                                    List<DiagnosticReportRequestDetailComponent>
                                                        RequestDetail { …}



77

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

      Patient ewout = new Patient();

      ewout.Details.Name
           .Add(HumanName.ForFamily("Kramer")
                .WithGiven("Ewout"));

      string jsonEwout = FhirSerializer.SerializeResourceAsJson(p);


      and ofcourse:

      Patient ewout = FhirParser.ParseResourceFromJson(jsonEwout);



78

© 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


           FhirClient client = new FhirClient(new
               Uri("http://fhir.someendpoint.com/svc/fhir"));

           Patient ewout = client.Read<Patient>("1");

           ewout.Details.Name
                  .Add(HumanName.ForFamily("Kramer")
                          .WithGiven("Ewout"));

           ewout = client.Update<Patient>(ewout, "1");




79

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


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

        September 2011
        First “preview” version of FHIR called
        Resources for Health


                 September 2012
                 First draft for comment ballot
                 Focus on infrastructure


                          January 2013
                          Second draft for comment ballot
                          First content resources by PA & Pharmacy



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

        Next cycle will be first Draft Standard for Trial Use ballot
         (DSTU)
                 Will likely take ~1 year to complete that process
                 Will provide a semi-stable platform for implementers while still
                  allowing non-backward-compatible change for Normative version
                  if implementation experience dictates
        Normative is probably 3+ years out
                 We want *lots* of implementation experience before committing to
                  backward compatibility




82

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

        Address issues coming out of this ballot cycle
                 >700 comments raised
        Add in many more clinical resources
                 Hope to have full support for C-CDA for DSTU
        Additional resources will continue to be
         introduced in future DSTU cycles as
         implementers identify needs
        Continue to seek testing & real world
         implementation experience
83

© 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

       Attend the FHIR Implementers tutorial
      Read the spec: http://hl7.org/fhir
      Comment on the wiki (link from FHIR spec)
      Join the FHIR email list
     http://wiki.hl7.org/index.php?title=FHIR_email_list_subscri
     ption_instructions
      Follow #FHIR on Twitter
      Make Ballot comments
        Try implementing it
        Come to a Connectathon!
84

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

Más contenido relacionado

La actualidad más candente

FHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFurore_com
 
Authoring FHIR Profiles - extended version
Authoring FHIR Profiles - extended versionAuthoring FHIR Profiles - extended version
Authoring FHIR Profiles - extended versionEwout Kramer
 
FHIR - Feel the Fire - 1
FHIR - Feel the Fire - 1FHIR - Feel the Fire - 1
FHIR - Feel the Fire - 1Jayant Singh
 
Profile and validation by Grahame Grieve
Profile and validation by Grahame GrieveProfile and validation by Grahame Grieve
Profile and validation by Grahame GrieveFHIR Developer Days
 
Nhs trusts meeting at salford
Nhs trusts meeting at salfordNhs trusts meeting at salford
Nhs trusts meeting at salfordEwout Kramer
 
FHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzieFHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzieFHIR Developer Days
 
Patient matching in FHIR
Patient matching in FHIRPatient matching in FHIR
Patient matching in FHIRGrahame Grieve
 
Vitalis 2016 FHIR Introduction
Vitalis 2016 FHIR IntroductionVitalis 2016 FHIR Introduction
Vitalis 2016 FHIR IntroductionEwout Kramer
 
Edifecs- warming up to fhir
Edifecs- warming up to fhirEdifecs- warming up to fhir
Edifecs- warming up to fhirEdifecs Inc
 
FHIR Profiles
FHIR ProfilesFHIR Profiles
FHIR ProfilesDavid Hay
 
HL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperabilityHL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperabilityEwout Kramer
 
Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieFHIR Developer Days
 
FHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn HarthoornFHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn HarthoornFHIR Developer Days
 
Getting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout KramerGetting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout KramerFHIR Developer Days
 
FHIR overview at EHiN 2014, Oslo
FHIR overview at EHiN 2014, OsloFHIR overview at EHiN 2014, Oslo
FHIR overview at EHiN 2014, OsloEwout Kramer
 
FHIR - more than the basics
FHIR - more than the basicsFHIR - more than the basics
FHIR - more than the basicsEwout Kramer
 
Route from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame GrieveRoute from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame GrieveFurore_com
 
FHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam BaltusFHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam BaltusFHIR Developer Days
 
Advanced .NET API (Ewout)
Advanced .NET API (Ewout)Advanced .NET API (Ewout)
Advanced .NET API (Ewout)Ewout Kramer
 

La actualidad más candente (20)

FHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René Spronk
 
Authoring FHIR Profiles - extended version
Authoring FHIR Profiles - extended versionAuthoring FHIR Profiles - extended version
Authoring FHIR Profiles - extended version
 
FHIR - Feel the Fire - 1
FHIR - Feel the Fire - 1FHIR - Feel the Fire - 1
FHIR - Feel the Fire - 1
 
Profile and validation by Grahame Grieve
Profile and validation by Grahame GrieveProfile and validation by Grahame Grieve
Profile and validation by Grahame Grieve
 
Nhs trusts meeting at salford
Nhs trusts meeting at salfordNhs trusts meeting at salford
Nhs trusts meeting at salford
 
FHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzieFHIR Documents by Lloyd McKenzie
FHIR Documents by Lloyd McKenzie
 
Patient matching in FHIR
Patient matching in FHIRPatient matching in FHIR
Patient matching in FHIR
 
Vitalis 2016 FHIR Introduction
Vitalis 2016 FHIR IntroductionVitalis 2016 FHIR Introduction
Vitalis 2016 FHIR Introduction
 
Edifecs- warming up to fhir
Edifecs- warming up to fhirEdifecs- warming up to fhir
Edifecs- warming up to fhir
 
FHIR Profiles
FHIR ProfilesFHIR Profiles
FHIR Profiles
 
HL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperabilityHL7 FHIR - Out-of-the-box eHealth interoperability
HL7 FHIR - Out-of-the-box eHealth interoperability
 
Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzie
 
FHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn HarthoornFHIR Search for server developers by Martijn Harthoorn
FHIR Search for server developers by Martijn Harthoorn
 
Getting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout KramerGetting started with FHIR by Ewout Kramer
Getting started with FHIR by Ewout Kramer
 
FHIR overview at EHiN 2014, Oslo
FHIR overview at EHiN 2014, OsloFHIR overview at EHiN 2014, Oslo
FHIR overview at EHiN 2014, Oslo
 
FHIR - more than the basics
FHIR - more than the basicsFHIR - more than the basics
FHIR - more than the basics
 
FHIR and DICOM by Marten Smits
FHIR and DICOM by Marten SmitsFHIR and DICOM by Marten Smits
FHIR and DICOM by Marten Smits
 
Route from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame GrieveRoute from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame Grieve
 
FHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam BaltusFHIR API for .Net programmers by Mirjam Baltus
FHIR API for .Net programmers by Mirjam Baltus
 
Advanced .NET API (Ewout)
Advanced .NET API (Ewout)Advanced .NET API (Ewout)
Advanced .NET API (Ewout)
 

Destacado

HL7 Fhir for Developers
HL7 Fhir for DevelopersHL7 Fhir for Developers
HL7 Fhir for DevelopersEwout Kramer
 
Smart Data Webinar: Advances in Natural Language Processing
Smart Data Webinar: Advances in Natural Language ProcessingSmart Data Webinar: Advances in Natural Language Processing
Smart Data Webinar: Advances in Natural Language ProcessingDATAVERSITY
 
Introduction to FHIR - New Zealand Seminar, June 2014
Introduction to FHIR - New Zealand Seminar, June 2014Introduction to FHIR - New Zealand Seminar, June 2014
Introduction to FHIR - New Zealand Seminar, June 2014David Hay
 
FHIR for Architects and Developers - New Zealand Seminar, June 2014
FHIR for Architects and Developers - New Zealand Seminar, June 2014FHIR for Architects and Developers - New Zealand Seminar, June 2014
FHIR for Architects and Developers - New Zealand Seminar, June 2014David Hay
 
FHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James AgnewFHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James AgnewFHIR Developer Days
 
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...FHIR Developer Days
 

Destacado (9)

HL7 Fhir for Developers
HL7 Fhir for DevelopersHL7 Fhir for Developers
HL7 Fhir for Developers
 
An Introduction to HL7 FHIR
An Introduction to HL7 FHIRAn Introduction to HL7 FHIR
An Introduction to HL7 FHIR
 
Smart Data Webinar: Advances in Natural Language Processing
Smart Data Webinar: Advances in Natural Language ProcessingSmart Data Webinar: Advances in Natural Language Processing
Smart Data Webinar: Advances in Natural Language Processing
 
FHIR & Ice
FHIR & IceFHIR & Ice
FHIR & Ice
 
Introduction to FHIR - New Zealand Seminar, June 2014
Introduction to FHIR - New Zealand Seminar, June 2014Introduction to FHIR - New Zealand Seminar, June 2014
Introduction to FHIR - New Zealand Seminar, June 2014
 
FHIR for Architects and Developers - New Zealand Seminar, June 2014
FHIR for Architects and Developers - New Zealand Seminar, June 2014FHIR for Architects and Developers - New Zealand Seminar, June 2014
FHIR for Architects and Developers - New Zealand Seminar, June 2014
 
FHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James AgnewFHIR API for Java programmers by James Agnew
FHIR API for Java programmers by James Agnew
 
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
Rolling out FHIR - architecture and implementation considerations by Lloyd Mc...
 
KARPAGAM
KARPAGAMKARPAGAM
KARPAGAM
 

Similar a Hl7 uk fhir the basics

Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieFurore_com
 
Structure definition 101 (ewout)
Structure definition 101 (ewout)Structure definition 101 (ewout)
Structure definition 101 (ewout)DevDays
 
Vitalis 2016 FHIR App Development
Vitalis 2016 FHIR App DevelopmentVitalis 2016 FHIR App Development
Vitalis 2016 FHIR App DevelopmentEwout Kramer
 
FHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFHIR Developer Days
 
Security in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame GrieveSecurity in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame GrieveFHIR Developer Days
 
Authoring profiles by Michel Rutten
Authoring profiles by Michel RuttenAuthoring profiles by Michel Rutten
Authoring profiles by Michel RuttenFHIR Developer Days
 
Validation in net and java (ewout james)
Validation in net and java (ewout james)Validation in net and java (ewout james)
Validation in net and java (ewout james)DevDays
 
FHIR for Architects.pptx
FHIR for Architects.pptxFHIR for Architects.pptx
FHIR for Architects.pptxNazif18
 
SMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der BurgSMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der BurgFurore_com
 
SMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der BurgSMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der BurgFHIR Developer Days
 
Advanced .net api (ewout)
Advanced .net api (ewout)Advanced .net api (ewout)
Advanced .net api (ewout)DevDays
 
Route from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame GrieveRoute from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame GrieveFHIR Developer Days
 
SNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIR
SNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIRSNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIR
SNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIRTHL
 
FHIR: Out-of-the-box eHealth Interoperability for HL7
FHIR: Out-of-the-box eHealth Interoperability for HL7FHIR: Out-of-the-box eHealth Interoperability for HL7
FHIR: Out-of-the-box eHealth Interoperability for HL7Humberto Alexander Lee
 
Virtual Health Plaza mobile application
Virtual Health Plaza mobile applicationVirtual Health Plaza mobile application
Virtual Health Plaza mobile applicationsejalvora8
 

Similar a Hl7 uk fhir the basics (17)

FHIR: What's it All About?
FHIR: What's it All About?FHIR: What's it All About?
FHIR: What's it All About?
 
Terminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzieTerminology, value-sets, codesystems by Lloyd McKenzie
Terminology, value-sets, codesystems by Lloyd McKenzie
 
Structure definition 101 (ewout)
Structure definition 101 (ewout)Structure definition 101 (ewout)
Structure definition 101 (ewout)
 
Vitalis 2016 FHIR App Development
Vitalis 2016 FHIR App DevelopmentVitalis 2016 FHIR App Development
Vitalis 2016 FHIR App Development
 
FHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René SpronkFHIR architecture overview for non-programmers by René Spronk
FHIR architecture overview for non-programmers by René Spronk
 
Security in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame GrieveSecurity in FHIR with OAuth by Grahame Grieve
Security in FHIR with OAuth by Grahame Grieve
 
Authoring profiles by Michel Rutten
Authoring profiles by Michel RuttenAuthoring profiles by Michel Rutten
Authoring profiles by Michel Rutten
 
Validation in net and java (ewout james)
Validation in net and java (ewout james)Validation in net and java (ewout james)
Validation in net and java (ewout james)
 
FHIR for Architects.pptx
FHIR for Architects.pptxFHIR for Architects.pptx
FHIR for Architects.pptx
 
SMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der BurgSMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der Burg
 
SMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der BurgSMART on FHIR by Scot Post van der Burg
SMART on FHIR by Scot Post van der Burg
 
Advanced .net api (ewout)
Advanced .net api (ewout)Advanced .net api (ewout)
Advanced .net api (ewout)
 
Route from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame GrieveRoute from CCDA to FHIR by Grahame Grieve
Route from CCDA to FHIR by Grahame Grieve
 
SNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIR
SNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIRSNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIR
SNOMED CT 2019 -seminaari, työpaja 3: Use of SNOMED CT with HL7 CDA and FHIR
 
FHIR: Out-of-the-box eHealth Interoperability for HL7
FHIR: Out-of-the-box eHealth Interoperability for HL7FHIR: Out-of-the-box eHealth Interoperability for HL7
FHIR: Out-of-the-box eHealth Interoperability for HL7
 
Introduction to HL7 FHIR
Introduction to HL7 FHIRIntroduction to HL7 FHIR
Introduction to HL7 FHIR
 
Virtual Health Plaza mobile application
Virtual Health Plaza mobile applicationVirtual Health Plaza mobile application
Virtual Health Plaza mobile application
 

Hl7 uk fhir the basics

  • 1. FHIR The Basics (and beyond) Ewout Kramer March 14, 2013 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 2. This presentation  Can be downloaded here (user „anonymous‟, no password):  http://gforge.hl7.org/svn/fhir/trunk/presentations/HL 7 UK FHIR The Basics.pptx  Is licensed for use under the Creative Commons, specifically:  Creative Commons Attribution 3.0 Unported License  (Do with it as you wish, so long as you give credit)  Based on Lloyds WGM tutorial © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 3. Who am I?  Name: Ewout Kramer  Company: Furore (Amsterdam, NL)  Background:  Initial participant in FHIR core team  Member of the HL7 RIMBAA group  Involved in software development of v3 based systems 3 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 4. © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 5. The Need “How can I get data from my server to my iOS app?” “How do I connect my applications using cloud storage?” “How can I give record-based standardized access to my PHR?” © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 6. Highrise 6 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 7. V3 is too hard? • V3 puts the modeler before the implementer • Learning curve is too steep • Not easily adopted by out-of-box tools • Caught up in the need to do everything • Internationally defined specifications are not directly implementable 7 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 8. January 2011 The HL7 Board initiated “Fresh Look” Grahame Grieve “What would we do if we were to revisit the healthcare interoperability space from scratch?” Lloyd McKenzie Ewout Kramer © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 9. FHIR PRINCIPLES 9 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 10. FHIR Manifesto  Focus on implementers  Keep common scenarios simple  Leverage existing technologies  Provide human readability  Make content freely available  Demonstrate best practice governance © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 11. Implementer Focus  Specification is written for target audience: implementers  Publicly available test servers  Starter APIs published with spec (Java, C#, …)  Connectathons to verify specification approaches  Lots of examples (and they‟re valid too) 11 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 12. Keep it simple  You should be able to “figure it out” over a weekend.  Easy to get started, grow into the spec for more complex scenario‟s  Don‟t try to cover all: inclusion of content in core specification is based on “80% of implementers” rule  “Drive by interoperability” 12 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 13. Existing technologies XML, Json, ATOM UML class diagram, eCore Xsd, Schematron REST API like Facebook & Twitter HTTPS, NoSql, Amazon OAuth S3, Lucene 13 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 14. Governance Oversight TSC Governance FGB Methodology Management MnM FMG Content Content Core Team Work Groups 14 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 15. WHAT’S IN THE BOX? 15 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 16. Resources Patient Prescription © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 17. Extensibility + = © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 18. Profiles & Conformance © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 19. Transport HTTP/1.1 200 OK Content-Type: application/json;charset=utf-8 Content-Length: 627 Content-Location: /fhir/person/@1/history/@1 Last-Modified: Tue, 29 May 2012 23:45:32 GMT ETag: "1“ "Person":{"id":{"value":"1"},"identifier":[{"type":{"co de":"ssn","system":"http://hl7.org/fhir/sid © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 20. FHIR RESOURCES © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 21. Resources  “Resources” are:  Small logically discrete units of exchange/storage  Defined behaviour and meaning  Known identity / location  “of interest” to healthcare  Defined by HL7 committees  About 100-150 in total  V2: Sort of like Segments, 21  V3: Sort of like CMETs © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 22. What’s a Resource? Examples Non-examples  Administrative  Gender  Person, Patient, Visit,  Too small Organization, Coverage,  Electronic Health Record Invoice  Too big  Clinical Concepts  Blood Pressure  Allergy, Problem, Questionnaire, Care Plan  Too specific  Infrastructure  Intervention  Document, Message,  Too broad Profile, Conformance 22 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 23. Resource diagram © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 24. Resource in the spec  Description (definition, scope)  UML diagram  Simple pseudo-XML syntax  Vocabulary bindings  Constraints (validation)  Notes  Search Criteria  Data dictionary  Example instance  Schema 24 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 25. Resource representation  Each resource is modeled using developer friendly XML  XML does not reflect RIM-based modeling  No classCodes, moodCodes, etc. visible  Uses a variant of the ISO datatypes 25 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 26. Extensions Narrative Defined Structured Data 26 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 27. FHIR EXTENSIONS 27 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 28. The Case for Extensions  Simple choice – design for absolutely everything or allow extensions  Everyone needs extensions, everyone hates them:  Z-segments in v2  What does this mean? • ZSB|20080117|Q^57|4.30^uL  Foreign namespaces in CDA/V3  Break schemas 28 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 29. Extensions without the pain…  Extensions are not a dirty word, they will be common  Extensions are built into the wire format  All conformant systems can “handle” any possible extension - Just a bucket of “other stuff”  Framework to define, document, publish, find extensions 29 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 30. Extension definition 30 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 31. Extending a name Key = location of formal definition Value = value according to definition 31 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 32. FHIR PROFILES & CONFORMANCE 32 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 33. Profiles  Defines what „your jurisdiction‟ needs to communicate and store  Defined by HL7 Int, Country, Region, Organization, Project  Accessible on-line – via URL  Structured, computer readable, used for validation  In fact, it‟s a Resource itself © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 34. Profile (cont’d) 34 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 35. Profile contents  Constrain existing resources or profiles  Define new extensions  Define new bindings  Define messaging events, search operations  Subsumes: template, implementation profile, DCM (Detailed Clinical Model), etc. 35 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 36. Conformance  There‟s a resource for documenting conformance to FHIR  Can be used for:  Stating how a specific system instance behaves  Defining how a software system is capable of behaving (including configuration options)  Identifying a desired set of behavior (e.g. RFP)  To declare themselves “FHIR Conformant”, a system must publish a Conformance instance 36 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 37. Conformance (cont’d) 37 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 38. Paradigms  FHIR supports 4 interoperability paradigms REST Documents Messages Services 38 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 39. Paradigms  Regardless of paradigm the content is the same  This means it‟s straight-forward to share content across paradigms  E.g. Receive a lab result in a message. Package it in a discharge summary document  It also means constraints can be shared across paradigms  E.g. Define a profile for Blood Pressure and use it on resources in messages, documents, REST and services 39 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 40. REST Rest  Simple, out-of-the-box interoperability  Leverage HTTP: GET, POST, etc.  Pre-defined operations  Create, Read, Update, Delete  Also: History, Read Version, Search, Updates, Validate, Conformance & Batch  Works best in environments where control resides on client side and trust relationship exists 40 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 41. Just a quick GET GET /fhir/person/@1 HTTP/1.1 200 OK UTF-8 Content-Type: text/xml+fhir;charset=utf-8 encoded Content-Length: 787 Content-Location: http://fhir.furore.com/fhir/person/@1/history/@1 Last-Modified: Tue, 29 May 2012 23:45:32 GMT <Person 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></Person> 41 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 42. FHIR Document Documents Document Resource  Similar to CDA Section Section  A point in time collection of Observation Resource resources, bound together Device Resource  Root is a “Document” resource Prescription Resource  Just like CDA header Person Resource  One context 42  Can be signed, authenticated, © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 43. FHIR Message Messages Message Resource  Similar to v2 and v3 messaging: source destination event codes, defined content for event request and response.  Also a collection of resources which includes a “Message” Observation Resource resource, similar in purpose to Message wrapper and MSH segment Device Resource  Sent as a result of some real-world event intended to accomplish a particular purpose Person Resource 43 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 44. 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, email, FTP, sockets…only constraint is that you‟re passing around FHIR resources in some shape or manner 44 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 45. FHIR on the wire XML JSON 45 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 46. 46 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 47. RESOURCE IDENTITY AND REFERENCES 47 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 48. A Resource’s REST identity  In fact: an URL resource type  http://server.org/fhir/person/@1 base path identifier Note: This URL resolves to the current version of a resource 48 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 49. For a specific version…  We have the version-specific URL base path http://server.org/fhir/ (continued) resource type person/@1/history/@4 identifier version id 49 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 50. “Business” identifiers 50 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 51. Resource Reference “Refers to…” 51 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 52. Resource Reference 52 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 53. Containment “Contains” 53 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 54. Containment 54 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 55. BUNDLES 55 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 56. Bundles as Atom  Operations like “search” and “history” return lists of resources  The natural way to represent lists in a Web context is using Atom feeds  Advantages:  Industry standard – platform support  Subscribe to a feed for changes (Outlook!)  Room for metadata © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 57. Resource metadata  REST id  Version-specific reference  Last updated  Type of Resource  Author  …  Maps well to Atom Entries 57 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 58. An example Bundle (Atom) Here‟s the resource‟s id Some more meta-data 1 The resource itself Human-readable form, just like Resource.text 2 58 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 59. Messages/Documents Document Resource Message Resource Section Atom Feeds! source destination Section event Observation Resource Observation Resource Device Resource Device Resource Prescription Resource Person Resource Person Resource “Flat” lists of Resources, with a Document or Message resource as the first feed entry 59 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 60. REST SERVICE INTERFACE 60 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 61. REST?  “REpresentational State Transfer”  Based on a dissertation by Roy Fielding from 2000  Roy Fielding is one of the principal authors of the Hypertext Transfer Protocol (HTTP) specification versions 1.0 and 1.1  Make systems use the “web” like humans do 61 © 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. The Glory of REST Source: http://martinfowler.com/articles/richardsonMaturityModel.html 62 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 63. Just a quick GET GET /fhir/person/@1 HTTP/1.1 200 OK Verb Content-Type: text/xml+fhir;charset=utf-8 Content-Length: 787 Header Content-Location: http://fhir.furore.com/fhir/person/@1/history/@1 Last-Modified: Tue, 29 May 2012 23:45:32 GMT <Person 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></Person> Body 63 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 64. Instance-level ops Read - Read the current state of the resource GET /fhir/person/@1 VRead – Read the state of a specific version of the resource GET /fhir/person/@1/history/@4 Update – Update an existing resource by its id (upsert) PUT /fhir/person/@1 Delete – Delete a resource DELETE /fhir/person/@1 History – Retrieve the update history for the resources GET /fhir/person/@1/history 64 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 65. Resource type-level ops Create – Create a new resource with a server-assigned id POST /fhir/person Search – Search the resource based on some filter criteria GET /fhir/person/search?name=x&gender=y GET /fhir/person History – Retrieve the update history for a particular resource type GET /fhir/person/history?_since=xxxx Validate – Check that the content would be acceptable as an update POST /fhir/person/validate/@1 65 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 66. Service-level ops Conformance – Get a conformance statement for the system GET /fhir/metadata Batch – Update or create a set of resources POST /fhir History – Retrieve the update history for all resources GET /fhir/history?_since=xxxx 66 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 67. INSIDE THE FHIR DISTRIBUTION 67 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 68. (FHIR home) 68 http://hl7.org/fhir © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 69. On the FHIR website  Under “Implementation”…  A zip with all schema‟s + schematron to validate Xml messages  A zip with all examples (in both xml and json format).  Delphi.zip, Java.zip, CSharp.zip  The whole website (multiple html files) or book (=1 BIG html file) 69 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 70. “Source” of FHIR 70 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 71. Publication process .INI Publication tool (org.hl7.fhir.tools.jar) Website Examples Resource Java, C#, UML Delphi Validation Schema‟s DictXml Resource eCoreDefinitions.xml profiles © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 72. In the FHIR SVN  http://gforge.hl7.org/svn/fhir/trunk  All presentations (/presentations)  All Resource source files (Excel) (/source)  Source of the publication process (/tools)  Archived older versions of FHIR (/archive)  Help extend generation, use eCoreDefinitions (/publish)  We use Eclipse + Java 1.6 72 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 73. BUILDING WITH FHIR 73 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 74. Some possible uses v3 App FHIR v2 FHIR PHR Broker Comm. Interface FHIR DB 74 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 75. Repository model HIS LIMS PACS SystemX Gateway FHIR FHIR FHIR FHIR FHIR Vendor Neutral Repository © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 76. Reference implementations App • Get data from UI in/out of an Object model • Manipulate Object model √ FHIR • Serialize object model to FHIR XML or Json • Use HTTP API to send data to server √ • Use a REST framework to receive calls PHR • Deserialize XML or Json or • Deserialize XML or Json into Object model √ • Store Object model in a database 76 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 77. Object Model [FhirResource("DiagnosticReport")] public partial class DiagnosticReport : Resource { public Code<ObservationStatus> Status {…} public Instant Issued {…} public ResourceReference Subject {…} public ResourceReference Performer {…} public Identifier ReportId {… } public List<DiagnosticReportRequestDetailComponent> RequestDetail { …} 77 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 78. Serializing… Patient ewout = new Patient(); ewout.Details.Name .Add(HumanName.ForFamily("Kramer") .WithGiven("Ewout")); string jsonEwout = FhirSerializer.SerializeResourceAsJson(p); and ofcourse: Patient ewout = FhirParser.ParseResourceFromJson(jsonEwout); 78 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 79. Communicating FhirClient client = new FhirClient(new Uri("http://fhir.someendpoint.com/svc/fhir")); Patient ewout = client.Read<Patient>("1"); ewout.Details.Name .Add(HumanName.ForFamily("Kramer") .WithGiven("Ewout")); ewout = client.Update<Patient>(ewout, "1"); 79 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 80. WHAT’S NEXT? 80 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 81. Some history… September 2011 First “preview” version of FHIR called Resources for Health September 2012 First draft for comment ballot Focus on infrastructure January 2013 Second draft for comment ballot First content resources by PA & Pharmacy © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 82. Balloting plans  Next cycle will be first Draft Standard for Trial Use ballot (DSTU)  Will likely take ~1 year to complete that process  Will provide a semi-stable platform for implementers while still allowing non-backward-compatible change for Normative version if implementation experience dictates  Normative is probably 3+ years out  We want *lots* of implementation experience before committing to backward compatibility 82 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 83. Development plans  Address issues coming out of this ballot cycle  >700 comments raised  Add in many more clinical resources  Hope to have full support for C-CDA for DSTU  Additional resources will continue to be introduced in future DSTU cycles as implementers identify needs  Continue to seek testing & real world implementation experience 83 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.
  • 84. Next Steps for you  Attend the FHIR Implementers tutorial  Read the spec: http://hl7.org/fhir  Comment on the wiki (link from FHIR spec)  Join the FHIR email list http://wiki.hl7.org/index.php?title=FHIR_email_list_subscri ption_instructions  Follow #FHIR on Twitter  Make Ballot comments  Try implementing it  Come to a Connectathon! 84 © 2012 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Notas del editor

  1. TheyprobablycraftsomethingthemselvesWe want HL7 to have ananswerto these.If we don’t =&gt; someoneelsewill do itand we willlosecredibility.Youcould do itusingv3, but notsolelybased on the downloadable UV-version. Andprobablynot on some country-specificImplementation Guide either (different focus, priorities)
  2. We don’t actually have a formal manifesto, but these are the principles we adhere to.
  3. Who’s read the v3 spec? – modeler &amp; balloter focusedSpec is driven by people who write codeNumerous pieces have been changed because of experience with what worked when trying to implementEven have a test workbench for RESTful servers
  4. “Only include data elements in the artifacts if 80% of all implementers of that artifact will use the data element”
  5. We try very hard to *not* invent stuff that exists elsewhere unless it’s really broken or totally unaligned with the FHIR principles.
  6. FHIR Governance BoardMaintains FHIR principlesIdentifies risks, preceptsHandles coordination w/ external groupsFHIR Management GroupCoordinates Work GroupsManages ballot processEducation deliveryDay-to-day activitiesModeling &amp; MethodologyDefines criteria for artifactsDetermines processesDocuments best practicesWork GroupsDo the actual development workCore TeamTemporaryTakes on work Work Groups can’tExpeditesWhat haven’t we talked about yet?
  7. 9:45
  8. Readilyuseable, contain “the 80%” (What’s the 80%...what’s maximum reuse? That’s HL7’s core business!)Independent of context, fixeddefined behaviour and meaningCanreferenceeachotherUnits of exchange – suggests units of storage forimplementersAddressed through HTTP or other methods
  9. Youcanconstrainaway stuff youdon’tneedYoucanadd stuff to the basic modelsforyourusecase“Removeandaddbricks as necessary”
  10. “Drive-by” or “bottom-up” operability: “Communicate first, standardize later”First, business partners. Then, collaborations, communities. Maybe, finally,nation-wideIt’s a naturalprocessthatpeoplewill want to make itwork first, thenonlycoordinatewhattheyreallyneedto, andthenrealizetheycanbroadentheir approach to a community.“Support”, of course top-down shouldstillbepossible! Maybe even a combi in the long-term
  11. Document every resource,everyattributeProvideexamplesDefinehowtouse in REST, Document and MessageManageableby a project lead in a weekend, or you’llbeignored (in favor of localsolutions)
  12. 10:00
  13. And few systems will ever see more than 40-50
  14. Defined Structured DataThe logical, common contents of the resourceMapped to formal definitions/RIM &amp; other formatsExtensions“Non-common” requirements, but everyone can usePublished and managedNarrativeHuman readable (fall back)
  15. 10:15
  16. 10:15
  17. URLs, parameters, etc. all definedChoice of what operations to supportBehavior documented in conformance profile - mandatory
  18. You can retrieve any person using a GET on the person’s id, which is just an url on the server: /fhir/person/@&lt;id&gt;We have our own MIME-type: “text/xml+fhir”Note that FHIR always uses UTF-8. Since this is not the default for HTTP, the server explicitly mentions thisBut should mean the xml encoding mentions “utf-8” and that the payload is really encoded in utf-8There can be a Byte Order Mark, but hopefully your framework handles all that ;-)The response returns a Content-Location header with a version-specific location….see next slide
  19. 10:30
  20. This is not only the URL you use to retrieve the resource, it’s also its id.All URL’s in FHIR are case-sensitive (and so is the id)
  21. Both the Resource id URL and the version-specific URL are used on many places of the REST spec and resource content (References!). They are always used consistently in this form.
  22. Referencesbetween resources are notby “business key”, it is *not* the patientid, it’s a REST URI!
  23. http://hl7connect.healthintersections.com.au/svc/fhir/patient/search?name=every
  24. Note that the id of the resource is kept outside the resource itselfAtom has many other meta-data items (not shown), which we will discuss later.
  25. Richardson’s REST Maturity Model. We’re at 2.5. Fielding says: “You are not REST”, so we are “RESTful”
  26. You can retrieve any person using a GET on the person’s id, which is just an url on the server: /fhir/person/@&lt;id&gt;We have our own MIME-type: “text/xml+fhir”Note that FHIR always uses UTF-8. Since this is not the default for HTTP, the server explicitly mentions thisBut should mean the xml encoding mentions “utf-8” and that the payload is really encoded in utf-8There can be a Byte Order Mark, but hopefully your framework handles all that ;-)The response returns a Content-Location header with a version-specific location….see next slide
  27. You can retrieve any person using a GET on the person’s id, which is just an url on the server: /fhir/person/@&lt;id&gt;We have our own MIME-type: “text/xml+fhir”Note that FHIR always uses UTF-8. Since this is not the default for HTTP, the server explicitly mentions thisBut should mean the xml encoding mentions “utf-8” and that the payload is really encoded in utf-8There can be a Byte Order Mark, but hopefully your framework handles all that ;-)The response returns a Content-Location header with a version-specific location….see next slide
  28. You can retrieve any person using a GET on the person’s id, which is just an url on the server: /fhir/person/@&lt;id&gt;We have our own MIME-type: “text/xml+fhir”Note that FHIR always uses UTF-8. Since this is not the default for HTTP, the server explicitly mentions thisBut should mean the xml encoding mentions “utf-8” and that the payload is really encoded in utf-8There can be a Byte Order Mark, but hopefully your framework handles all that ;-)The response returns a Content-Location header with a version-specific location….see next slide
  29. You can retrieve any person using a GET on the person’s id, which is just an url on the server: /fhir/person/@&lt;id&gt;We have our own MIME-type: “text/xml+fhir”Note that FHIR always uses UTF-8. Since this is not the default for HTTP, the server explicitly mentions thisBut should mean the xml encoding mentions “utf-8” and that the payload is really encoded in utf-8There can be a Byte Order Mark, but hopefully your framework handles all that ;-)The response returns a Content-Location header with a version-specific location….see next slide
  30. Published as HTMLPublished using validation process that performs consistency checksReally shouldn’t require much guidance to read, but a few things to call outObjective of spec is developer can skim and decide in &lt; day
  31. If you come to a connectathon with a FHIR server, it is a good idea to make sure you can preload your server with all the examples!
  32. You’re a message broker routingandtranslating between v2, v3 and FHIRYourapp interfaces with a PHR using FHIR nativelyYourapplicationcancommunicateusing FHIR, but your software uses a proprietary RDBMSUse FHIR as the common languagefor a Vendor Neutral Archive…Or a combination….Youmightsee data as a nestedstructure of XML, a series of tableswithkeys, class-diagrams….