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

<id value="example"/>
<text>
  <status value="generated"/>
  <div xmlns="http://www.w3.org/1999/xhtml">Encounter with patient @example</div>
</text> 
<status value="in-progress"/>
  <class>
      <system value="http://hl7.org/fhir/v3/ActCode"/>
      <code value="IMP"/>
      <display value="inpatient encounter"/>
  </class>
      <subject>
  <reference value="Patient/example"/>
</subject>

</Encounter>