Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example Observation/vp-oyster (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of an Observations made about a location - an oyster farm

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "vp-oyster"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"vp-oyster\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;vp-oyster&quot; </p></div><p><b>identifier</b>: id: 20171014-1234 (use: OFFICIAL)</p><p><b>status</b>: preliminary</p><p><b>code</b>: <span title=\"  \n    Observations are often coded in multiple code systems.\n      - LOINC\n		- or SNOMED\n      -and/or the source system may provides its own &quot;local&quot; code, which may be less or more granular than LOINC.\n	In this example there is only local codes\n    \">OYSTER TESTING <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#41857-4 &quot;Vibrio parahaemolyticus DNA [Presence] in Unspecified specimen by Probe and target amplification method&quot;; test-codes#VP MULTI PCR &quot;VP MULTI PCR&quot;)</span></span></p><p><b>subject</b>: <span>: Sonoma oyster farm</span></p><p><b>effective</b>: 2017-10-12</p><p><b>issued</b>: 15 Oct 2017, 10:11:24 am</p><p><b>performer</b>: <a href=\"practitioner-example-f005-al.html\">Practitioner/f005: A. Langeveld</a> &quot;Langeveld ANNE&quot;</p><p><b>value</b>: <span title=\"  results of this Qualtiattive PCR is a choice of Positive/Negative and Inconclusive  \">POSITIVE <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#10828004 &quot;Positive (qualifier value)&quot;; result-codes#POSITIVE)</span></span></p><p><b>interpretation</b>: Abnormal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ObservationInterpretation.html\">ObservationInterpretation</a>#A)</span></p><p><b>specimen</b>: <a name=\"group1\"> </a></p><blockquote><p/><p><a name=\"group1\"> </a></p><p><b>type</b>: animal</p><p><b>membership</b>: enumerated</p><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"#bed1\">#bed1</a></p></blockquote><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"#bed2\">#bed2</a></p></blockquote></blockquote><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>NEGATIVE</td></tr></table></div>"
  ] ; # 
  fhir:contained ( [
     a fhir:Specimen ;
     fhir:id [ fhir:v "bed1" ] ;
     fhir:note ( [
       fhir:text [ fhir:v "Live Oysters Acc#20171014-1234 from Bed 1" ]
     ] )
  ] [
     a fhir:Specimen ;
     fhir:id [ fhir:v "bed2" ] ;
     fhir:note ( [
       fhir:text [ fhir:v "Live Oysters Acc#20171014-1234 from Bed 2" ]
     ] )
  ] [
     a fhir:Group ;
     fhir:id [ fhir:v "group1" ] ;
     fhir:type [ fhir:v "animal" ] ;
     fhir:membership [ fhir:v "enumerated" ] ;
     fhir:member ( [
       fhir:entity [
         fhir:reference [ fhir:v "#bed1" ]
       ]
     ] [
       fhir:entity [
         fhir:reference [ fhir:v "#bed2" ]
       ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "http://sonomacounty.ca.gov/Health/Public-Health/Laboratory"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "20171014-1234" ]
  ] ) ; # 
  fhir:status [ fhir:v "preliminary"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:41857-4 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "41857-4" ] ;
       fhir:display [ fhir:v "Vibrio parahaemolyticus DNA [Presence] in Unspecified specimen by Probe and target amplification method" ]
     ] [
       fhir:system [ fhir:v "http://sonomacounty.ca.gov/Health/Public-Health/Laboratory/test-codes"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "VP MULTI PCR" ] ;
       fhir:display [ fhir:v "VP MULTI PCR" ]
     ] ) ; #    Should use a  proper LOINC code    
     fhir:text [ fhir:v "OYSTER TESTING" ]
  ] ; #    
#    Observations are often coded in multiple code systems.
#      - LOINC
#		- or SNOMED
#      -and/or the source system may provides its own "local" code, which may be less or more granular than LOINC.
#	In this example there is only local codes
#     
  fhir:subject [
     fhir:display [ fhir:v "Sonoma oyster farm" ] #    reference value=\"Location\/oyster-farm\"\/   
  ] ; # 
  fhir:effective [ fhir:v "2017-10-12"^^xsd:date] ; # 
  fhir:issued [ fhir:v "2017-10-14T23:11:24Z"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Practitioner/f005" ] ;
     fhir:display [ fhir:v "A. Langeveld" ]
  ] ) ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:10828004 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "10828004" ] ;
       fhir:display [ fhir:v "Positive (qualifier value)" ]
     ] [
       fhir:system [ fhir:v "http://sonomacounty.ca.gov/Health/Public-Health/Laboratory/result-codes"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "POSITIVE" ] ;
       fhir:display [ fhir:v "POSITIVE" ]
     ] ) ; #    SNOMED CT codes   
     fhir:text [ fhir:v "POSITIVE" ]
  ] ; #    results of this Qualtiattive PCR is a choice of Positive/Negative and Inconclusive   
  fhir:interpretation ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "A" ] ;
       fhir:display [ fhir:v "Abnormal" ]
     ] )
  ] ) ; # 
  fhir:specimen [
     fhir:reference [ fhir:v "#group1" ]
  ] ; # 
  fhir:referenceRange ( [
     fhir:text [ fhir:v "NEGATIVE" ]
  ] )] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.