<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ca-on-ps-profile-practitionerrole" />
  <url value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitionerrole" />
  <version value="0.10.0" />
  <name value="PractitionerRolePSON" />
  <title value="PractitionerRole (PS-ON)" />
  <status value="draft" />
  <date value="2024-02-01T19:39:15.322061+00:00" />
  <publisher value="Ontario Health" />
  <description value="This profile defines a set of constraints to the FHIR PractitionerRole resource for use in Ontario Patient Summaries (PS-ON).  It refines constraints applied to the the PractitionerRole resource by the PS-CA project to represent a practitioner acting as an observer for observation results for a specified organization. It is informed by the constraints of the [PractitionerRole-UV-IPS profile](http://hl7.org/fhir/uv/ips/StructureDefinition-PractitionerRole-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-practitionerrole.html) to allow for cross-border and cross-jurisdiction sharing of details that support Diagnostic Result Information." />
  <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.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" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.identifier">
      <path value="PractitionerRole.identifier" />
      <comment value="Can be populated with a system identifier such as a UUID. Should not be populated with college license number; license number should be conveyed in the Practitioner resource" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-identifier" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner">
      <path value="PractitionerRole.practitioner" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitioner" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization">
      <path value="PractitionerRole.organization" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-organization" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code">
      <path value="PractitionerRole.code" />
      <definition value="Roles which this practitioner is authorized to perform for the organization." />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-codeableconcept" />
      </type>
      <binding>
        <strength value="preferred" />
        <description value="A role type that is used to categorize an entity that delivers health care in an expected and professional manner to an entity in need of health care services. Examples: Registered Nurse, Chiropractor, Physician, Custodial Care Clinic." />
        <valueSet value="http://ontariohealth.ca/fhir/ValueSet/HealthcareProviderRoleType" />
      </binding>
    </element>
    <element id="PractitionerRole.code.coding">
      <path value="PractitionerRole.code.coding" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="$this" />
        </discriminator>
        <description value="Discriminated by the bound value set" />
        <rules value="open" />
      </slicing>
      <type>
        <code value="Coding" />
        <profile value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-coding" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code.coding:healthcareProfessionalRoles">
      <path value="PractitionerRole.code.coding" />
      <sliceName value="healthcareProfessionalRoles" />
      <short value="An optional slice for representing Healthcare professional role codes from International Standard Classification of Occupations (ISCO)" />
      <definition value="Healthcare professional role codes from International Standard Classification of Occupations (ISCO)." />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="healthcareProfessionalRoles" />
        </extension>
        <strength value="required" />
        <description value="healthcare professional roles" />
        <valueSet value="http://hl7.org/fhir/uv/ips/ValueSet/healthcare-professional-roles-uv-ips" />
      </binding>
    </element>
    <element id="PractitionerRole.code.coding:HealthcareProviderRoleType">
      <path value="PractitionerRole.code.coding" />
      <sliceName value="HealthcareProviderRoleType" />
      <short value="An optional slice for representing Healthcare professional role codes from International Standard Classification of Occupations (ISCO)" />
      <definition value="Healthcare professional role codes from International Standard Classification of Occupations (ISCO)." />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <description value="A role type that is used to categorize an entity that delivers health care in an expected and professional manner to an entity in need of health care services. Examples: Registered Nurse, Chiropractor, Physician, Custodial Care Clinic." />
        <valueSet value="http://ontariohealth.ca/fhir/ValueSet/HealthcareProviderRoleType" />
      </binding>
    </element>
    <element id="PractitionerRole.specialty">
      <path value="PractitionerRole.specialty" />
      <short value="PractitionerSpecialty" />
      <comment value="PractitionerRole.specialty may be used in a future implemention of PS-ON if PractitionerRole.code does not provide a sufficient level of detail." />
      <binding>
        <strength value="preferred" />
        <description value="Defines the clinical, medical, surgical or other healthcare-related service specialty of a practitioner who interacts, treats or provides such services to or for a patient." />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/practitionerspecialty" />
      </binding>
    </element>
    <element id="PractitionerRole.telecom">
      <path value="PractitionerRole.telecom" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>