R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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 ServiceRequest/ob (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 order for an obstetric procedure

@prefix fhir: <http://hl7.org/fhir/> .
@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 "ob"] ; # 
  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=\"ob\"> </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;ob&quot; </p></div><p><b>status</b>: <span title=\"  insert contents here  \">completed</span></p><p><b>intent</b>: order</p><p><b>category</b>: OB <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#386637004 &quot;Obstetric procedure (procedure)&quot;)</span></p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Vaginal delivery <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#22633006 &quot;Vaginal delivery, medical personnel present (procedure)&quot;)</span></td></tr></table><p><b>subject</b>: <span>: Jane Doe</span></p><p><b>occurrence</b>: 2012-06-02</p><p><b>requester</b>: <span>: Women’s Hospital</span></p><p><b>performer</b>: <span>: Martha Midwife, RNP</span></p><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>term pregnancy, active labor <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td></tr></table></div>"
  ] ; #    insert contents here   
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       a sct:386637004 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "386637004" ] ;
       fhir:display [ fhir:v "Obstetric procedure (procedure)" ]
     ] ) ;
     fhir:text [ fhir:v "OB" ]
  ] ) ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a sct:22633006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "22633006" ] ;
         fhir:display [ fhir:v "Vaginal delivery, medical personnel present (procedure)" ]
       ] ) ;
       fhir:text [ fhir:v "Vaginal delivery" ]
     ]
  ] ; # 
  fhir:subject [
     fhir:display [ fhir:v "Jane Doe" ]
  ] ; # 
  fhir:occurrence [ fhir:v "2012-06-02"^^xsd:date] ; # 
  fhir:requester [
     fhir:display [ fhir:v "Women’s Hospital" ]
  ] ; # 
  fhir:performer ( [
     fhir:display [ fhir:v "Martha Midwife, RNP" ]
  ] ) ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:text [ fhir:v "term pregnancy, active labor" ]
     ]
  ] )] . # 

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


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.