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

<id value="example"/>

<meta>
  <security>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
    <code value="HTEST"/>
    <display value="test health data"/>
  </security>
</meta>

<contained>
  <Practitioner>
    <id value="pr1"/>
    <name>
      <family value="Dietician"/>
      <given value="Dorothy"/>
    </name>
  </Practitioner>
</contained>
<identifier>
     <value value="12345"/>
</identifier>
<status value="active"/>
<category>
   <coding>
     <system value="http://loinc.org"/>
     <code value="LA27976-2"/>
         <display value="Encounter-focused care team"/>
   </coding>
</category>
<name value="Peter James Charlmers Care Plan for Inpatient Encounter"/>
<subject>
  <reference value="Patient/example"/>
  <display value="Peter James Chalmers"/>
</subject>
<encounter>
      <reference value="Encounter/example"/>
</encounter>
<period>
  <end value="2013-01-01"/>
</period>

<participant>
  <role>
    <text value="responsiblePerson"/>
  </role>
  <member>
    <reference value="Patient/example"/>
    <display value="Peter James Chalmers"/>
  </member>
      </participant>

      <participant>
              <role>
                      <text value="adviser"/>
              </role>
              <member>
                      <reference value="#pr1"/>
                      <display value="Dorothy Dietition"/>
              </member>
              <onBehalfOf>
                      <reference value="Organization/f001"/>
              </onBehalfOf>
              <period>
                      <end value="2013-01-01"/>
              </period>
      </participant> 
      <managingOrganization>
      <reference value="Organization/f001"/>
  </managingOrganization>

</CareTeam>