<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2023-08-10T14:10:33.8782242+00:00" />
  </meta>
  <url value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-PractitionerRole-1" />
  <version value="1.3.0" />
  <name value="Extension-GPConnect-PractitionerRole-1" />
  <status value="active" />
  <date value="2024-01-22T11:39:06.3872207+00:00" />
  <publisher value="NHS England" />
  <contact>
    <name value="Interoperability Team" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="An extension to record the role of the Practitioner of a scheduled Appointment." />
  <copyright value="Copyright © 2023 NHS England" />
  <fhirVersion value="3.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Schedule" />
  <context value="Appointment" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="An extension to record the role of the Practitioner of a scheduled Appointment" />
      <definition value="An extension to record the role of the Practitioner of a scheduled Appointment." />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-PractitionerRole-1" />
    </element>
    <element id="Extension.value[x]:valueCodeableConcept">
      <path value="Extension.valueCodeableConcept" />
      <sliceName value="valueCodeableConcept" />
      <short value="To identify the Practitioner of a scheduled Appointment." />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="A ValueSet that identifies the job role associated with the person on the smart card. This consists of a set of Role Based Access Control (RBAC) codes. This code list is externally maintained." />
        <valueSetReference>
          <reference value="https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-SDSJobRoleName-1" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>