Release 4B Ballot #1

This page is part of the FHIR Specification (v4.1.0: Release 4B Ballot #1). 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

Servicerequest-example-subrequest.ttl

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: <http://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 -------------------------------------------------------------------

<http://hl7.org/fhir/ServiceRequest/subrequest> a fhir:ServiceRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "subrequest"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>basedOn</b>: <span>Original Request</span></p><p><b>replaces</b>: <span>Previous allergy test</span></p><p><b>requisition</b>: id: A13848392</p><p><b>status</b>: active</p><p><b>intent</b>: instance-order</p><p><b>priority</b>: routine</p><p><b>code</b>: <span>Peanut IgG</span></p><p><b>subject</b>: <a>Generated Summary: id: MINT1234; active; MINT_TEST ; gender: male</a></p><p><b>occurrence</b>: 8 May 2013, 12:33:27 pm</p><p><b>requester</b>: <a>Dr. Adam Careful. Generated Summary: id: 23; active; Adam Careful </a></p><p><b>performerType</b>: <span>Nurse</span></p><p><b>reasonCode</b>: <span>Check for Peanut Allergy</span></p><p><b>bodySite</b>: <span>Right arm</span></p></div>"
  ];
  fhir:ServiceRequest.basedOn [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Original Request" ]
  ];
  fhir:ServiceRequest.replaces [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Previous allergy test" ]
  ];
  fhir:ServiceRequest.requisition [
     fhir:Identifier.value [ fhir:value "A13848392" ]
  ];
  fhir:ServiceRequest.status [ fhir:value "active"];
  fhir:ServiceRequest.intent [ fhir:value "instance-order"];
  fhir:ServiceRequest.priority [ fhir:value "routine"];
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:35542-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "35542-0" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Peanut IgG" ]
  ];
  fhir:ServiceRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/dicom>;
     fhir:Reference.reference [ fhir:value "Patient/dicom" ]
  ];
  fhir:ServiceRequest.occurrenceDateTime [ fhir:value "2013-05-08T09:33:27+07:00"^^xsd:dateTime];
  fhir:ServiceRequest.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ];
     fhir:Reference.display [ fhir:value "Dr. Adam Careful" ]
  ];
  fhir:ServiceRequest.performerType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.display [ fhir:value "Qualified nurse" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Nurse" ]
  ];
  fhir:ServiceRequest.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Check for Peanut Allergy" ]
  ];
  fhir:ServiceRequest.bodySite [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.display [ fhir:value "Right arm" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Right arm" ]
  ] .

<http://hl7.org/fhir/Patient/dicom> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/ServiceRequest/subrequest.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/ServiceRequest/subrequest.ttl> .

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


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.