FHIR Examples For Driving FHIR Ontology Development
To coordinate and speed our efforts, it will be helpful to choose some initial FHIR examples that we can use to drive our FHIR ontology development effort. This would not be to the exclusion of other examples, but merely to act as a common starting point. The purpose of choosing FHIR examples is to facilitate explanations of design alternatives, both within this group and with the larger community. *All* of FHIR needs to be addressed by the time we have finished, so this is not about prioritizing what gets done or excluding anything, it is about choosing the best initial vehicles for communicating with each other and others about this work. If we are using the same example(s) we can more easily compare design alternatives and explain the work to others.
Comments:
- (DBooth) First and foremost I'd like an example that is: (a) small enough to fit on a PowerPoint slide (the smaller the better); and (b) clinical -- obviously medical.
Contents
- 1 Clinical / Observation: Body Weight Measurement
- 2 Clinical / Observation: Blood Pressure
- 3 Clinical / Observation: Smaller Blood Pressure
- 4 Clinical / AllergyIntolerance: Bee Sting
- 5 Clinical / AdverseReaction: Bee Sting
- 6 Administrative / Patient: example-xcda
- 7 Administrative / Substance: Bee Venom
- 8 Administrative / Practitioner: CCDA Example Author
- 9 [Add others here]
Clinical / Observation: Body Weight Measurement
From http://www.hl7.org/implement/standards/fhir/observation-example.html
XML 31 lines excluding comments:
<Observation xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Jan 30 2014: Body Weight = 185 lbs</div> </text> <name> <coding> <system value="http://loinc.org"/> <code value="3141-9"/> <display value="Weight Measured"/> </coding> <coding> <system value="http://snomed.info/sct"/> <code value="27113001"/> <display value="Body weight"/> </coding> <coding> <system value="http://acme.org/devices/clinical-codes"/> <code value="body-weight"/> <display value="Body Weight"/> </coding> </name> <valueQuantity> <value value="185"/> <units value="lbs"/> <system value="http://unitsofmeasure.org"/> <code value="[lb_av]"/> </valueQuantity> <status value="final"/> <reliability value="ok"/> </Observation>
Comments:
- (DBooth) This example is small (which is good), but not ideal because: (a) it is only moderately medically oriented -- body weight is used in many non-medical settings; and (b) body weight is an emotionally charged topic to many people, which is not so good in slide presentations, because it is distracting.
Clinical / Observation: Blood Pressure
XML 140 lines without comments (188 lines with comments): http://www.hl7.org/implement/standards/fhir/observation-example-bloodpressure.xml.html
Comments:
- (DBooth) This example would be ideal for slide use if it were a lot smaller, because everyone understands blood pressure as a clinical measurement, and it involves two numbers (systolic/diastolic), so it can be used to demonstrate translations to other data models that either combine or separate those two values. But the current version is far too long because it duplicates the measurement information so much -- 3 times! It is an Atom feed that bundles three FHIR Resources. First it has an Observation that includes both systolic and diastolic values (107/60), but only in human-readable free text -- not as structured data suitable for machine processing. Then it has two more Observations (one for systolic and one for diastolic), which each contain the measured value both as human-oriented free text and as structured data. It would be great if a much smaller version could be made.
- (DBooth) On our 24-Feb-2015 teleconference, Lloyd indicated that the narrative could be removed, but the other redundancy would have to stay, because systolic and diastolic are treated as separate Observations.
Clinical / Observation: Smaller Blood Pressure
XML 29 lines, though it may not be valid FHIR. Drafted by EricP from BP example on FHIR site.
<feed xmlns="http://www.w3.org/2005/Atom"> <entry> <content type="text/xml"> <Observation xmlns="http://hl7.org/fhir"> <related><target><reference value="http://acme.org/ehr/observations/34252345234-s"/></target></related> <related><target><reference value="http://acme.org/ehr/observations/34252345234-d"/></target></related> </Observation> </content> </entry> <entry> <id>http://acme.org/ehr/observations/34252345234-s</id> <content type="text/xml"> <Observation xmlns="http://hl7.org/fhir"> <name><coding> <system value="http://loinc.org"/><code value="8480-6"/> <display value="Systolic blood pressure"/> </coding></name> <valueQuantity><value value="107"/><units value="mm[Hg]"/></valueQuantity> </Observation> <Observation xmlns="http://hl7.org/fhir"> <name><coding> <system value="http://loinc.org"/><code value="8480-6"/> <display value="Systolic blood pressure"/> </coding></name> <valueQuantity><value value="107"/><units value="mm[Hg]"/></valueQuantity> </Observation> </content> </entry> </feed>
Comments:
- (DBooth) We need to check if this is valid FHIR and make it valid if not.
Clinical / AllergyIntolerance: Bee Sting
XML 25 lines: http://www.hl7.org/implement/standards/fhir/allergyintolerance-example.xml.html
<AllergyIntolerance xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Sensitivity to Bee Stings</div> </text> <criticality value="fatal"/> <sensitivityType value="allergy"/> <recordedDate value="2012-09-17"/> <status value="confirmed"/> <subject> <reference value="Patient/example"/> </subject> <recorder> <reference value="Practitioner/example"/> </recorder> <substance> <reference value="Substance/example"/> </substance> <reaction> <reference value="AdverseReaction/example"/> </reaction> <sensitivityTest> <reference value="Observation/example"/> </sensitivityTest> </AllergyIntolerance>
Comments:
- (DBooth) For slide use, this example is very good except that it is confusingly similar to the next example (AdverseReaction: Bee Sting). (One is documenting the patient's propensity to a bee sting reaction; the other is documenting an actual occurrence of that allergic reaction.)
Clinical / AdverseReaction: Bee Sting
XML 32 lines: http://www.hl7.org/implement/standards/fhir/adversereaction-example.xml.html
<AdverseReaction xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Anaphylaxis Reaction to a bee sting</div> </text> <date value="2012-09-17"/> <subject> <reference value="Patient/example"/> </subject> <didNotOccurFlag value="false"/> <recorder> <reference value="Practitioner/example"/> </recorder> <symptom> <code> <coding> <system value="http://hl7.org/fhir/sid/icd-10"/> <code value="T78.2"/> <display value="Anaphylactic shock, unspecified"/> </coding> <text value="Anaphylaxis reaction"/> </code> <severity value="moderate"/> </symptom> <exposure> <date value="2012-09-17"/> <type value="coincidental"/> <substance> <reference value="Substance/example"/> </substance> </exposure> </AdverseReaction>
Comments:
- (DBooth) For slide use, this example is very good except that it is confusingly similar to the previous example (AllergyIntolerance: Bee Sting). (One is documenting the patient's propensity to a bee sting reaction; the other is documenting an actual occurrence of that allergic reaction.)
Administrative / Patient: example-xcda
JSON 39 lines: http://www.hl7.org/implement/standards/fhir/patient-example-xcda.json.html
Comments:
- (DBooth) This example is simple enough for slide use, but not clinically oriented.
Administrative / Substance: Bee Venom
JSON 10 lines: http://www.hl7.org/implement/standards/fhir/substance-example.json.html
Comments:
- (DBooth) This example is very simple -- only 10 lines! -- but not obviously clinically oriented.
Administrative / Practitioner: CCDA Example Author
JSON 18 lines: http://www.hl7.org/implement/standards/fhir/practitioner-example-xcda-author.json.html
Comments:
- (DBooth) This example is also very simple, but again not clinically oriented.