Release 4B Snapshot 3: Connectathon 32 Base

This page is part of the Snapshot #3 for FHIR Specification (v4.3.0: R4B - STU ). The current version which supercedes this version is 5.0.0 R5 , released to support Connectathon 32 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Devicerequest-example.ttl

Example DeviceRequest/example (Turtle)

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

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

Wheelchair assignment

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/DeviceRequest/example> a fhir:DeviceRequest;

[a fhir:DeviceRequest;

  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];

  fhir:Resource.id [ fhir:value "example"]; # 

  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><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 &quot;example&quot; </p></div><p><b>status</b>: completed</p><p><b>intent</b>: original-order</p><p><b>code</b>: <a href=\"device-example.html\">Device/example</a></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p></div>"
  ];
  fhir:DeviceRequest.status [ fhir:value "completed"];
  fhir:DeviceRequest.intent [ fhir:value "original-order"];
  fhir:DeviceRequest.codeReference [
     fhir:link <http://hl7.org/fhir/Device/example>;
     fhir:Reference.reference [ fhir:value "Device/example" ]
  ];

     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DeviceRequest</b><a name=\"example\"> </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 DeviceRequest &quot;example&quot; </p></div><p><b>status</b>: <span title=\"  insert contents here  \">completed</span></p><p><b>intent</b>: original-order</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a href=\"device-example.html\">Device/example</a></td></tr></table><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p></div>"
  ]; #    insert contents here   
  fhir:DeviceRequest.status [ fhir:value "completed"]; # 
  fhir:DeviceRequest.intent [ fhir:value "original-order"]; # 
  fhir:DeviceRequest.code [
     fhir:CodeableReference.reference [
       fhir:Reference.reference [ fhir:value "Device/example" ]
     ]
  ]; # 

  fhir:DeviceRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;

     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] .

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

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

  ]] . # 


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

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

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