<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ext-ProcessNoteDirectedTo" />
  <url value="http://pharmacyeclaims.ca/FHIR/v1.0/StructureDefinition/ext-ProcessNoteDirectedTo" />
  <name value="ProcessNoteDirectedTo" />
  <title value="Process Note Directed To" />
  <status value="draft" />
  <description value="Indicates whether the intended audience for the message is the patient or the provider" />
  <purpose value="Allows the sender to specify whether this is directed to the patient or the provider" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="ClaimResponse.processNote" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://pharmacyeclaims.ca/FHIR/v1.0/StructureDefinition/ext-ProcessNoteDirectedTo" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <comment value="Conformance Rule:   Set value = &quot;patient&quot;, &quot;provider&quot; or &quot;both&quot;.&#xD;&#xA;Usage Note:   Allows the PMS vendor to assist in directing a message to a particular audiance." />
      <type>
        <code value="code" />
      </type>
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>