Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. 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: <http://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:Resource.id [ fhir:value "vp-oyster"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.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 (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/10/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/3.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:DomainResource.contained [
     a fhir:Specimen;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "bed1" ];
     fhir:Specimen.note [
       fhir:index 0;
       fhir:Annotation.text [ fhir:value "Live Oysters Acc#20171014-1234 from Bed 1" ]
     ]
  ], [
     a fhir:Specimen;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "bed2" ];
     fhir:Specimen.note [
       fhir:index 0;
       fhir:Annotation.text [ fhir:value "Live Oysters Acc#20171014-1234 from Bed 2" ]
     ]
  ], [
     a fhir:Group;
     fhir:index 2;
     fhir:Resource.id [ fhir:value "group1" ];
     fhir:Group.type [ fhir:value "animal" ];
     fhir:Group.membership [ fhir:value "enumerated" ];
     fhir:Group.member [
       fhir:index 0;
       fhir:Group.member.entity [
         fhir:Reference.reference [ fhir:value "#bed1" ]
       ]
     ], [
       fhir:index 1;
       fhir:Group.member.entity [
         fhir:Reference.reference [ fhir:value "#bed2" ]
       ]
     ]
  ];
  fhir:Observation.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://sonomacounty.ca.gov/Health/Public-Health/Laboratory" ];
     fhir:Identifier.value [ fhir:value "20171014-1234" ]
  ];
  fhir:Observation.status [ fhir:value "preliminary"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:41857-4;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "41857-4" ];
       fhir:Coding.display [ fhir:value "Vibrio parahaemolyticus DNA [Presence] in Unspecified specimen by Probe and target amplification method" ]
     ], [
       fhir:index 1;
       fhir:Coding.system [ fhir:value "http://sonomacounty.ca.gov/Health/Public-Health/Laboratory/test-codes" ];
       fhir:Coding.code [ fhir:value "VP MULTI PCR" ];
       fhir:Coding.display [ fhir:value "VP MULTI PCR" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "OYSTER TESTING" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.display [ fhir:value "Sonoma oyster farm" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2017-10-12"^^xsd:date];
  fhir:Observation.issued [ fhir:value "2017-10-14T23:11:24Z"^^xsd:dateTime];
  fhir:Observation.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/f005" ];
     fhir:Reference.display [ fhir:value "A. Langeveld" ]
  ];
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:10828004;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "10828004" ];
       fhir:Coding.display [ fhir:value "Positive (qualifier value)" ]
     ], [
       fhir:index 1;
       fhir:Coding.system [ fhir:value "http://sonomacounty.ca.gov/Health/Public-Health/Laboratory/result-codes" ];
       fhir:Coding.code [ fhir:value "POSITIVE" ];
       fhir:Coding.display [ fhir:value "POSITIVE" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "POSITIVE" ]
  ];
  fhir:Observation.interpretation [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" ];
       fhir:Coding.code [ fhir:value "A" ];
       fhir:Coding.display [ fhir:value "Abnormal" ]
     ]
  ];
  fhir:Observation.specimen [
     fhir:Reference.reference [ fhir:value "#group1" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.text [ fhir:value "NEGATIVE" ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

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


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.