<?xml version="1.0" encoding="UTF-8"?>

<Encounter xmlns="http://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>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="IMP"/>
      <display value="inpatient encounter"/>
    </coding>
  </class>
  <subject>
    <reference value="Patient/example"/>
  </subject>
  <subjectStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/encounter-subject-status"/>
      <code value="receiving-care"/>
    </coding>
  </subjectStatus>
  <careTeam>
    <reference value="CareTeam/example"/>
  </careTeam>
</Encounter>