<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark166" />
  <meta>
    <versionId value="spark166" />
    <lastUpdated value="2015-10-02T12:13:13.542+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/goal-acceptance" />
  <name value="Individual acceptance of goal" />
  <status value="draft" />
  <date value="2014-12-07" />
  <publisher value="Health Level Seven, Inc. - FHIR WG" />
  <contact>
    <telecom>
      <system value="other" />
      <value value="http://hl7.org/special/committees/fhir" />
    </telecom>
  </contact>
  <description value="Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders." />
  <fhirVersion value="1.0.1" />
  <kind value="datatype" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Goal" />
  <snapshot>
    <element id="Extension">
      <path value="Extension" />
      <short value="Individual acceptance of goal" />
      <definition value="Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
      </type>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <short value="Individual acceptance of goal" />
      <definition value="Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
      </type>
    </element>
    <element>
      <path value="Extension.extension" />
      <short value="Individual whose acceptance is reflected" />
      <definition value="The person whose acceptance/priority is being reflected." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <name value="individual" />
    </element>
    <element>
      <path value="Extension.extension.extension" />
      <max value="0" />
      <name value="extension" />
    </element>
    <element>
      <path value="Extension.extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="individual" />
    </element>
    <element>
      <path value="Extension.extension.value[x]" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
      </type>
    </element>
    <element>
      <path value="Extension.extension" />
      <short value="agree | disagree | pending" />
      <definition value="Indicates whether the specified individual has accepted the goal or not." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <name value="status" />
    </element>
    <element>
      <path value="Extension.extension.extension" />
      <max value="0" />
      <name value="extension" />
    </element>
    <element>
      <path value="Extension.extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="status" />
    </element>
    <element>
      <path value="Extension.extension.value[x]" />
      <min value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <description value="Codes indicating whether the goal has been accepted by a stakeholder" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/goal-acceptance-status" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Extension.extension" />
      <short value="Priority of goal for individual" />
      <definition value="Indicates the relative priority assigned to the resource by the stakeholder." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <name value="priority" />
    </element>
    <element>
      <path value="Extension.extension.extension" />
      <max value="0" />
      <name value="extension" />
    </element>
    <element>
      <path value="Extension.extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="priority" />
    </element>
    <element>
      <path value="Extension.extension.value[x]" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="example" />
        <description value="Codes indicating the relative priority assigned to a goal by a stakeholder" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/goal-priority" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/goal-acceptance" />
    </element>
    <element>
      <path value="Extension.value[x]" />
      <min value="0" />
      <max value="0" />
    </element>
  </differential>
  <display value="Goal acceptance" />
  <constrainedType value="Extension" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
</StructureDefinition>