{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-04-10T13:52:01.598+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Header-PractitionerRole-1",
  "version": "1.1.0",
  "name": "CareConnect-ITK-Header-PractitionerRole-1",
  "status": "active",
  "date": "2024-01-22T11:39:06.3872207+00:00",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This profile carries details of the Practitioner Role for which the information in the payload should be directed to.",
  "purpose": "There is a requirement to carry the role of the Practitioner in the ITK message.",
  "copyright": "Copyright ©2017 NHS Digital",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.identifier",
        "path": "PractitionerRole.identifier",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier.assigner",
        "path": "PractitionerRole.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Header-Organization-1"
          }
        ]
      },
      {
        "id": "PractitionerRole.active",
        "path": "PractitionerRole.active",
        "max": "0"
      },
      {
        "id": "PractitionerRole.period",
        "path": "PractitionerRole.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "short": "Practitioner that is able to provide the defined services for the organisation",
        "definition": "Practitioner that is able to provide the defined services for the organisation.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Header-Practitioner-1"
          }
        ]
      },
      {
        "id": "PractitionerRole.practitioner.reference",
        "path": "PractitionerRole.practitioner.reference",
        "min": 1
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Header-Organization-1"
          }
        ]
      },
      {
        "id": "PractitionerRole.organization.reference",
        "path": "PractitionerRole.organization.reference",
        "min": 1
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "ordered": false,
          "rules": "openAtEnd"
        }
      },
      {
        "id": "PractitionerRole.code:sdsJobRoleName",
        "path": "PractitionerRole.code",
        "sliceName": "sdsJobRoleName",
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PractitionerRole"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-SDSJobRoleName-1"
          }
        }
      },
      {
        "id": "PractitionerRole.code:sdsJobRoleName.coding",
        "path": "PractitionerRole.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.code:sdsJobRoleName.coding.system",
        "path": "PractitionerRole.code.coding.system",
        "min": 1,
        "fixedUri": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1"
      },
      {
        "id": "PractitionerRole.code:sdsJobRoleName.coding.version",
        "path": "PractitionerRole.code.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code:sdsJobRoleName.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1
      },
      {
        "id": "PractitionerRole.code:sdsJobRoleName.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "PractitionerRole.code.coding.display",
        "min": 1
      },
      {
        "id": "PractitionerRole.code:sdsJobRoleName.coding.userSelected",
        "path": "PractitionerRole.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.specialty",
        "path": "PractitionerRole.specialty",
        "max": "0"
      },
      {
        "id": "PractitionerRole.location",
        "path": "PractitionerRole.location",
        "max": "0"
      },
      {
        "id": "PractitionerRole.healthcareService",
        "path": "PractitionerRole.healthcareService",
        "max": "0"
      },
      {
        "id": "PractitionerRole.telecom",
        "path": "PractitionerRole.telecom",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availableTime",
        "path": "PractitionerRole.availableTime",
        "max": "0"
      },
      {
        "id": "PractitionerRole.notAvailable",
        "path": "PractitionerRole.notAvailable",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availabilityExceptions",
        "path": "PractitionerRole.availabilityExceptions",
        "max": "0"
      },
      {
        "id": "PractitionerRole.endpoint",
        "path": "PractitionerRole.endpoint",
        "max": "0"
      }
    ]
  }
}