Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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

Example ServiceRequest/physiotherapy (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

An example of an order for home physiotherapy

@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:Resource.id [ fhir:value "physiotherapy"];
  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=\"physiotherapy\"> </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;physiotherapy&quot; </p></div><p><b>identifier</b>: Placer: 20170201-0001</p><p><b>basedOn</b>: <span title=\"   example to show how a CarePlan can be referenced from a request  \"><a href=\"careplan-example-GPVisit.html\">CarePlan/gpvisit</a></span></p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Physiotherapy of chest (regime/therapy) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#34431008)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>occurrence</b>: Duration 15days, Do 1-1 per 1 days</p><p><b>asNeeded</b>: as needed to clear mucus <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>authoredOn</b>: <span title=\"  TimeStamp when order authorized \">2017-02-01T17:23:07Z</span></p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example: Dr Adam Careful</a> &quot;Adam CAREFUL&quot;</p><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"cystic-fibrosis\"> </a><blockquote><p/><p><a name=\"cystic-fibrosis\"> </a></p><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>category</b>: Problem List Item <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#problem-list-item)</span></p><p><b>severity</b>: Mild <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#255604002)</span></p><p><b>code</b>: Cystic Fibrosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-icd10CM.html\">International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)</a>#E84.0 &quot;Cystic fibrosis with pulmonary manifestations&quot;)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>onset</b>: 2012-11-12</p></blockquote></td></tr></table><p><b>relevantHistory</b>: <span title=\"  demonstrating in this example the relevant history element using a contained resource for the purpose of this example only typically would reference an external resource \"><a name=\"signature\"> </a></span></p><blockquote><p/><p><a name=\"signature\"> </a></p><p><b>target</b>: <a href=\"servicerequest-example2.html\">ServiceRequest/physiotherapy/_history/1</a></p><p><b>recorded</b>: 02/02/2017 4:23:07 AM</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Role</b></td><td><b>Who</b></td></tr><tr><td>*</td><td>author (originator) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#AUT)</span></td><td><a href=\"practitioner-example.html\">Practitioner/example: Dr Adam Careful</a> &quot;Adam CAREFUL&quot;</td></tr></table><h3>Signatures</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>When</b></td><td><b>Who</b></td><td><b>TargetFormat</b></td><td><b>SigFormat</b></td><td><b>Data</b></td></tr><tr><td>*</td><td>Author's Signature (Details: urn:iso-astm:E1762-95:2013 code 1.2.840.10065.1.12.1.1 = 'Author's Signature', stated as 'Author's Signature')</td><td>02/02/2017 4:23:07 AM</td><td><a href=\"practitioner-example.html\">Practitioner/example: Dr Adam Careful</a> &quot;Adam CAREFUL&quot;</td><td>application/fhir+xml</td><td>application/signature+xml</td><td>dGhpcyBibG9iIGlzIHNuaXBwZWQ=</td></tr></table></blockquote></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Provenance;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "signature" ];
     fhir:Provenance.target [
       fhir:index 0;
       fhir:Reference.reference [ fhir:value "ServiceRequest/physiotherapy/_history/1" ]
     ];
     fhir:Provenance.recorded [ fhir:value "2017-02-01T17:23:07Z"^^xsd:dateTime ];
     fhir:Provenance.agent [
       fhir:index 0;
       fhir:Provenance.agent.role [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
           fhir:Coding.code [ fhir:value "AUT" ]
         ]
       ];
       fhir:Provenance.agent.who [
         fhir:Reference.reference [ fhir:value "Practitioner/example" ];
         fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
       ]
     ];
     fhir:Provenance.signature [
       fhir:index 0;
       fhir:Signature.type [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:iso-astm:E1762-95:2013" ];
         fhir:Coding.code [ fhir:value "1.2.840.10065.1.12.1.1" ];
         fhir:Coding.display [ fhir:value "Author's Signature" ]
       ];
       fhir:Signature.when [ fhir:value "2017-02-01T17:23:07Z"^^xsd:dateTime ];
       fhir:Signature.who [
         fhir:Reference.reference [ fhir:value "Practitioner/example" ];
         fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
       ];
       fhir:Signature.targetFormat [ fhir:value "application/fhir+xml" ];
       fhir:Signature.sigFormat [ fhir:value "application/signature+xml" ];
       fhir:Signature.data [ fhir:value "dGhpcyBibG9iIGlzIHNuaXBwZWQ="^^xsd:base64Binary ]
     ]
  ], [
     a fhir:Condition;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "cystic-fibrosis" ];
     fhir:Condition.clinicalStatus [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "active" ]
       ]
     ];
     fhir:Condition.verificationStatus [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
         fhir:Coding.code [ fhir:value "confirmed" ]
       ]
     ];
     fhir:Condition.category [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
         fhir:Coding.code [ fhir:value "problem-list-item" ];
         fhir:Coding.display [ fhir:value "Problem List Item" ]
       ]
     ];
     fhir:Condition.severity [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:255604002;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "255604002" ];
         fhir:Coding.display [ fhir:value "Mild" ]
       ]
     ];
     fhir:Condition.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
         fhir:Coding.code [ fhir:value "E84.0" ];
         fhir:Coding.display [ fhir:value "Cystic fibrosis with pulmonary manifestations" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Cystic Fibrosis" ]
     ];
     fhir:Condition.subject [
       fhir:Reference.reference [ fhir:value "Patient/example" ]
     ];
     fhir:Condition.onsetDateTime [ fhir:value "2012-11-12"^^xsd:date ]
  ];
  fhir:ServiceRequest.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "PLAC" ];
         fhir:Coding.display [ fhir:value "Placer Identifier" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Placer" ]
     ];
     fhir:Identifier.system [ fhir:value "http://goodhealth.org/placer-ids" ];
     fhir:Identifier.value [ fhir:value "20170201-0001" ]
  ];
  fhir:ServiceRequest.basedOn [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "CarePlan/gpvisit" ]
  ];
  fhir:ServiceRequest.status [ fhir:value "completed"];
  fhir:ServiceRequest.intent [ fhir:value "order"];
  fhir:ServiceRequest.code [
     fhir:CodeableReference.concept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:34431008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "34431008" ];
         fhir:Coding.display [ fhir:value "Physiotherapy of chest (regime/therapy)" ]
       ]
     ]
  ];
  fhir:ServiceRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:ServiceRequest.occurrenceTiming [
     fhir:Timing.repeat [
       fhir:Timing.repeat.duration [ fhir:value "15"^^xsd:decimal ];
       fhir:Timing.repeat.durationMax [ fhir:value "25"^^xsd:decimal ];
       fhir:Timing.repeat.durationUnit [ fhir:value "min" ];
       fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ];
       fhir:Timing.repeat.frequencyMax [ fhir:value "4"^^xsd:positiveInteger ];
       fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
       fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
     ]
  ];
  fhir:ServiceRequest.asNeededCodeableConcept [
     fhir:CodeableConcept.text [ fhir:value "as needed to clear mucus" ]
  ];
  fhir:ServiceRequest.authoredOn [ fhir:value "2017-02-01T17:23:07Z"^^xsd:dateTime];
  fhir:ServiceRequest.requester [
     fhir:Reference.reference [ fhir:value "Practitioner/example" ];
     fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
  ];
  fhir:ServiceRequest.reason [
     fhir:index 0;
     fhir:CodeableReference.reference [
       fhir:Reference.reference [ fhir:value "#cystic-fibrosis" ]
     ]
  ];
  fhir:ServiceRequest.relevantHistory [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#signature" ];
     fhir:Reference.display [ fhir:value "Author's Signature" ]
  ]] .

# - 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.