EMIS Web Adapter for QuickFHIR
2.0.0 - draft

Publish Box goes here

: How to write a Condition - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="write-condition.example"/>
  <type value="transaction"/>
  <entry>
    <resource>
      <Encounter>
        <text>
          <status value="empty"/>
          <b>narrative not required</b>
        </text>
        <status value="finished"/>
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="AMB"/>
          <display value="ambulatory"/>
        </class>
        <subject>
          <reference value="Patient/1714"/>
        </subject>
        <period>
          <end value="2021-02-15"/>
        </period>
      </Encounter>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Encounter"/>
    </request>
  </entry>
  <entry>
    <resource>
      <Condition>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Condition</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><b>code</b>: Persistent cough <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#284523002)</span></p><p><b>subject</b>: <a href="Patient/1714">Patient/1714</a></p><p><b>recordedDate</b>: 2021-02-15</p><p><b>note</b>: Data entered to test posting via QF</p></div>
        </text>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="284523002"/>
            <display value="Persistent cough"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/1714"/>
        </subject>
        <recordedDate value="2021-02-15"/>
        <note>
          <text value="Data entered to test posting via QF"/>
        </note>
      </Condition>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Condition"/>
    </request>
  </entry>
</Bundle>