QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

## : CarePlan example - XML Representation

Page standards status: Informative

Raw xml | Download

    <CarePlan xmlns="http://hl7.org/fhir">
      <id value="example"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CarePlan example</b></p><a name="example"> </a><a name="hcexample"> </a><p><b>instantiatesCanonical</b>: <code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule</code></p><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>category</b>: <span title="Codes:{http://hl7.org/fhir/us/core/CodeSystem/careplan-category assess-plan}">Assessment and Plan of Treatment</span></p><p><b>subject</b>: Eve Everywoman</p><p><b>period</b>: 2019-05-24 --&gt; 2020-02-24</p><p><b>careTeam</b>: <a href="CareTeam-example.html">CareTeam: status = active</a></p><p><b>addresses</b>: pregnancy</p><p><b>goal</b>: pregnancy goal</p><blockquote><p><b>activity</b></p><p><b>outcomeReference</b>: First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01</p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>In Progress</td><td>Mabel Midwife</td><td>First antenatal care contact</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>Scheduled</td><td>2019-07-26 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Second contact to occur at 20 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>Not Started</td><td>2019-09-06 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Third contact to occur at 26 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>Not Started</td><td>2019-10-04 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Fourth contact to occur at 30 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>Not Started</td><td>2019-11-01 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Fifth contact to occur at 34 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>Not Started</td><td>2019-11-15 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Sixth contact to occur at 36 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>Not Started</td><td>2019-11-29 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Seventh contact to occur at 38 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>InstantiatesCanonical</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><code>http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact</code></td><td><span title="Codes:{http://snomed.info/sct 424525001}">Antenatal care</span></td><td>Not Started</td><td>2019-12-13 --&gt; (ongoing)</td><td>Mabel Midwife</td><td>Eighth contact to occur at 40 weeks of gestational age</td></tr></table></blockquote><blockquote><p><b>activity</b></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Kind</b></td><td><b>Code</b></td><td><b>Status</b></td><td><b>Scheduled[x]</b></td><td><b>Performer</b></td><td><b>Description</b></td></tr><tr><td style="display: none">*</td><td>ServiceRequest</td><td><span title="Codes:{http://snomed.info/sct 236973005}">Delivery procedure</span></td><td>Not Started</td><td>2019-12-13 --&gt; 2019-12-27</td><td>Mabel Midwife</td><td>Delivery</td></tr></table></blockquote></div>
      </text>
      <!-- extension url="http://example.org/guides/who/anc-cds/StructureDefinition/careplan-episodeOfCare">
            <valueReference>
                <reference value="EpisodeOfCare/mom-pregnancy-episode"/>
            </valueReference>
        </extension -->
      <instantiatesCanonical
                             value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule"/>
      <status value="active"/>
      <intent value="plan"/>
      <category>
        <coding>
          <system
                  value="http://hl7.org/fhir/us/core/CodeSystem/careplan-category"/>
          <code value="assess-plan"/>
          <display value="Assessment and Plan of Treatment"/>
        </coding>
      </category>
      <subject>
        <!-- reference value="Patient/mom"/ -->
        <display value="Eve Everywoman"/>
      </subject>
      <period>
        <!--   The likely duration of the pregnancy   -->
        <start value="2019-05-24"/>
        <end value="2020-02-24"/>
      </period>
      <careTeam>🔗
        <reference value="CareTeam/example"/>
      </careTeam>
      <addresses>
        <!-- reference value="Condition/mom-pregnancy"/ -->
        <display value="pregnancy"/>
      </addresses>
      <goal>
        <!-- reference value="Goal/mom-pregnancy-goal"/ -->
        <display value="pregnancy goal"/>
      </goal>
      <!--  First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01  -->
      <activity>
        <outcomeReference>
          <!-- reference value="Encounter/mom-first-contact"/ -->
          <display
                   value="First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01"/>
        </outcomeReference>
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="in-progress"/>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description value="First antenatal care contact"/>
        </detail>
      </activity>
      <!--  Second contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact  -->
      <activity>
        <!-- reference>
              <reference value="ServiceRequest/mom-second-contact"/>
              <display value="Second contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact"/>
            </reference -->
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="scheduled"/>
          <!--  Scheduled based on gestational age calculation  -->
          <scheduledPeriod>
            <start value="2019-07-26"/>
          </scheduledPeriod>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description
                       value="Second contact to occur at 20 weeks of gestational age"/>
        </detail>
      </activity>
      <!--  Third contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact  -->
      <activity>
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="not-started"/>
          <!--  Scheduled based on gestational age calculation  -->
          <scheduledPeriod>
            <start value="2019-09-06"/>
          </scheduledPeriod>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description
                       value="Third contact to occur at 26 weeks of gestational age"/>
        </detail>
      </activity>
      <!--  Fourth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact  -->
      <activity>
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="not-started"/>
          <!--  Scheduled based on gestational age calculation  -->
          <scheduledPeriod>
            <start value="2019-10-04"/>
          </scheduledPeriod>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description
                       value="Fourth contact to occur at 30 weeks of gestational age"/>
        </detail>
      </activity>
      <!--  Fifth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact  -->
      <activity>
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="not-started"/>
          <!--  Scheduled based on gestational age calculation  -->
          <scheduledPeriod>
            <start value="2019-11-01"/>
          </scheduledPeriod>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description
                       value="Fifth contact to occur at 34 weeks of gestational age"/>
        </detail>
      </activity>
      <!--  Sixth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact  -->
      <activity>
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="not-started"/>
          <!--  Scheduled based on gestational age calculation  -->
          <scheduledPeriod>
            <start value="2019-11-15"/>
          </scheduledPeriod>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description
                       value="Sixth contact to occur at 36 weeks of gestational age"/>
        </detail>
      </activity>
      <!--  Seventh contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact  -->
      <activity>
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="not-started"/>
          <!--  Scheduled based on gestational age calculation  -->
          <scheduledPeriod>
            <start value="2019-11-29"/>
          </scheduledPeriod>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description
                       value="Seventh contact to occur at 38 weeks of gestational age"/>
        </detail>
      </activity>
      <!--  Eighth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact  -->
      <activity>
        <detail>
          <kind value="ServiceRequest"/>
          <instantiatesCanonical
                                 value="http://example.org/guides/who/anc-cds/PlanDefinition/anc-contact"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="424525001"/>
              <display value="Antenatal care (regime/therapy)"/>
            </coding>
            <text value="Antenatal care"/>
          </code>
          <status value="not-started"/>
          <!--  Scheduled based on gestational age calculation  -->
          <scheduledPeriod>
            <start value="2019-12-13"/>
          </scheduledPeriod>
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description
                       value="Eighth contact to occur at 40 weeks of gestational age"/>
        </detail>
      </activity>
      <activity>
        <detail>
          <!--   This will be the delivery. It is not yet scheduled.   -->
          <kind value="ServiceRequest"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="236973005"/>
              <display value="Delivery procedure (procedure)"/>
            </coding>
            <text value="Delivery procedure"/>
          </code>
          <status value="not-started"/>
          <scheduledPeriod>
            <start value="2019-12-13"/>
            <end value="2019-12-27"/>
          </scheduledPeriod>
          <!--  TODO: location  -->
          <performer>
            <!-- reference value="Practitioner/midwife"/ -->
            <display value="Mabel Midwife"/>
          </performer>
          <description value="Delivery"/>
        </detail>
      </activity>
    </CarePlan>