Release 5 Preview #3

This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). 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-example2.ttl

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

<http://hl7.org/fhir/ServiceRequest/physiotherapy> 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</b></p><p><b>id</b>: physiotherapy</p><p><b>identifier</b>: Placer: 20170201-0001</p><p><b>basedOn</b>: <a>Generated Summary: id: gpvisit; status: active; intent: plan; period: 01/01/2013 9:30:00 PM --&gt; (ongoing); <span>obesity</span></a></p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span>Physiotherapy of chest (regime/therapy)</span></p><p><b>subject</b>: <a>Generated Summary: id: example; Medical record number: 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim , Peter James Windsor (MAIDEN); -unknown-(HOME), ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25; </a></p><p><b>occurrence</b>: Duration 15days, Do 1-1 per 1 days</p><p><b>asNeeded</b>: <span>as needed to clear mucus</span></p><p><b>authoredOn</b>: 02/02/2017 4:23:07 AM</p><p><b>requester</b>: <a>Dr Adam Careful. Generated Summary: id: example; id: 23; active; Adam Careful </a></p><p><b>reason</b>: </p><p><b>relevantHistory</b>: <a> </a></p><blockquote><p><b>id</b>: signature</p><p><b>target</b>: <a>ServiceRequest/physiotherapy/_history/1</a></p><p><b>recorded</b>: 02/02/2017 4:23:07 AM</p><h3>Agents</h3><table><tr><td>-</td><td><b>Role</b></td><td><b>Who</b></td></tr><tr><td>*</td><td><span>author (originator)</span></td><td><a>Dr Adam Careful. Generated Summary: id: example; id: 23; active; Adam Careful </a></td></tr></table><p><b>signature</b>: </p></blockquote></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Provenance;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "signature" ];
     fhir:Provenance.target [
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/ServiceRequest/physiotherapy/_history/1>;
       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:link <http://hl7.org/fhir/Practitioner/example>;
         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:link <http://hl7.org/fhir/Practitioner/example>;
         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:link <http://hl7.org/fhir/Patient/example>;
       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:link <http://hl7.org/fhir/CarePlan/gpvisit>;
     fhir:Reference.reference [ fhir:value "CarePlan/gpvisit" ]
  ];
  fhir:ServiceRequest.status [ fhir:value "completed"];
  fhir:ServiceRequest.intent [ fhir:value "order"];
  fhir:ServiceRequest.code [
     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:link <http://hl7.org/fhir/Patient/example>;
     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:link <http://hl7.org/fhir/Practitioner/example>;
     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" ]
  ] .

<http://hl7.org/fhir/ServiceRequest/physiotherapy/_history/1> a fhir:ServiceRequest .

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

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

<http://hl7.org/fhir/CarePlan/gpvisit> a fhir:CarePlan .

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

<http://hl7.org/fhir/ServiceRequest/physiotherapy.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/ServiceRequest/physiotherapy.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.