R6 Ballot (2nd Draft)

Publish-box (todo)

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:id [ fhir:v "physiotherapy"] ; # 
  fhir:contained ( [
     a fhir:Provenance ;
     fhir:id [ fhir:v "signature" ] ;
     fhir:target ( [
       fhir:reference [ fhir:v "ServiceRequest/physiotherapy/_history/1" ]
     ] ) ;
     fhir:recorded [ fhir:v "2017-02-01T17:23:07Z"^^xsd:dateTime ] ;
     fhir:agent ( [
       fhir:role ( [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "AUT" ]
         ] )
       ] ) ;
       fhir:who [
         fhir:reference [ fhir:v "Practitioner/example" ] ;
         fhir:display [ fhir:v "Dr Adam Careful" ]
       ]
     ] ) ;
     fhir:signature ( [
       fhir:type ( [
         fhir:system [ fhir:v "urn:iso-astm:E1762-95:2013"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1.2.840.10065.1.12.1.1" ] ;
         fhir:display [ fhir:v "Author's Signature" ]
       ] ) ;
       fhir:when [ fhir:v "2017-02-01T17:23:07Z"^^xsd:dateTime ] ;
       fhir:who [
         fhir:reference [ fhir:v "Practitioner/example" ] ;
         fhir:display [ fhir:v "Dr Adam Careful" ]
       ] ;
       fhir:targetFormat [ fhir:v "application/fhir+xml" ] ;
       fhir:sigFormat [ fhir:v "application/signature+xml" ] ;
       fhir:data [ fhir:v "dGhpcyBibG9iIGlzIHNuaXBwZWQ="^^xsd:base64Binary ]
     ] )
  ] [
     a fhir:Condition ;
     fhir:id [ fhir:v "cystic-fibrosis" ] ;
     fhir:clinicalStatus [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "active" ]
       ] )
     ] ;
     fhir:verificationStatus [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "confirmed" ]
       ] )
     ] ;
     fhir:category ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "problem-list-item" ] ;
         fhir:display [ fhir:v "Problem List Item" ]
       ] )
     ] ) ;
     fhir:severity [
       fhir:coding ( [
         a sct:255604002 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "255604002" ] ;
         fhir:display [ fhir:v "Mild" ]
       ] )
     ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/sid/icd-10-cm"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "E84.0" ] ;
         fhir:display [ fhir:v "Cystic fibrosis with pulmonary manifestations" ]
       ] ) ;
       fhir:text [ fhir:v "Cystic Fibrosis" ]
     ] ;
     fhir:subject [
       fhir:reference [ fhir:v "Patient/example" ]
     ] ;
     fhir:onset [ fhir:v "2012-11-12"^^xsd:date ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PLAC" ] ;
         fhir:display [ fhir:v "Placer Identifier" ]
       ] ) ;
       fhir:text [ fhir:v "Placer" ]
     ] ;
     fhir:system [ fhir:v "http://goodhealth.org/placer-ids"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "20170201-0001" ]
  ] ) ; # 
  fhir:basedOn ( [
     fhir:reference [ fhir:v "CarePlan/gpvisit" ]
  ] ) ; #    example to show how a CarePlan can be referenced from a request  
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a sct:34431008 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "34431008" ] ;
         fhir:display [ fhir:v "Physiotherapy of chest (regime/therapy)" ]
       ] )
     ]
  ] ; #   Physiotherapy or home excercises would be a common use case for as needed. E.g. exercises for cystic fibrosis - "Chest therapy 1-4 times per day as needed to clear mucus"  
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:occurrence [
     a fhir:Timing ;
     fhir:repeat [
       fhir:duration [ fhir:v "15"^^xsd:decimal ] ;
       fhir:durationMax [ fhir:v "25"^^xsd:decimal ] ;
       fhir:durationUnit [ fhir:v "min" ] ;
       fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
       fhir:frequencyMax [ fhir:v "4"^^xsd:positiveInteger ] ;
       fhir:period [ fhir:v "1"^^xsd:decimal ] ;
       fhir:periodUnit [ fhir:v "d" ]
     ]
  ] ; # 
  fhir:asNeeded [
     a fhir:CodeableConcept ;
     fhir:text [ fhir:v "as needed to clear mucus" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2017-02-01T17:23:07Z"^^xsd:dateTime] ; #   TimeStamp when order authorized 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr Adam Careful" ]
  ] ; # 
  fhir:reason ( [
     fhir:reference [
       fhir:reference [ fhir:v "#cystic-fibrosis" ]
     ]
  ] ) ; #   demonstrating in this example the reason reference element using a contained resource for the purpose of this example only typically would reference an external resource 
  fhir:relevantHistory ( [
     fhir:reference [ fhir:v "#signature" ] ;
     fhir:display [ fhir:v "Author's Signature" ]
  ] )] . #   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 

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


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.