Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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-example4.ttl

Example ServiceRequest/benchpress (Turtle)

Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

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

Part of an exercise plan

@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/benchpress> a fhir:ServiceRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "benchpress"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: benchpress</p><p><b>status</b>: active</p><p><b>intent</b>: plan</p><p><b>code</b>: Bench Press (regime/therapy)  <span>(Details : {SNOMED CT code '229115003' = 'Bench press', given as 'Bench Press (regime/therapy) '})</span></p><p><b>subject</b>: <a>Patient/example</a></p><p><b>occurrence</b>: Count 20 times, Do 3 per 1 weeks</p><p><b>patientInstruction</b>: Start with 30kg 10-15 repetitions for three sets and increase in increments of 5kg when you feel ready</p></div>"
  ];
  fhir:ServiceRequest.status [ fhir:value "active"];
  fhir:ServiceRequest.intent [ fhir:value "plan"];
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:229115003;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "229115003" ];
       fhir:Coding.display [ fhir:value "Bench Press (regime/therapy) " ]

[a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "benchpress"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"benchpress\"> </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;benchpress&quot; </p></div><p><b>status</b>: <span title=\"  Showing part of an excercise plan  \">active</span></p><p><b>intent</b>: plan</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Bench Press (regime/therapy) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#229115003)</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>: Count 20 times, 3 per 1 weeks</p><h3>PatientInstructions</h3><table class=\"grid\"><tr><td>-</td><td><b>Instruction[x]</b></td></tr><tr><td>*</td><td>Start with 30kg 10-15 repetitions for three sets and increase in increments of 5kg when you feel ready</td></tr></table></div>"
  ] ; #    Showing part of an excercise plan   
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "plan"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a sct:229115003 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "229115003" ] ;
         fhir:display [ fhir:v "Bench Press (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.count [ fhir:value "20"^^xsd:positiveInteger ];
       fhir:Timing.repeat.countMax [ fhir:value "30"^^xsd:positiveInteger ];
       fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:positiveInteger ];
       fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
       fhir:Timing.repeat.periodUnit [ fhir:value "wk" ]

  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:occurrence [
     a fhir:Timing ;
     fhir:repeat [
       fhir:count [ fhir:v "20"^^xsd:positiveInteger ] ;
       fhir:countMax [ fhir:v "30"^^xsd:positiveInteger ] ;
       fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
       fhir:period [ fhir:v "1"^^xsd:decimal ] ;
       fhir:periodUnit [ fhir:v "wk" ]

     ]
  ];
  fhir:ServiceRequest.patientInstruction [ fhir:value "Start with 30kg 10-15 repetitions for three sets and increase in increments of 5kg when you feel ready"] .

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

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

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

  ] ; # 
  fhir:patientInstruction ( [
     fhir:instruction [ fhir:v "Start with 30kg 10-15 repetitions for three sets and increase in increments of 5kg when you feel ready" ]
  ] )] . # 


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


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.