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 elective 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 "elective-example"] ; # 
  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=\"elective-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;elective-example&quot; </p></div><blockquote><p><b>modifierExtension[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-isElective]</b></p></blockquote><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Stomach Bypass <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#442338001 &quot;Bypass of stomach (procedure)&quot;)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>authoredOn</b>: 2015-03-30</p><p><b>requester</b>: <span>: Dr. Beverly Crusher</span></p><p><b>performer</b>: <a href=\"Practitioner-example.html\">Practitioner/example: Dr Cecil Surgeon</a> &quot; CAREFUL&quot;</p></div>"
  ] ; # 
  fhir:modifierExtension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-isElective"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]
  ] ) ; #    Example of a device manipulation service request  
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
a sct:442338001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "442338001" ] ;
fhir:display [ fhir:v "Bypass of stomach (procedure)" ]     ] ) ;
fhir:text [ fhir:v "Stomach Bypass" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2015-03-30"^^xsd:date] ; # 
  fhir:requester [
fhir:display [ fhir:v "Dr. Beverly Crusher" ] # reference value=\"Practitioner\/3ad0687e-f477-468c-afd5-fcc2bf897809\"\/
  ] ; # 
  fhir:performer ( [
fhir:reference [ fhir:v "Practitioner/example" ] ;
fhir:display [ fhir:v "Dr Cecil Surgeon" ]
  ] ) . #