<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark195" />
  <meta>
    <versionId value="spark195" />
    <lastUpdated value="2015-10-02T12:14:50.53+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/goal-pertainsToGoal" />
  <name value="Pertains to 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="Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal." />
  <fhirVersion value="1.0.1" />
  <kind value="datatype" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Resource" />
  <snapshot>
    <element id="Extension">
      <path value="Extension" />
      <short value="Pertains to goal" />
      <definition value="Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
      </type>
      <comments value="This extension is  limited to subject-specific activity-related resources (events &amp; intents).  I.e. This can't be put on Goal or Patient.  This association isn't for the purpose of goal management, but for things such as noting that a particular observation result, prescription or other activity is pertinent to the achievement (or possibly non-achievement) of the referenced goal." />
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <short value="Pertains to goal" />
      <definition value="Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
      </type>
      <comments value="This extension is  limited to subject-specific activity-related resources (events &amp; intents).  I.e. This can't be put on Goal or Patient.  This association isn't for the purpose of goal management, but for things such as noting that a particular observation result, prescription or other activity is pertinent to the achievement (or possibly non-achievement) of the referenced goal." />
    </element>
    <element>
      <path value="Extension.extension" />
      <max value="0" />
      <name value="extension" />
    </element>
    <element>
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/goal-pertainsToGoal" />
    </element>
    <element>
      <path value="Extension.value[x]" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Goal" />
      </type>
    </element>
  </differential>
  <display value="pertains to goal" />
  <constrainedType value="Extension" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
</StructureDefinition>