<DiagnosticOrder xmlns="http://hl7.org/fhir">
  <id value="core-examples-DiagnosticOrder-example4" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-09-08T11:58:20.6+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: example</p>
      <p>
        <b>contained</b>: </p>
      <p>
        <b>subject</b>: <a>Patient/example</a></p>
      <p>
        <b>orderer</b>: <a>Practitioner/example</a></p>
      <p>
        <b>identifier</b>: Placer = 2345234234234</p>
      <p>
        <b>encounter</b>: <a>Encounter/example</a></p>
      <p>
        <b>reason</b>: Fam hx-ischem heart dis <span>(Details : {ICD-9 code 'V173' = '??', given as 'Fam hx-ischem heart dis'})</span></p>
      <p>
        <b>supportingInformation</b>: id: fasting; status: final; Fasting status - Reported <span>(Details : {LOINC code '49541-6' = 'Fasting status - Reported', given as 'Fasting status - Reported'})</span>; Patient/example; Yes <span>(Details : {http://hl7.org/fhir/v2/0136 code 'Y' = 'Yes', given as 'Yes'})</span></p>
      <p>
        <b>status</b>: received</p>
      <h3>Events</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Status</b>
          </td>
          <td>
            <b>DateTime</b>
          </td>
          <td>
            <b>Actor</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>requested</td>
          <td>02/05/2013 4:16:00 PM</td>
          <td>
            <a>Practitioner/example</a>
          </td>
        </tr>
      </table>
      <h3>Items</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>Specimen</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>Lipid Panel <span>(Details : {http://acme.org/tests code 'LIPID' = '??)</span></td>
          <td>
            <a>Specimen/101</a>
          </td>
        </tr>
      </table>
      <p>
        <b>note</b>: patient is afraid of needles</p>
    </div>
  </text>
  <contained>
    <Observation>
      <id value="fasting" />
      <status value="final" />
      <code>
        <coding>
          <system value="http://loinc.org" />
          <code value="49541-6" />
          <display value="Fasting status - Reported" />
        </coding>
      </code>
      <subject>
        <reference value="Patient/example" />
      </subject>
      <valueCodeableConcept>
        <coding>
          <system value="http://hl7.org/fhir/v2/0136" />
          <code value="Y" />
          <display value="Yes" />
        </coding>
      </valueCodeableConcept>
    </Observation>
  </contained>
  <subject>
    <reference value="Patient/example" />
  </subject>
  <orderer>
    <reference value="Practitioner/example" />
  </orderer>
  <identifier>
    <type>
      <coding>
        <system value="http://hl7.org/fhir/identifier-type" />
        <code value="PLAC" />
      </coding>
      <text value="Placer" />
    </type>
    <system value="urn:oid:1.3.4.5.6.7" />
    <value value="2345234234234" />
  </identifier>
  <encounter>
    <reference value="Encounter/example" />
  </encounter>
  <reason>
    <coding>
      <system value="http://hl7.org/fhir/sid/icd-9" />
      <code value="V173" />
      <display value="Fam hx-ischem heart dis" />
    </coding>
  </reason>
  <supportingInformation>
    <reference value="#fasting" />
  </supportingInformation>
  <status value="received" />
  <event>
    <status value="requested" />
    <dateTime value="2013-05-02T16:16:00-07:00" />
    <actor>
      <reference value="Practitioner/example" />
    </actor>
  </event>
  <item>
    <code>
      <coding>
        <system value="http://acme.org/tests" />
        <code value="LIPID" />
      </coding>
      <text value="Lipid Panel" />
    </code>
    <specimen>
      <reference value="Specimen/101" />
    </specimen>
  </item>
  <note>
    <text value="patient is afraid of needles" />
  </note>
</DiagnosticOrder>