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

<CarePlan xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="additional"/><div xmlns="http://www.w3.org/1999/xhtml">
      <p> A simple care plan to indicate a patient taking their weight once a day because of obesity.</p>
    </div>
  </text>
  <contained>
    <Condition>
      <id value="p1"/>
      <clinicalStatus>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
          <code value="active"/>
        </coding>
      </clinicalStatus>
      <verificationStatus>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
          <code value="confirmed"/>
        </coding>
      </verificationStatus>
      <code>
        <text value="Obesity"/>
      </code>
      <subject>
        <reference value="Patient/example"/>
        <display value="Peter James Chalmers"/>
      </subject>
    </Condition>
  </contained>
  <identifier>
    <value value="12345"/>
  </identifier>
  <basedOn>
    <display value="Management of Type 2 Diabetes"/>
  </basedOn>
  <replaces>
    <display value="Plan from urgent care clinic"/>
  </replaces>
  <partOf>
    <display value="Overall wellness plan"/>
  </partOf>
  <status value="active"/>
  <intent value="plan"/>
  <category>
    <text value="Weight management plan"/>
  </category>
  <description value="Manage obesity and weight loss"/>
  <subject>
    <reference value="Patient/example"/>
    <display value="Peter James Chalmers"/>
  </subject>
  <encounter>
    <reference value="Encounter/home"/>
  </encounter>
  <period>
    <end value="2017-06-01"/>
  </period>
  <created value="2016-01-01"/>
  <custodian>
    <reference value="Practitioner/example"/>
    <display value="Dr Adam Careful"/>
  </custodian>
  <careTeam>
    <reference value="CareTeam/example"/>
  </careTeam>
  <addresses>
    <reference>
      <reference value="#p1"/>
      <display value="obesity"/>
    </reference>
  </addresses>
  <!--  weight loss goal where the goal's outcome is the body weight observation -->
  <goal>
    <reference value="Goal/example"/>
  </goal>
  <!--  exercise activity  -->
  <activity>
    <!--  exercise activity completed  -->
    <performedActivity>
      <concept>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="6397004"/>
          <display value="Muscular strength development exercise"/>
        </coding>
      </concept>
    </performedActivity>
    <!--  planned exercise plan  -->
    <plannedActivityReference>
      <reference value="ServiceRequest/benchpress"/>
    </plannedActivityReference>
  </activity>
</CarePlan>