Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example ServiceRequest/lipid (Turtle)

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

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

Lipid Panel Order

@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:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "lipid"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"lipid\"> </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 ServiceRequest &quot;lipid&quot; </p></div><p><b>identifier</b>: Placer: 2345234234234</p><p><b>status</b>: active</p><p><b>intent</b>: original-order</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Lipid Panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (tests#LIPID)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>encounter</b>: <a href=\"encounter-example.html\">Encounter/example</a></p><p><b>occurrence</b>: 2013-05-02T16:16:00-07:00</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> &quot;Adam CAREFUL&quot;</p><p><b>performer</b>: <a href=\"practitioner-example-f202-lm.html\">Practitioner/f202</a> &quot;Luigi Maas&quot;</p><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Fam hx-ischem heart dis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (ICD-9#V173)</span></td></tr></table><h3>SupportingInfos</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"fasting\"> </a><blockquote><p/><p><a name=\"fasting\"> </a></p><p><b>status</b>: <span title=\"     the mandatory quality flag:     \">final</span></p><p><b>code</b>: Fasting status - Reported <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#49541-6)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>value</b>: Yes <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (v2-0136#Y)</span></p></blockquote></td></tr></table><p><b>specimen</b>: <a name=\"serum\"> </a></p><blockquote><p/><p><a name=\"serum\"> </a></p><p><b>identifier</b>: id: 20150107-0012</p><p><b>type</b>: Serum sample <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#119364003)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><h3>Collections</h3><table class=\"grid\"><tr><td>-</td><td><b>Collected[x]</b></td></tr><tr><td>*</td><td>2015-08-16T06:40:17Z</td></tr></table></blockquote><p><b>note</b>: patient is afraid of needles</p></div>"
  ] ; # 
  fhir:contained ( [
     a fhir:Observation ;
     fhir:id [ fhir:v "fasting" ] ;
     fhir:status [ fhir:v "final" ] ; #       the mandatory quality flag:      
     fhir:code [
       fhir:coding ( [
         a loinc:49541-6 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "49541-6" ] ;
         fhir:display [ fhir:v "Fasting status - Reported" ]
       ] )
     ] ;
     fhir:subject [
       fhir:reference [ fhir:v "Patient/example" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0136"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "Y" ] ;
         fhir:display [ fhir:v "Yes" ]
       ] )
     ]
  ] [
     a fhir:Specimen ;
     fhir:id [ fhir:v "serum" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "http://acme.org/specimens"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "20150107-0012" ]
     ] ) ;
     fhir:type [
       fhir:coding ( [
         a sct:119364003 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "119364003" ] ;
         fhir:display [ fhir:v "Serum sample" ]
       ] )
     ] ;
     fhir:subject [
       fhir:reference [ fhir:v "Patient/example" ]
     ] ;
     fhir:collection [
       fhir:collected [ fhir:v "2015-08-16T06:40:17Z"^^xsd:dateTime ]
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PLAC" ]
       ] ) ;
       fhir:text [ fhir:v "Placer" ]
     ] ;
     fhir:system [ fhir:v "urn:oid:1.3.4.5.6.7"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "2345234234234" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "original-order"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         fhir:system [ fhir:v "http://acme.org/tests"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "LIPID" ]
       ] ) ;
       fhir:text [ fhir:v "Lipid Panel" ]
     ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/example" ]
  ] ; # 
  fhir:occurrence [ fhir:v "2013-05-02T16:16:00-07:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/example" ]
  ] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Practitioner/f202" ]
  ] ) ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/sid/icd-9"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "V173" ] ;
         fhir:display [ fhir:v "Fam hx-ischem heart dis" ]
       ] )
     ]
  ] ) ; # 
  fhir:supportingInfo ( [
     fhir:reference [
       fhir:reference [ fhir:v "#fasting" ] ;
       fhir:display [ fhir:v "Fasting status" ]
     ]
  ] ) ; # 
  fhir:specimen ( [
     fhir:reference [ fhir:v "#serum" ] ;
     fhir:display [ fhir:v "Serum specimen" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "patient is afraid of needles" ]
  ] )] . # 

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


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.