R6 Ballot (2nd Draft)

Publish-box (todo)

Example ServiceRequest/subrequest (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 with sub-requests derived from the request

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

#  
#This example is used for DetectedIssue/Duplicate Therapy example will need to edit that as well
#
# 
#   insert contents here  

[a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "subrequest"] ; # 
  fhir:basedOn ( [
     fhir:display [ fhir:v "Original Request" ]
  ] ) ; #  	<extension url="http://hl7.org/fhir/StructureDefinition/bodysitecode">
#		<valueCodeableConcept>
#			<coding>
#				<system value="http://snomed.info/sct"/>
#				<code value="51185008"/>
#				<display value="Thoracic structure"/>
#			</coding>
#		</valueCodeableConcept>
#</extension>
#	 
  fhir:replaces ( [
     fhir:display [ fhir:v "Previous allergy test" ]
  ] ) ; # 
  fhir:requisition [
     fhir:value [ fhir:v "A13848392" ] #   from Element: extension  
  ] ; #   0..1 The value that is unique  
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "instance-order"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a loinc:35542-0 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "35542-0" ]
       ] ) ;
       fhir:text [ fhir:v "Peanut IgG" ]
     ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/dicom" ]
  ] ; # 
  fhir:occurrence [ fhir:v "2013-05-08T09:33:27+07:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr. Adam Careful" ]
  ] ; # 
  fhir:performerType [
     fhir:coding ( [
       fhir:display [ fhir:v "Qualified nurse" ]
     ] ) ;
     fhir:text [ fhir:v "Nurse" ]
  ] ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:text [ fhir:v "Check for Peanut Allergy" ]
     ]
  ] ) ; # 
  fhir:bodySite ( [
     fhir:coding ( [
       fhir:display [ fhir:v "Right arm" ]
     ] ) ;
     fhir:text [ fhir:v "Right arm" ]
  ] )] . # 

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


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.