QI-Core Implementation Guide
6.0.0 - STU6 United States of America flag

This page is part of the Quality Improvement Core Framework (v6.0.0: STU6 (v6.0.0)) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: ServiceRequest example - TTL Representation

Raw ttl | Download


@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 "example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest>     ] )
  ] ; # 
  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=\"example\"> </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;example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-servicerequest.html\">QICore ServiceRequest</a></p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>category</b>: Surgical Procedure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#387713003)</span></p><p><b>priority</b>: urgent</p><p><b>code</b>: Excision of appendix (procedure) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#80146002)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter/example</a></p><p><b>occurrence</b>: 2013-04-05 --&gt; 2013-04-05</p><p><b>asNeeded</b>: true</p><p><b>authoredOn</b>: 2013-04-04</p><p><b>reasonCode</b>: Abdominal pain (finding) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#21522001)</span></p><p><b>bodySite</b>: Appendix structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#66754008)</span></p></div>"
  ] ; # 
  fhir:status [ fhir:v "completed"] ; #  Extension removed in R4, not clear where this should appear
#  <extension url="http://hl7.org/fhir/StructureDefinition/procedurerequest-authorizedBy">
#    <valueReference>
#      <reference value="Practitioner/example"/>
#    </valueReference>
#  </extension>
#	
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
    ( fhir:coding [
a sct:387713003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "387713003" ] ;
fhir:display [ fhir:v "Surgical Procedure" ]     ] )
  ] ) ; # 
  fhir:priority [ fhir:v "urgent"] ; # 
  fhir:code [
    ( fhir:coding [
a sct:80146002 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "80146002" ] ;
fhir:display [ fhir:v "Excision of appendix (procedure)" ]     ] ) ;
fhir:text [ fhir:v "Excision of appendix (procedure)" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/example" ]
  ] ; # 
  fhir:occurrence [
a fhir:Period ;
fhir:start [ fhir:v "2013-04-05"^^xsd:date ] ;
fhir:end [ fhir:v "2013-04-05"^^xsd:date ]
  ] ; # 
  fhir:asNeeded [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:authoredOn [ fhir:v "2013-04-04"^^xsd:date] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:21522001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "21522001" ] ;
fhir:display [ fhir:v "Abdominal pain (finding)" ]     ] )
  ] ) ; # 
  fhir:bodySite ( [
    ( fhir:coding [
a sct:66754008 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "66754008" ] ;
fhir:display [ fhir:v "Appendix structure" ]     ] )
  ] ) . #