<?xml version=“1.0” encoding=“UTF-8”?><DiagnosticOrder xmlns=“hl7.org/fhir”>

<id value="example"/>
<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 &#39;V173&#39; = &#39;??&#39;, given as &#39;Fam hx-ischem heart dis&#39;})</span></p><p><b>supportingInformation</b>: id: fasting; status: final; Fasting status - Reported <span>(Details : {LOINC code &#39;49541-6&#39; = &#39;Fasting status - Reported&#39;, given as &#39;Fasting status - Reported&#39;})</span>; Patient/example; Yes <span>(Details : {http://hl7.org/fhir/v2/0136 code &#39;Y&#39; = &#39;Yes&#39;, given as &#39;Yes&#39;})</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 &#39;LIPID&#39; = &#39;??)</span></td><td><a>Specimen/101</a></td></tr></table><p><b>note</b>: patient is afraid of needles</p></div></text><contained>
        <!--    remove text element and let build render it..
        <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"> 
Example Diagnostic Order
</div>
</text>
   -->
        <Observation>
                <id value="fasting"/>
                <!--    the mandatory quality flag:    -->
                <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>