Example ServiceRequest/subrequest (Turtle)
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 -------------------------------------------------------------------
[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: ServiceRequest</b><a name=\"subrequest\"> </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 "subrequest" </p></div><p><b>basedOn</b>: <span title=\" <extension url="http://hl7.org/fhir/StructureDefinition/bodysitecode">\n <valueCodeableConcept>\n <coding>\n <system value="http://snomed.info/sct"/>\n <code value="51185008"/>\n <display value="Thoracic structure"/>\n </coding>\n </valueCodeableConcept>\n</extension>\n \"><span>: Original Request</span></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><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Peanut IgG <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#35542-0)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example-dicom.html\">Patient/dicom</a> " MINT_TEST"</p><p><b>occurrence</b>: 2013-05-08T09:33:27+07:00</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example: Dr. Adam Careful</a> "Adam CAREFUL"</p><p><b>performerType</b>: Nurse <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated] "Qualified nurse")</span></p><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Check for Peanut Allergy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td></tr></table><p><b>bodySite</b>: Right arm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated])</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:CodeableReference.concept [
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:Reference.reference [ fhir:value "Patient/dicom" ]
];
fhir:ServiceRequest.occurrenceDateTime [ fhir:value "2013-05-08T09:33:27+07:00"^^xsd:dateTime];
fhir:ServiceRequest.requester [
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.reason [
fhir:index 0;
fhir:CodeableReference.concept [
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" ]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.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.