Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg.

Similar presentations


Presentation on theme: "© 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg."— Presentation transcript:

1 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. FHIR for Specifiers Michel Rutten Hilversum, 12 november 2015

2 © 2015 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: Michel Rutten Company: Furore, Amsterdam Background:  Professional software developer since 1998  Microsoft.NET; Healthcare industries  Technical Specialist at Furore since May 2014  Member of the Furore FHIR development team  Tool Smith - Lead developer of Forge

3 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Contents of this tutorial FHIR 1.0 DSTU 2 Introduction to FHIR Conformance Layer Principal components FHIR Conformance Resources Implementation Guides ValueSet StructureDefinition Registry

4 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. FHIR 1.0 DSTU2 Overview of changes

5 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. DSTU 2 Version History VersionNamePublication date 1.0.0DSTU 2 QA PreviewAug 31 2015 1.0.1DSTU 2Sept 23 2015 1.0.2Technical Correction 1Oct 24 2015 5

6 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Maturity Framework LevelDescription 0Published on current build 1Produces no warnings during the build process Substantially complete and ready for implementation 2Successfully exchanged between 3+ systems at a connectathon Results reported to the FHIR Management Group 3Meets DSTU Quality Guidelines Subject to a round of formal balloting; 10+ implementer comments drawn from 3+ organizations resulting in 1+ substantive changes. 4Tested across its scope Published in a formal publication (e.g. DSTU) Implemented in multiple prototype projects. Sufficiently stable to require implementer consensus for subsequent non- backward compatible changes. 5Published in two formal publication release cycles at FMM1+ (i.e. DSTU level) Implemented in 5+ independent production systems in >1 country

7 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. RESTful API Add batch Several clarifications around versioning & transactional integrity Changed Bundle URL resolution rules 7

8 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Search Changed the way <> etc. works Added _list parameter Changed rules around contained and included resources 8

9 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Data Types New data types  Markdown  Annotation Changed data types  Coding  Quantity  Signature  Timing  Address  ContactPoint 9

10 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Data Types Changes to ElementDefinition  Add base Specifies path & cardinality of base element  Make type.profile repeat Target resource must conform to all profiles  Remove constraint.name and replace with constraint.requirements  Remove binding.name  Add minValue[x] and maxValue[x] 10

11 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Resources New  Account  ImplementationGuide  TestScript Removed  Supply 11

12 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Resources Renamed resources  Contraindication -> DetectedIssue  MedicationPrescription -> MedicationOrder  QuestionnaireAnswers -> QuestionnaireResponse 12

13 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Resources Changed  Almost all resources  Too many to list (1317 tasks worth of changes)  Add, remove elements  Change types, references, definitions & value sets  Re-order elements  Provide much more documentation and new examples 13

14 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Implementation Guides Move Argonaut content out  http://argonautwiki.hl7.org/index.php?title=Main_Page 14

15 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. 1.0.1 Changes of significance during the QA process:  Remove the Clinical Quality Improvement Framework (CQIF) from this published version  Made fixes to generated schematrons  Updated generated comformance resources (StructureDefinitions and SearchParameters) so they were consistent with the specification  Many spelling / grammar / broken link fixes 15

16 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. 1.0.2 Series of technical corrections to the specification following extensive review:  Corrections to Extension cardinalities in implementation guides  Corrections in the conformance resources that support the specifications  Correct several erroneous invariants  Various typos, broken links, and fixes in examples  For a comprehensive list of corrections, see the Task list for FHIR DSTU2 Technical Correction 1 16

17 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. INTRODUCTION FHIR CONFORMANCE LAYER

18 © 2015 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 for profiling Many different contexts in healthcare, but a single set of Resources FHIR provides a “platform specification” Requires further adaptation to context of use

19 © 2015 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 for profiling Need to be able to describe adaptations based on use and context Which resources and elements are used? Which API features are used? Which terminologies are used? How to map these to local requirements/implementations?

20 © 2015 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 for profiles Allow for these usage statements to be: Authored in a structured manner Published in a repository Used as the basis for validation, code, report and UI generation.

21 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. PRINCIPAL COMPONENTS FHIR CONFORMANCE LAYER

22 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Conformance Resources Terminology Naming SystemValue SetConcept Map Content Structure Definition Data Element Operations Conformance Operation Definition Search Parameter Misc. Implementation Guide Test Script 22

23 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Conformance Conformance Resources 23 “Profile” Structure Definition SearchParam Definition ValueSet Concept Map Concept Map NamingSystem Operation Definition Forge Excel Implementation Guide TestScript

24 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Terminology Define which terminologies to use in which elements ValueSet Define namespaces with unique symbols NamingSystem Define mappings between terms from different systems ConceptMap 24

25 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Content Define data structures Define restrictions and/or extensions StructureDefinition Define data elements (ISO 11179) DataElement 25

26 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Operations Define server capabilities Define supported API methods Conformance Define additional (custom) operations OperationDefinition Define additional (custom) searches SearchParameter 26

27 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Miscellaneous Author and publish an implementation guide ImplementationGuide Define compliance tests against a FHIR server TestScript 27

28 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. OVERVIEW FHIR CONFORMANCE RESOURCES

29 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ImplementationGuide 29 Define scope of usage Describes requirements for an implementation

30 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ImplementationGuide Usage: Allow authors to publish an implementation guide Allow tools to validate conformance Computable! 30

31 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ImplementationGuide Packages = group of related resources  Adaptations (conformance resources)  Examples (any type of resource) Pages = editorial content Global = profiles that apply globally Dependency = reference to other IG 31

32 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. StructureDefinition 32 Defines datastructures Core resources & datatypes (see validation.zip)validation.zip Constraints on resources & datatypes Extensions

33 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. StructureDefinition Share/publish to repository / registry Compare Validate resource Use to drive  Code generation  Report generation  UI generation (e.g. ClinFhir ResourceBuilder) Computable! 33

34 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. NamingSystem Describes “logical” numbering systems in use What’s the name? What are equivalent uri/uuid/oids Represents a "System" used within the Identifier and Coding data types.

35 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ValueSet 35 Define codes

36 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ValueSet Code System Defines a set of codes with meanings (also known as enumeration, terminology, classification, and/or ontology) Value Set Selects a set of codes from those defined by one or more code systems 36

37 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ConceptMap 37 Define mapping From one set of concepts to one or more other concept(s)

38 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. OperationDefinition Extend/restrict the API Defines interactions

39 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. OperationDefinition Describes additional operations over and above the RESTful interactions defined in the specification What is the name? Input/output parameters What does it do? Works on which resources? 39

40 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. SearchParameter Extend/restrict searches Describes additional searches to filter resources What is the name? Elements filtered Resource the search works on

41 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Conformance A set of capabilities of a FHIR Server Binds all conformance resources together

42 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Conformance Describes how a client or server uses or should use the FHIR API Which wire formats supported? Which resources? Which operations supported? Which profiles supported? Is this a test server? What’s the name of the software? 42

43 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. For implementer convenience, the specification itself publishes its base definitions using these same resources! Used in the core spec

44 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. For implementer convenience, the specification itself publishes its base definitions using these same resources! Used in the core spec

45 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Define FHIR “Profiling”? General term: The process of creating an implementation guide The process of creating a conformance package The process of creating a conformance resource 45

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

47 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Examples fhir.hl7.org  Implementation > Implementation Guides Argonaut DAF QICore SDC USLab 47

48 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Different Kinds Strategy National scope guide e.g. infrastructure, security Principles Overarching principles e.g. basic components Subject Subject with multiple usecases e.g. medication process Usecase Single usecase e.g. prescription 48

49 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Structure of a Profile Introductory narrative  Scope & boundaries  Mapping to high-level terms from usecases  Profile specific guidance Datastructures (StructureDefinitions) Core extensions used Valuesets Operations, Search Parameters NamingSystems 49 May be re-used on Implementation Guide level to share across profiles!

50 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Typical Content Title Table of contents Document information Introduction to the guide Principles & background Functional requirements and high-level use cases Design considerations Package contents (= use case?) Privacy and security guidance Testing and certification Appendix List of all artifacts used in this guide 50

51 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ImplementationGuide New resource type introduced in DSTU2 1.0 Defines: Conformance Packages Documentation Pages Global Profiles Dependencies

52 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Conformance Package Defines a set of conceptually related conformance resources Provides example resources Allows conformance validation of resources

53 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Documentation Pages Provides detailed description of the included conformance resources E.g. HTML, Markdown Binaries: css, js, img, …

54 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Global Profiles A set of profiles that all resources covered by this implementation guide must conform to Note: A resource can conform to the default profile by conforming to any profile derived from it 54

55 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Dependencies Other ImplementationGuide resources this guide depends on Type  Reference (hyperlink)  Inclusion (embed) 55

56 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Publish! 56 Test & Verify Publish Guide Author & Store Implement http://simplifier.net http://registry.fhir.org

57 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Forge - Lipid 57

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

59 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Coded types Codes are defined in code systems In a Profile, we may want to limit the codes that can possibly be used in coded elements in the Resources

60 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. “Code System” CodeSystem vs. ValueSet “Dante’s deadly sins” Pride Envy Wrath Sloth Avarice Gluttony Lust “Dante’s deadly sins” Pride Envy Wrath Sloth Avarice Gluttony Lust “ValueSet” Takes concepts from… An enumeration of terms Definition of terms Example: SNOMED-CT Example: “Childhood diseases”

61 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. “Special” cases “All words under B” “All words in the Merriam-Webster dictionary” “All words under B” “All words in the Merriam-Webster dictionary” Takes concepts from… No need to write them all down! Takes concepts from… “Words for ‘nerd’” Bookworm Geek Grind Weenie Wonk Dink (slang) Dork (slang) Swot (slang) “Words for ‘nerd’” Bookworm Geek Grind Weenie Wonk Dink (slang) Dork (slang) Swot (slang) Can take concepts from multipe codingsystems!

62 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Identification of CodeSystems If you refer to CodeSystems, you use a URL (instead of OID in v2 and v3):  http://snomed.info/sct  http://loinc.org  http://hl7.org/fhir/sid/icd-10 We have introduced them for v2 and v3:  http://hl7.org/fhir/v2/0078  http://hl7.org/fhir/v3/ActClass

63 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Coded types (again) The uri of the system

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

65 ValueSets

66 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ValueSets 66 This models what we have been discussing so far: A ValueSet has metadata (much like Profile: identifier, version, name, etc) A ValueSet is built by inclusion of terms from CodeSystems A ValueSet can exclude specific codes from other valuesets A ValueSet can import codes from other ValueSets Metadata Include/Exclude Concepts

67 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ValueSets 67 But it can also enumerate (and so indirectly define) all concepts for a new codesystem A ValueSet has metadata (much like Profile: identifier, version, name, etc) A ValueSet is built by defining terms from and for a new CodeSystem These new concepts have a display label and a definition …and may be hierarchically organized

68 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Bindings When used in a Resource, the modelers include Bindings Bindings specify which codes can be used

69 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Profiling bindings Depending on “core” spec, you can:  “required”: not specify a different binding  “extensible”: specify a different binding if needed  “preferred”: specify a different binding if desired  “example”: very likely specify a different binding Change the bindings as specified in core:  Define a new ValueSet Allow additional codes, Restrict to a subset  Specify whether implementers of your profile can deviate from your valueset.

70 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. This is not too hard…

71 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. ValueSet Editor Grahame Apolon … 71

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

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

74 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Refer to ValueSet Create a ValueSet for Practitioner.role  In Xml & by hand…  Or use e.g. Grahame’s editor  Use SNOMED codes for roles Use Forge to limit Practitioner.role to this new ValueSet

75 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Refer to ValueSet

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

77 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Work on Profiles…

78 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Profiling a resource “Must use only the Dutch national patient identifier” “ Need to register an administrative race code for a Patient in the US” “Patient Discharge documents must at least contain section “Discharge Medication” and section “Discharge Diagnosis” “In our Patient registration system, we use these maritalStatus codes beyond those provided by HL7…” “Our patient registration system, only supports having one single name per Patient” + +

79 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Profiling a resource Demand that the identifier uses your national patient identifier Limit names to just 1 (instead of 0..*) Limit maritalStatus to another set of codes that extends the one from HL7 international Add an extension to support “RaceCode” Note: hardly any mandatory elements in the core spec!

80 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Uses for profiles Server & client may publish and check their conformance to a profile Validating instances, messages Implement "FHIR spec-like" website from Profiles as part of an Implementation Guide

81 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. In v3 CDA…”text-based”

82 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Write by hand…? Forge!

83 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Publish! http://simplifier.net http://registry.fhir.org Find & maintain Retrieve & use

84 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Who publishes? http://www.hl7.org/Profile/iso-21090 http://www.hl7.nl/Profile/patient-nl http://www.health4all.nl/h4all-vitals http://www.fit4all.nl/f4all-vitals http://www.data4all.nl/d4all-obs

85 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Feedback Layered profiles HL7 Norge adapts Patient for Norway Helse Nord/Vest/… introduces regional differences Use-case specific constraints 85 Constrain

86 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. (Distributed) validation DIPS’s server Norway national validation server Validate NO Profile HNIKT, DIPS Profile NO Download & Validate Store Profile NO Profile HNIKT

87 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Examples… Let’s look at DAF Profiles http://fhir.hl7.org  Implementation Implementation Guides DAF 87

88 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Example: Lipid We are taking the “Lipid Profile” example from the spec from now on. This is a DiagnosticReport, containing 4 results:  1x Cholesterol  1x Triglyceride  1x HDL Cholesterol  0/1x LDL Cholesterol

89 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Forge - Lipid 89

90 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. METADATA AND VERSIONS

91 © 2015 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 a profile? Metadata “Lipid Profile” v1.0.0 Draft urn:acme.org:lipid-profile:v1 Author: e.kramer@furore.com Structure “LipidProfile” Element Definitions … StructureDefinition for DiagnosticReport Extension “calculated” Structure Observation “Triglyceride” Structure Observation “Triglyceride” Structure Observation “LDLCholesterol” Structure Observation “LDLCholesterol” DiagnosticReport instances (via Tag)

92 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Tagging a Resource Practitioner “Doctor Bernard” 30-11-1972 “I’m a Practitioner conforming to the Norwegian Profile – see http://hl7.no/StructureDefinition/patient-no” “I’m a Practitioner acting as a Prescriber – see http://hnikt.no/StructureDefinition/prescriber” “I’m a Practitioner as supported by DIPS - see http://dips.com/StructureDefinition/dips-practitioner”

93 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Referring to a profile Observation Cholesterol 6.3 mmol/L High (recommended 4.5) Metadata “Lipid Profile” v1.0.0 Draft urn:acme.org:lipid-profile:v1 Author: e.kramer@furore.com Structure “cholesterol” http://acme.org/ http://acme.org/StructureDefinition/LDLCholesterol I’m conforming to http://acme.org/StructureDefinition/LDLCholesterol

94 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Versioning… A “version” – author assigned So what if you change something after publishing?  Just a typo? Change of definition?  Make something optional that wasn’t?  Make something mandatory that was optional?  Add an extension?

95 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. “Non-breaking change”? If old data can still be: 1. Validated against the new profile 2. Correctly interpreted against the new profile  This can only be determined by the profile’s authors (and even depends on the way it is used) A breaking change means you are producing a new profile  The profile’s author-assigned identifier changes  A new Profile on the server, with a new REST utl

96 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Authoring a Profile Excel Let’s do this in Forge  Click “New Profile”  Select base resource, e.g. Observation  Edit metadata on tab page “Properties” Name URL  Save!

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

98 © 2015 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 a profile? Conformance Package: Lipid Report Extension “calculated” Extension “calculated” Structure Observation “Triglyceride” Structure Observation “Triglyceride” Structure Observation “LDLCholesterol” Structure Observation “LDLCholesterol” Structure Diagnostic Report “Lipid Profile” Structure Diagnostic Report “Lipid Profile” Structure Observation “HDLCholesterol” Structure Observation “HDLCholesterol” Structure Observation “Cholesterol” Structure Observation “Cholesterol” DiagnosticReport instances (via Tag)

99 © 2015 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 a profile? Metadata “Lipid Profile” v1.0.0 Draft urn:acme.org:lipid-profile:v1 Author: john.smith@furore.com Metadata “Lipid Profile” v1.0.0 Draft urn:acme.org:lipid-profile:v1 Author: john.smith@furore.com Structure “LipidProfile” Element Definitions … Structure “LipidProfile” Element Definitions … StructureDefinition: DiagnosticReport Structure Definition Extension “calculated” Structure Definition Extension “calculated” Structure Definition Observation “Triglyceride” Structure Definition Observation “Triglyceride” Structure Definition Observation “LDLCholesterol” Structure Definition Observation “LDLCholesterol” Resource Reference

100 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Structure Definitions Profiles contain “Structure Definitions”  Base definition of a core Resource or Datatype  A set of constraints on (nested) elements of a Resource or Datatype  An extension definition

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

102 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Let’s start constraining 0..1 = ‘ok’ “if no value…” 1..1 Subject 0..1? Why not 1..1 in spec?

103 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Must support? Authors: SHALL be capable of providing a value for the element and resource Consumers: SHALL be capable of extracting and doing something useful with the data element. "Something useful" is context dependent. The Profile SHALL describe what it means for applications to “support” the element

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

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

106 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Formal constraints …beyond cardinalities and bindings, there are a lot of other conditions you might want to formulate:  “If a Cholesterol value result is not available, use the comments field”  “A patient’s birthdate must be on or before today’s date” These may concern a single element, or cover multiple elements.

107 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Formal constraints Uses free text (human) + xpath (executable) Constraints should be declared on lowest element in the hierarchy that is common to all nodes referenced by the constraint. Identified by (local) ‘Key’, involved elements refer to that id Specify severity (“error” or “warning”)

108 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Context of the constraint This constraint is on the elements “valueQuantity” and “comments” We would have to formulate this constraint on the Observation, this is the context of the constraint We assign the constraint a “key” value that’s unique within the Observations’ constraints We refer from both “value[x]” and “comments” to this “key”. This means: if my value changes -> revalidate the constraint “If a Cholesterol value result is not available, use the comments field”

109 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Example xpath Keep in mind: the condition is satisfied when the XPath expression evaluates to “true” “If a Cholesterol value result is not available, use the comments field” Note: to use both is ok! Otherwise said: not both empty In Xpath: exists(f:valueQuantity) or exists(f:comment)  That’s a logical or, so not exclusive!

110 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. More xpath “Either a valueQuantity or a comment is permitted”  not( exists(f:valueQuantity) and exists(f:comment) ) “Can only have normal range if there is a valueQuantity”  exists(f:valueQuantity) or not(exists(f:normalRange)) Steal from the spec (e.g. from Profile)

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

112 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Extension Context An extension has a context type  Resource, Datatype, Extension, Mapping And a context path  (Resource) Observation “The observation was calculated”  (Resource) Observation.value “The observation’s ‘value’ was calculated”  (Datatype) Quantity “This quantity was calculated” (any Quantity used in any resource!)

113 © 2015 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 Note: multiple contexts!

114 © 2015 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

115 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Extensions Let’s find a representative extension for Practitioner Add it to the Practitioner  (and show it’s both a reference & a definition)

116 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. The “Basic” resource Now, what if you have the need for a completely “new” resource? …then add extensions for each element

117 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. RESOURCE BUILDER ClinFhir - David Hay

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

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

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

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

122 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. FHIR REGISTRY Simplifier

123 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Collaborate Manage projects Authorize team members Collaborate on profiles Github integration

124 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Publish Publish your conformance resources  User-friendly structure rendering  Detailed descriptions for elements  Download as XML, JSON  Related example resources

125 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Find Find existing conformance resources  Constraints & Extensions (StructureDefinitions)  Value Sets  Concept Maps  Naming Systems  Search Parameters  Operation Definitions  Conformance Packages  Implementation Guides

126 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Resolve Resolve conformance resources by canonical Url  Globally unique identifier  SHOULD be the URL at which it is published  Example: http://example.org/fhir/StructureDefinition/MyPatient.xml http://example.org/fhir/StructureDefinition/MyPatient.xml  Alternative: Resolve from a global registry

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

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

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

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

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

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

133 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Versioning strategy FHIR Normative  no breaking changes => OK!  Published resources will always remain available and functional FHIR Draft (current phase)  FHIR spec may introduce breaking changes  How should registry handle breaking changes? 133

134 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Versioning strategy Registry is based on a specific version of the.NET FHIR API Uploaded resources are tagged with current API version at time of upload Registry displays a warning if current system API version differs from saved resource API version  => Author should update the resource 134

135 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Security Under development… https OAuth2 OpenID.Connect 135

136 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Base url claims Under development… Proposal:  User can issue a claim for a specific base url E.g. http://example.org/fhir/http://example.org/fhir/  Granted claim provides exclusive permission to publish conformance resources on this base url  Delegation; grant claim permissions to other users  Conflicting claim requests => prove domain ownership 136

137 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Forge Integration Under development… Configure your simplifier credentials & project(s) in Forge Publish resources Publish ImplementationGuide packages Integrate simplifier resource rendering 137

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

139 © 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. 139 International HL7 FHIR Developer Days November 18-20, 2015 in Amsterdam Education  34 tutorials/presentations pick & choose Connectathon  Meet fellow developers  Put FHIR to the test Networking  FHIR experts and authors on hand http://fhir.furore.com/devdays


Download ppt "© 2015 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg."

Similar presentations


Ads by Google