{
  "resourceType": "StructureDefinition",
  "id": "England-PractitionerRole-Healthcare-Worker",
  "url": "https://fhir.nhs.uk/England/StructureDefinition/England-PractitionerRole-Healthcare-Worker",
  "version": "0.0.1-current",
  "name": "EnglandPractitionerRoleHealthcareWorker",
  "title": "England Practitioner Role Healthcare Worker",
  "status": "draft",
  "date": "2024-10-25T07:31:19+00:00",
  "publisher": "NHS England",
  "contact": [
    {
      "name": "NHS England",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "description": "Based on requirments from the previous NHS Digital IG and NHS Data Dictionary",
  "purpose": "Documentation of requirements for NHS England Healthcare Worker API",
  "copyright": "Copyright © 2023+ NHS England 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": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole",
        "path": "PractitionerRole"
      },
      {
        "id": "PractitionerRole.identifier",
        "path": "PractitionerRole.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.identifier.system",
        "path": "PractitionerRole.identifier.system",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier.value",
        "path": "PractitionerRole.identifier.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.identifier:sds-user-profile-id",
        "path": "PractitionerRole.identifier",
        "sliceName": "sds-user-profile-id",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.nhs.uk/England/StructureDefinition/England-Identifier-SDS-User-Profile-Id"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.period.start",
        "path": "PractitionerRole.period.start",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.period.end",
        "path": "PractitionerRole.period.end",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier",
        "path": "PractitionerRole.practitioner.identifier",
        "min": 0,
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.nhs.uk/England/StructureDefinition/England-Identifier-General-Medical-Practitioner-Code",
              "https://fhir.nhs.uk/England/StructureDefinition/England-Identifier-General-Medical-Council-Reference-Number",
              "https://fhir.nhs.uk/England/StructureDefinition/England-Identifier-SDS-User-Id"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.organization.identifier",
        "path": "PractitionerRole.organization.identifier",
        "min": 1,
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.nhs.uk/England/StructureDefinition/England-Identifier-Organisation-Code"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.nhs.uk/England/ValueSet/England-JobRoleCode"
        }
      }
    ]
  }
}