<?xml version="1.0" encoding="UTF-8"?><Encounter xmlns="http://hl7.org/fhir">
	<id value="home"/>
	<meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <text>
		<status value="generated"/>
		<div xmlns="http://www.w3.org/1999/xhtml">Encounter with patient @example who is at home</div>
	</text>
	<contained>
		<Location>
			<id value="home"/>
			<description value="Client's home"/>
			<mode value="kind"/>
		</Location>
	</contained>
	<status value="completed"/>
	<class>
		<coding>
			<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
			  <!--  Note that this value implies that the practitioner was at the patients home, 
			if it was a tele-service, then the virtual code should be used.  -->
			<code value="HH"/>
			<display value="home health"/>
		</coding>
	</class>
	<subject>
		<reference value="Patient/example"/>
	</subject>
	<participant>
		<type>
			<coding>
				<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
				<code value="PPRF"/>
			</coding>
		</type>
		<period>
			<start value="2015-01-17T16:00:00+10:00"/>
			<end value="2015-01-17T16:30:00+10:00"/>
		</period>
		<actor>
			<reference value="Practitioner/example"/>
			<display value="Dr Adam Careful"/>
		</actor>
	</participant>
	<participant>
		<actor>
			<reference value="Patient/example"/>
		</actor>
	</participant>
	<actualPeriod>
		<start value="2015-01-17T16:00:00+10:00"/>
		<end value="2015-01-17T16:30:00+10:00"/>
	</actualPeriod>
	<location>
		<location>
			<reference value="#home"/>
			<display value="Client's home"/>
		</location>
		<status value="completed"/>
		<period>
			<start value="2015-01-17T16:00:00+10:00"/>
			<end value="2015-01-17T16:30:00+10:00"/>
		</period>
	</location>
</Encounter>