<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ca-qc-akinox-profile-PractitionerRole" />
  <url value="http://fhir.akinox.com/r5/StructureDefinition/PractitionerRole" />
  <version value="1.0.0" />
  <name value="QuebecPractitionerRole" />
  <title value="PractitionerRole" />
  <status value="draft" />
  <description value="A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time." />
  <fhirVersion value="5.0.0" />
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 V2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="interface" />
    <uri value="http://hl7.org/fhir/interface" />
    <name value="Interface Pattern" />
  </mapping>
  <mapping>
    <identity value="servd" />
    <uri value="http://www.omg.org/spec/ServD/1.0/" />
    <name value="ServD" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="PractitionerRole" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
  <derivation value="constraint" />
  <differential>
    <element id="PractitionerRole.meta">
      <path value="PractitionerRole.meta" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.meta.profile">
      <path value="PractitionerRole.meta.profile" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner">
      <path value="PractitionerRole.practitioner" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.reference">
      <path value="PractitionerRole.practitioner.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier">
      <path value="PractitionerRole.practitioner.identifier" />
      <comment value="Includes Practitioner unique identifier." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier.type">
      <path value="PractitionerRole.practitioner.identifier.type" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier.type.coding">
      <path value="PractitionerRole.practitioner.identifier.type.coding" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier.type.coding.system">
      <path value="PractitionerRole.practitioner.identifier.type.coding.system" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/v2-0203" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner.identifier.type.coding.code">
      <path value="PractitionerRole.practitioner.identifier.type.coding.code" />
      <min value="1" />
      <fixedCode value="LN" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0203" />
      </binding>
    </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" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization.reference">
      <path value="PractitionerRole.organization.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code">
      <path value="PractitionerRole.code" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code.coding">
      <path value="PractitionerRole.code.coding" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code.coding.system">
      <path value="PractitionerRole.code.coding.system" />
      <fixedUri value="http://snomed.info/sct/ca" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code.coding.code">
      <path value="PractitionerRole.code.coding.code" />
      <min value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="http://akinox.com/fhir/ValueSet/msss-intervenants-sv-dermato" />
      </binding>
    </element>
    <element id="PractitionerRole.location">
      <path value="PractitionerRole.location" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.location.reference">
      <path value="PractitionerRole.location.reference" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>