QI-Core Implementation Guide
7.0.0-ballot - STU7 Ballot United States of America flag

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. 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 class=\"res-header-id\"><b>Generated Narrative: ServiceRequest example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-US\"> </a><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 387713003}\">Surgical Procedure</span></p><p><b>priority</b>: Urgent</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 80146002}\">Excision of appendix (procedure)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter: status = in-progress; class = inpatient encounter (ActCode#IMP); type = Initial hospital inpatient or observation care, per day, for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and high level of medical decision making. When using total time on the date of the encounter for code selection, 75 minutes must be met or exceeded.</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>: <span title=\"Codes:{http://snomed.info/sct 21522001}\">Abdominal pain (finding)</span></p><p><b>bodySite</b>: <span title=\"Codes:{http://snomed.info/sct 66754008}\">Appendix structure</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" ]     ] )
  ] ) . #