Spenser - a developer's companion
1.0.0 - STU1 International flag

Spenser - a developer's companion, published by Zeora. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/costateixeira/spenser/ and changes regularly. See the Directory of published versions

: Example - Task asking for an order to be fulfilled - XML Representation

Raw xml | Download


<Task xmlns="http://hl7.org/fhir">
  <id value="FulfillPlainMilkOrder"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Task FulfillPlainMilkOrder</b></p><a name="FulfillPlainMilkOrder"> </a><a name="hcFulfillPlainMilkOrder"> </a><p><b>identifier</b>: <code>http://example.org/spenser-orders</code>/demo-1</p><p><b>status</b>: Requested</p><p><b>intent</b>: order</p><p><b>code</b>: <span title="Codes:{http://hl7.org/fhir/CodeSystem/task-code fulfill}">Fulfill the focal request</span></p><p><b>focus</b>: <a href="MedicationRequest-PlainMilkOrder.html">MedicationRequest: status = active; intent = instance-order</a></p><p><b>for</b>: <a href="Patient/123">Patient/123</a></p></div>
  </text>
  <identifier>
    <system value="http://example.org/spenser-orders"/>
    <value value="demo-1"/>
  </identifier>
  <status value="requested"/>
  <intent value="order"/>
  <code>
    <coding>
      <system value="http://hl7.org/fhir/CodeSystem/task-code"/>
      <code value="fulfill"/>
      <display value="Fulfill the focal request"/>
    </coding>
  </code>
  <focus>🔗 
    <reference value="MedicationRequest/PlainMilkOrder"/>
  </focus>
  <for>
    <reference value="Patient/123"/>
  </for>
</Task>