<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="CA-eReC-PractitionerRole" />
  <url value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole" />
  <name value="PractitionerRole" />
  <status value="draft" />
  <description value="PractitionerRole describes the types of services that practitioners provide for an organization at specific location(s). The PractitionerRole resource can be used in multiple contexts including: &#xD;&#xA;- In a Clinical system as a point of reference rather than an event, such as a patient's preferred general practitioner (at a specific clinic)" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="PractitionerRole" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
  <derivation value="constraint" />
  <differential>
    <element id="PractitionerRole.practitioner">
      <path value="PractitionerRole.practitioner" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.reference">
      <path value="PractitionerRole.practitioner.reference" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier">
      <path value="PractitionerRole.practitioner.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier.system">
      <path value="PractitionerRole.practitioner.identifier.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier.value">
      <path value="PractitionerRole.practitioner.identifier.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization">
      <path value="PractitionerRole.organization" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Organization" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization.reference">
      <path value="PractitionerRole.organization.reference" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization.identifier">
      <path value="PractitionerRole.organization.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization.identifier.system">
      <path value="PractitionerRole.organization.identifier.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization.identifier.value">
      <path value="PractitionerRole.organization.identifier.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code">
      <path value="PractitionerRole.code" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.specialty">
      <path value="PractitionerRole.specialty" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.location">
      <path value="PractitionerRole.location" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Location" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.location.reference">
      <path value="PractitionerRole.location.reference" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.location.identifier">
      <path value="PractitionerRole.location.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.location.identifier.system">
      <path value="PractitionerRole.location.identifier.system" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.location.identifier.value">
      <path value="PractitionerRole.location.identifier.value" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom">
      <path value="PractitionerRole.telecom" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom.system">
      <path value="PractitionerRole.telecom.system" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom.value">
      <path value="PractitionerRole.telecom.value" />
      <min value="1" />
    </element>
    <element id="PractitionerRole.telecom.use">
      <path value="PractitionerRole.telecom.use" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>