<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="UKCore-PractitionerRole" />
  <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
  <version value="2.4.0" />
  <name value="UKCorePractitionerRole" />
  <title value="UK Core Practitioner Role" />
  <status value="active" />
  <date value="2024-07-11" />
  <publisher value="HL7 UK" />
  <contact>
    <name value="HL7 UK" />
    <telecom>
      <system value="email" />
      <value value="ukcore@hl7.org.uk" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="This profile defines the UK constraints and extensions on the International FHIR resource [PractitionerRole](https://hl7.org/fhir/R4/PractitionerRole.html)." />
  <purpose value="This profile allows exchange of a specific set of roles, specialties and services that a practitioner may perform at an organisation for a period of time." />
  <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
  <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.active">
      <path value="PractitionerRole.active" />
      <short value="Whether this practitioner role record is in active use." />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.period">
      <path value="PractitionerRole.period" />
      <short value="The period during which the practitioner is authorized to perform in these role(s)." />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner">
      <path value="PractitionerRole.practitioner" />
      <short value="Practitioner that is able to provide the defined services for the organization." />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization">
      <path value="PractitionerRole.organization" />
      <short value="Organization where the roles are available." />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.specialty">
      <path value="PractitionerRole.specialty" />
      <short value="Specific specialty of the practitioner." />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-PracticeSettingCode" />
      </binding>
    </element>
    <element id="PractitionerRole.location">
      <path value="PractitionerRole.location" />
      <short value="The location(s) at which this practitioner provides care." />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom">
      <path value="PractitionerRole.telecom" />
      <short value="Contact details that are specific to the role/location/service." />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>