<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-careplan-CarePlan" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR CarePlan Profile</b>
      </p>
      <p>Describes how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.careplan.CarePlan maps to Basic:
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-careplan-CarePlan" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.careplan.CarePlan" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR CarePlan Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="Describes how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions." />
  <purpose value="Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <derivation value="constraint" />
  <differential>
    <element id="Basic:shr-careplan-CarePlan">
      <path value="Basic" />
      <short value="SHR CarePlan Profile" />
      <definition value="Describes how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions." />
    </element>
    <element id="Basic:shr-careplan-CarePlan.extension:title">
      <path value="Basic.extension" />
      <sliceName value="title" />
      <definition value="A distinguishing word or group of words naming an item." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Title-extension" />
      </type>
    </element>
    <element id="Basic:shr-careplan-CarePlan.extension:details">
      <path value="Basic.extension" />
      <sliceName value="details" />
      <definition value="An text note containing additional details, explanation, description, comment, or summarization. Details can discuss, support, explain changes to, or dispute information." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" />
      </type>
    </element>
    <element id="Basic:shr-careplan-CarePlan.extension:status">
      <path value="Basic.extension" />
      <sliceName value="status" />
      <definition value="Position in workflow." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-Status-extension" />
      </type>
    </element>
    <element id="Basic:shr-careplan-CarePlan.extension:status.value[x]">
      <path value="Basic.extension.value[x]" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/care-plan-status" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Basic:shr-careplan-CarePlan.extension:category">
      <path value="Basic.extension" />
      <sliceName value="category" />
      <definition value="A class or division of people or things having particular shared characteristics" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension" />
      </type>
    </element>
    <element id="Basic:shr-careplan-CarePlan.extension:category.valueCodeableConcept">
      <path value="Basic.extension.valueCodeableConcept" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/care-plan-category" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Basic:shr-careplan-CarePlan.extension:goal">
      <path value="Basic.extension" />
      <sliceName value="goal" />
      <definition value="A broad statement about what should be accomplished for or by a patient or other subject. It represents the intended long-term outcome toward which an individual or a group aspires, and toward which, effort is directed, in the form of activities." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-careplan-Goal-extension" />
      </type>
    </element>
    <element id="Basic:shr-careplan-CarePlan.code">
      <path value="Basic.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://standardhealthrecord.org/fhir/basic-resource-type" />
          <code value="shr-careplan-CarePlan" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>