DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Careplan-example.xml

Raw XML (canonical form)

General Person Example (id = "example")

<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.
            Some Notes: </p>
      <ul>
        <li>It would be good to have some way of specifying/coding a goal; e.g. what the target weight
           is</li>
        <li>In the codeable concepts I've been lazy and just put the text. There should, of course,
           be a code behind these</li>
      </ul>
    </div>
  </text>
  <contained>
    <Condition>
      <id value="p1"/>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter James Chalmers"/>
      </patient>
      <code>
        <text value="Obesity"/>
      </code>
      <verificationStatus value="confirmed"/>
    </Condition>
  </contained>
  <contained>
    <Practitioner>
      <id value="pr1"/>
      <name>
        <family value="Dietician"/>
        <given value="Dorothy"/>
      </name>
      <practitionerRole>
        <specialty>
          <text value="Dietician"/>
        </specialty>
      </practitionerRole>
    </Practitioner>
  </contained>
  <contained>
    <Goal>
      <id value="goal"/>
      <extension url="http://hl7.org/fhir/StructureDefinition/goal-target">
        <extension url="goal-target.measure">
          <valueCodeableConcept>
            <coding>
              <system value="http://loinc.org"/>
              <code value="29463-7"/>
              <display value="Body weight"/>
            </coding>
          </valueCodeableConcept>  
        </extension>
        <extension url="goal-target.detail">
          <valueQuantity>
            <value value="80"/>
            <system value="http://units-of-measure.org"/>
            <code value="kg"/>
          </valueQuantity>
        </extension>
      </extension>
      <subject>
        <reference value="Patient/example"/>
        <display value="Peter James Chalmers"/>
      </subject>
      <description value="Target weight is 80 kg"/>
      <status value="planned"/>
    </Goal>
  </contained>
  <subject>
    <reference value="Patient/example"/>
    <display value="Peter James Chalmers"/>
  </subject>
  <status value="active"/>
  <period>
    <end value="2013-01-01"/>
  </period>
  <addresses>
    <reference value="#p1"/>
    <display value="obesity"/>
  </addresses>
  <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>
  </participant>
  <goal>
    <reference value="#goal"/>
  </goal>
  <activity>
    <detail>
      <category><coding><system value="http://hl7.org/fhir/care-plan-activity-category"/><code value="observation"/></coding></category>
      <code>
        <text value="a code for weight measurement"/>
      </code>
      <prohibited value="false"/>
      <scheduledTiming>
        <repeat>
          <frequency value="1"/>
          <period value="1"/>
          <periodUnits value="d"/>
        </repeat>
      </scheduledTiming>
      <performer>
        <reference value="Patient/example"/>
        <display value="Peter James Chalmers"/>
      </performer>
    </detail>
  </activity>
</CarePlan>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.