{
  "resourceType": "StructureDefinition",
  "id": "21c52daa-8af3-48ba-8bf1-79e8880191e9",
  "meta": {
    "lastUpdated": "2020-05-18T18:56:43.941+00:00"
  },
  "url": "http://nhsprofessionals.nhs.uk/fhir/StructureDefinition/Position",
  "name": "Position",
  "status": "draft",
  "date": "2020-05-18T18:56:43.6128875+00:00",
  "fhirVersion": "4.0.0",
  "kind": "logical",
  "abstract": false,
  "type": "http://example.org/fhir/StructureDefinition/Position",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "Position",
        "path": "Position",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "Position.meta",
        "path": "Position.meta",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.meta.versionId",
        "path": "Position.meta.versionId",
        "short": "Changes each time the content of the resource changes.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/id"
            ]
          }
        ]
      },
      {
        "id": "Position.meta.lastUpdated",
        "path": "Position.meta.lastUpdated",
        "short": "If populated, this value changes each time the content of the resource changes. It can be used by a system or a human to judge the currency of the resource content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/dateTime"
            ]
          }
        ]
      },
      {
        "id": "Position.meta.profile",
        "path": "Position.meta.profile",
        "short": "Profiles this resource claims to conform to",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "canonical",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/canonical"
            ]
          }
        ]
      },
      {
        "id": "Position.identifier",
        "path": "Position.identifier",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.identifier.type",
        "path": "Position.identifier.type",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.identifier.type.coding",
        "path": "Position.identifier.type.coding",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.identifier.type.coding.system",
        "path": "Position.identifier.type.coding.system",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.identifier.type.coding.code",
        "path": "Position.identifier.type.coding.code",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.identifier.type.coding.display",
        "path": "Position.identifier.type.coding.display",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.identifier.system",
        "path": "Position.identifier.system",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Position.identifier.value",
        "path": "Position.identifier.value",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Position.identifier.assigner",
        "path": "Position.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "In more granual form, this can follow the same stream of vacancyOrganisation or vacancyUnit",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.reference",
        "path": "Position.identifier.assigner.reference",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Position.identifier.assigner.type",
        "path": "Position.identifier.assigner.type",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Position.identifier.assigner.identifier",
        "path": "Position.identifier.assigner.identifier",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.identifier.type",
        "path": "Position.identifier.assigner.identifier.type",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.identifier.type.coding",
        "path": "Position.identifier.assigner.identifier.type.coding",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.identifier.type.coding.system",
        "path": "Position.identifier.assigner.identifier.type.coding.system",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.identifier.type.coding.code",
        "path": "Position.identifier.assigner.identifier.type.coding.code",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.identifier.type.coding.display",
        "path": "Position.identifier.assigner.identifier.type.coding.display",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.identifier.system",
        "path": "Position.identifier.assigner.identifier.system",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.identifier.value",
        "path": "Position.identifier.assigner.identifier.value",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.identifier.assigner.display",
        "path": "Position.identifier.assigner.display",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Position.status",
        "path": "Position.status",
        "short": "VacancyRequest Description",
        "definition": "Check the binding for for more info",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://nhsprofessionals.nhs.uk/fhir/ValueSet/NHSPAPI-VacancyRequestStatus"
        }
      },
      {
        "id": "Position.contractPeriod",
        "path": "Position.contractPeriod",
        "short": "Contract Effective Start and End date",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.contractPeriod.start",
        "path": "Position.contractPeriod.start",
        "short": "Contract Effective Start Date",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/dateTime"
            ]
          }
        ]
      },
      {
        "id": "Position.contractPeriod.end",
        "path": "Position.contractPeriod.end",
        "short": "Contract Effective End Date",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/dateTime"
            ]
          }
        ]
      },
      {
        "id": "Position.Name",
        "path": "Position.Name",
        "short": "Position Name",
        "definition": "The Full Position Name \r\ne.g. 6817668|Locum Consultant Physician - \r\nAcute Medicine|001|Acute Medicine|130 \r\n\r\nThis can also be used for job title",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE",
        "path": "Position.costAllocatedFTE",
        "short": "Budgeted vs contracted FTE",
        "definition": "The budget assigned for the position and the actual contracted amount",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "ESR",
            "map": "FTE (Position Budgeted)"
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.budgetedFTE",
        "path": "Position.costAllocatedFTE.budgetedFTE",
        "short": "The authorised Contracted Full Time Equivalent (FTE) budgeted for a POSITION.",
        "definition": "This may also be known as the 'Authorised' or 'Planned' FTE or 'Establishment'.\r\n\r\nIt describes the authorised amount of time which may be contracted for a POSITION. This may be greater than, less than or equal to 1.\r\n\r\nIf related to funding, the FTE may be 'Paid' rather than 'Contracted'. Each grade, and the amount of FTE within each grade, is added together to calculate the Budgeted FTE for the block.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.budgetedFTE.value",
        "path": "Position.costAllocatedFTE.budgetedFTE.value",
        "short": "The actual budgeted value in GBP",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.budgetedFTE.unit",
        "path": "Position.costAllocatedFTE.budgetedFTE.unit",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ],
        "fixedCode": "GBP"
      },
      {
        "id": "Position.costAllocatedFTE.budgetedFTE.type",
        "path": "Position.costAllocatedFTE.budgetedFTE.type",
        "short": "Type of Budgeted cost",
        "definition": "Authorised | Planned | Establishment",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.contractedFTE",
        "path": "Position.costAllocatedFTE.contractedFTE",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.contractedFTE.value",
        "path": "Position.costAllocatedFTE.contractedFTE.value",
        "short": "The contracted value in GBP",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.contractedFTE.unit",
        "path": "Position.costAllocatedFTE.contractedFTE.unit",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ],
        "fixedCode": "GBP"
      },
      {
        "id": "Position.costAllocatedFTE.FTEVariance",
        "path": "Position.costAllocatedFTE.FTEVariance",
        "short": "The calculation of the difference between POSITION CONTRACTED FULL TIME EQUIVALENT and POSITION BUDGETED FULL TIME EQUIVALENT.",
        "definition": "The calculated value for POSITION FTE VARIANCE may be negative.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.FTEVariance.value",
        "path": "Position.costAllocatedFTE.FTEVariance.value",
        "short": "The actual difference value",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.costAllocatedFTE.FTEVariance.unit",
        "path": "Position.costAllocatedFTE.FTEVariance.unit",
        "short": "currency",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ],
        "fixedCode": "GBP"
      },
      {
        "id": "Position.staffGroup",
        "path": "Position.staffGroup",
        "short": "A grouping of related JOB ROLE CODES of a POSITION.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.staffGroup.coding",
        "path": "Position.staffGroup.coding",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.staffGroup.coding.system",
        "path": "Position.staffGroup.coding.system",
        "definition": "https://www.datadictionary.nhs.uk/data_dictionary/messages/administrative_data_sets/data_sets/national_workforce_data_set_fr.asp?shownav=1",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ],
        "fixedUri": "https://www.datadictionary.nhs.uk"
      },
      {
        "id": "Position.staffGroup.coding.code",
        "path": "Position.staffGroup.coding.code",
        "short": "Staff Group Code",
        "definition": "National Codes:\r\n\r\n01 Medical and Dental\r\n02 Students\r\n03 Nursing and Midwifery Registered\r\n04 Allied Health Professionals\r\n05 Additional Professional Scientific and Technical\r\n06 Healthcare Scientists\r\n07 Additional Clinical Services\r\n08 Administrative and Clerical\r\n09 Estates and Ancillary\r\n10 Supplementary Roles\r\n\r\nex. \"code\" : \"01\"",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.staffGroup.coding.display",
        "path": "Position.staffGroup.coding.display",
        "short": "Staff Group Description",
        "definition": "National Codes:\r\n\r\n01 Medical and Dental\r\n02 Students\r\n03 Nursing and Midwifery Registered\r\n04 Allied Health Professionals\r\n05 Additional Professional Scientific and Technical\r\n06 Healthcare Scientists\r\n07 Additional Clinical Services\r\n08 Administrative and Clerical\r\n09 Estates and Ancillary\r\n10 Supplementary Roles\r\n\r\nex. \"display: \"Medical and Dental\" if  \"code\" : \"01\"",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.staffGroup.standardHours",
        "path": "Position.staffGroup.standardHours",
        "short": "The standard hours per week for a full time assignment for a Staff Group.",
        "definition": "Staff Groups have different standard hours (e.g. 37 standard hours per week for Community Medical/Dental staff, 37.5 standard hours per week for non-medical staff, etc).\r\n\r\nFor some Staff Groups, the standard working week is expressed as STAFF GROUP STANDARD SESSIONS.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.staffGroup.standardSessions",
        "path": "Position.staffGroup.standardSessions",
        "short": "The standard sessions per week for a full time assignment for a Staff Group.",
        "definition": "For most Staff Groups, the standard working week is expressed as STAFF GROUP STANDARD HOURS.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.jobRole",
        "path": "Position.jobRole",
        "short": "A National Code for a POSITION applicable to an EMPLOYEE.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.jobRole.coding",
        "path": "Position.jobRole.coding",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.jobRole.coding.system",
        "path": "Position.jobRole.coding.system",
        "definition": "https://www.datadictionary.nhs.uk/data_dictionary/attributes/j/job_role_code_de.asp",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ],
        "fixedUri": "https://www.datadictionary.nhs.uk"
      },
      {
        "id": "Position.jobRole.coding.code",
        "path": "Position.jobRole.coding.code",
        "short": "A National Code for a POSITION applicable to an EMPLOYEE.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.jobRole.coding.display",
        "path": "Position.jobRole.coding.display",
        "short": "The title of a job role for a POSITION.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.ocupationCode",
        "path": "Position.ocupationCode",
        "short": "An NHS OCCUPATION CODE for an EMPLOYEE filling a POSITION",
        "definition": "The NHS OCCUPATION CODES are maintained by NHS Digital, on behalf of the Department of Health and Social Care and can be viewed in the NHS Occupation Code Manual.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.ocupationCode.coding",
        "path": "Position.ocupationCode.coding",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.ocupationCode.coding.system",
        "path": "Position.ocupationCode.coding.system",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.ocupationCode.coding.code",
        "path": "Position.ocupationCode.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.ocupationCode.coding.display",
        "path": "Position.ocupationCode.coding.display",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.payScale",
        "path": "Position.payScale",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.payScale.code",
        "path": "Position.payScale.code",
        "short": "NHS Grade Flexfield",
        "definition": "e.g. XN02",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.payScale.description",
        "path": "Position.payScale.description",
        "short": "Payscale Code Description if required",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.payScale.spinePoint",
        "path": "Position.payScale.spinePoint",
        "short": "Grade Spinal Point",
        "definition": "The Grade Spinal starting Point as the job starts for an employee. This would be changed as the assigned employee years of experience.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.payScale.type",
        "path": "Position.payScale.type",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.organisation",
        "path": "Position.organisation",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "VacancyOrganisation.1",
            "severity": "error",
            "human": "VacancyOrganisation SHALL have at least either refrence or identifier",
            "expression": "VacancyOrganisation.refrence.exists() or VacancyOrganisation.identifier.exists()"
          }
        ]
      },
      {
        "id": "Position.organisation.organizationRole",
        "path": "Position.organisation.organizationRole",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.organisation.organizationRole.valueCoding",
        "path": "Position.organisation.organizationRole.valueCoding",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.organisation.organizationRole.valueCoding.system",
        "path": "Position.organisation.organizationRole.valueCoding.system",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ],
        "fixedUri": "https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1"
      },
      {
        "id": "Position.organisation.organizationRole.valueCoding.code",
        "path": "Position.organisation.organizationRole.valueCoding.code",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.organisation.organizationRole.valueCoding.display",
        "path": "Position.organisation.organizationRole.valueCoding.display",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.organisation.type",
        "path": "Position.organisation.type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.organisation.type.coding",
        "path": "Position.organisation.type.coding",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.organisation.type.coding.system",
        "path": "Position.organisation.type.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ],
        "fixedUri": "https://fhir.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRecordClass-1"
      },
      {
        "id": "Position.organisation.type.coding.code",
        "path": "Position.organisation.type.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.organisation.type.coding.display",
        "path": "Position.organisation.type.coding.display",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.organisation.reference",
        "path": "Position.organisation.reference",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.organisation.identifier",
        "path": "Position.organisation.identifier",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.organisation.identifier.type",
        "path": "Position.organisation.identifier.type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.organisation.identifier.type.coding",
        "path": "Position.organisation.identifier.type.coding",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.organisation.identifier.type.coding.system",
        "path": "Position.organisation.identifier.type.coding.system",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.organisation.identifier.type.coding.code",
        "path": "Position.organisation.identifier.type.coding.code",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.organisation.identifier.type.coding.display",
        "path": "Position.organisation.identifier.type.coding.display",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.organisation.identifier.system",
        "path": "Position.organisation.identifier.system",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Position.organisation.identifier.value",
        "path": "Position.organisation.identifier.value",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Position.organisation.display",
        "path": "Position.organisation.display",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Position.businessUnit",
        "path": "Position.businessUnit",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.businessUnit.type",
        "path": "Position.businessUnit.type",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Position.businessUnit.reference",
        "path": "Position.businessUnit.reference",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.businessUnit.identifier",
        "path": "Position.businessUnit.identifier",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.businessUnit.identifier.type",
        "path": "Position.businessUnit.identifier.type",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.businessUnit.identifier.type.coding",
        "path": "Position.businessUnit.identifier.type.coding",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.businessUnit.identifier.type.coding.system",
        "path": "Position.businessUnit.identifier.type.coding.system",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ]
      },
      {
        "id": "Position.businessUnit.identifier.type.coding.code",
        "path": "Position.businessUnit.identifier.type.coding.code",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.businessUnit.identifier.type.coding.display",
        "path": "Position.businessUnit.identifier.type.coding.display",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.businessUnit.identifier.system",
        "path": "Position.businessUnit.identifier.system",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ]
      },
      {
        "id": "Position.businessUnit.identifier.value",
        "path": "Position.businessUnit.identifier.value",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.businessUnit.display",
        "path": "Position.businessUnit.display",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.eligibleForOH",
        "path": "Position.eligibleForOH",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/boolean"
            ]
          }
        ]
      },
      {
        "id": "Position.EPP",
        "path": "Position.EPP",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/boolean"
            ]
          }
        ]
      },
      {
        "id": "Position.deaneryPostNumber",
        "path": "Position.deaneryPostNumber",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.managingDeaneryBody",
        "path": "Position.managingDeaneryBody",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.areaOfWork",
        "path": "Position.areaOfWork",
        "short": "The name of an area of work.",
        "definition": "An area of work is an area, function or specialty where work activity takes place.\r\n\r\nAn area of work is categorised into three hierarchical levels. Each Primary value is included in the list of Secondary values, and each Secondary value is included in the list of Tertiary values.\r\n\r\nThe Primary area of work is a high level grouping of clinical specialties e.g. Medicine, Surgery, Psychiatry; or support functions e.g. Estates, Facilities; or other broad grouping e.g. Primary Care, Clinical Support.\r\n\r\nThe Secondary area of work includes each recognised clinical specialty, e.g. Neurology, Ophthalmology; other values identify major areas e.g. Outpatients or functions e.g. Catering, Finance, Pharmacy, where work is undertaken.\r\n\r\nThe Tertiary area of work includes each clinical sub-specialty recognised by the Postgraduate Medical Education and Training Board (PMETB) e.g. Metabolic Medicine; other values identify subsidiary work areas or functions where work is undertaken.\r\n\r\nNote that this is essentially Electronic Staff Record (ESR) terminology to facilitate workforce planning, and has no direct connection to Primary Care, Secondary Care, Intermediate Care, etc.\r\n\r\nRefer to https://www.datadictionary.nhs.uk/data_dictionary/messages/administrative_data_sets/data_sets/national_workforce_data_set_fr.asp for the codes",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.areaOfWork.primary",
        "path": "Position.areaOfWork.primary",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.areaOfWork.secondary",
        "path": "Position.areaOfWork.secondary",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.areaOfWork.tertiary",
        "path": "Position.areaOfWork.tertiary",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.authorisationDate",
        "path": "Position.authorisationDate",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/dateTime"
            ]
          }
        ]
      },
      {
        "id": "Position.Notes",
        "path": "Position.Notes",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.careGroup",
        "path": "Position.careGroup",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.careGroup.coding",
        "path": "Position.careGroup.coding",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.careGroup.coding.system",
        "path": "Position.careGroup.coding.system",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.careGroup.coding.code",
        "path": "Position.careGroup.coding.code",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.careGroup.coding.display",
        "path": "Position.careGroup.coding.display",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Position.headCount",
        "path": "Position.headCount",
        "short": "HEADCOUNT Related Information",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.headCount.stabilityRateJobRoleInReportingPeriod",
        "path": "Position.headCount.stabilityRateJobRoleInReportingPeriod",
        "short": "The percentage of EMPLOYEES who remain employed within a POSITION within the Organisation within the REPORTING PERIOD.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.headCount.positionAssignmentCurrent",
        "path": "Position.headCount.positionAssignmentCurrent",
        "short": "The total number of assignments for POSITIONS currently within the Organisation on the REPORTING PERIOD END DATE.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.headCount.stabilityRateOrganisationInReportingPeriod",
        "path": "Position.headCount.stabilityRateOrganisationInReportingPeriod",
        "short": "The percentage of EMPLOYEES who remain employed within the Organisation within the REPORTING PERIOD.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.headCount.stabilityRateStaffGroupInReportingPeriod",
        "path": "Position.headCount.stabilityRateStaffGroupInReportingPeriod",
        "short": "The percentage of EMPLOYEES who remain employed within a Staff Group within the Organisation within the REPORTING PERIOD.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.headCount.turnoverRateFTEInReportingPeriod",
        "path": "Position.headCount.turnoverRateFTEInReportingPeriod",
        "short": "The percentage of EMPLOYEES, based upon their ASSIGNMENT CONTRACTED FULL TIME EQUIVALENT, leaving employment with the Organisation within the REPORTING PERIOD.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.headCount.turnoverRateOrganisationInReportingPeriod",
        "path": "Position.headCount.turnoverRateOrganisationInReportingPeriod",
        "short": "The percentage of EMPLOYEES leaving employment with the Organisation within the REPORTING PERIOD.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.assignmentFTE",
        "path": "Position.assignmentFTE",
        "short": "The Full Time Equivalent (FTE) of EMPLOYEEs for a POSITION for a week",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "ESR",
            "map": "Assignment Budget Value"
          },
          {
            "identity": "NWDS",
            "map": "Contracted Whole Time Equivalent (WTE) for an Assignment (Derived)"
          }
        ]
      },
      {
        "id": "Position.assignmentFTE.contractedFTE",
        "path": "Position.assignmentFTE.contractedFTE",
        "short": "The Full Time Equivalent (FTE) of contracted time (Hours/Sessions) for a POSITION based upon the EMPLOYMENT CONTRACTS of all EMPLOYEES employed in the POSITION PER WEEK",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.assignmentFTE.contractedFTE.value",
        "path": "Position.assignmentFTE.contractedFTE.value",
        "short": "Numerical value (with implicit precision)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.assignmentFTE.contractedFTE.unit",
        "path": "Position.assignmentFTE.contractedFTE.unit",
        "short": "Unit representation for the value",
        "definition": "\"Sessions\"  or\r\n\"Hours\"",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.assignmentFTE.staffGroupStandard",
        "path": "Position.assignmentFTE.staffGroupStandard",
        "short": "The standard hours/sessions per week for a full time assignment for a Staff Group.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.assignmentFTE.staffGroupStandard.value",
        "path": "Position.assignmentFTE.staffGroupStandard.value",
        "short": "Numerical value (with implicit precision)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "Position.assignmentFTE.staffGroupStandard.unit",
        "path": "Position.assignmentFTE.staffGroupStandard.unit",
        "short": "Unit representation for the value",
        "definition": "\"Sessions\"  or\r\n\"Hours\"",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.internationalRecruitmentIndicator",
        "path": "Position.internationalRecruitmentIndicator",
        "short": "An indication of whether a POSITION is suitable for recruitment outside of the United Kingdom.",
        "definition": "National Codes:\r\n\r\n01 Yes - the POSITION is suitable\r\n02 No - the POSITION is not suitable",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.positionRotaPattern",
        "path": "Position.positionRotaPattern",
        "short": "The type of rota pattern applicable to a POSITION.",
        "definition": "Note: this is only applicable to Medical and Dental Staff.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.positionRotaPattern.coding",
        "path": "Position.positionRotaPattern.coding",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.positionRotaPattern.coding.system",
        "path": "Position.positionRotaPattern.coding.system",
        "short": "A reference to a code defined by a terminology system",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ],
        "fixedUri": "https://www.datadictionary.nhs.uk/"
      },
      {
        "id": "Position.positionRotaPattern.coding.code",
        "path": "Position.positionRotaPattern.coding.code",
        "short": "Symbol in syntax defined by the system",
        "definition": "National Codes:\r\n\r\n01 On Call\r\n02 Partial Shift\r\n03 Full shift\r\n04 24 Hour Partial Shift\r\n05 Hybrid\r\n\r\n\r\nex. the \"code\" : \"01\" must be provided",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.positionRotaPattern.coding.display",
        "path": "Position.positionRotaPattern.coding.display",
        "short": "Representation defined by the system",
        "definition": "National Codes:\r\n\r\n01 On Call\r\n02 Partial Shift\r\n03 Full shift\r\n04 24 Hour Partial Shift\r\n05 Hybrid\r\n\r\n\r\nex. the \"display\" : \"On Call\" must be provided if the \"code\" : \"01\"",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "Position.shiftType",
        "path": "Position.shiftType",
        "short": "The type of shift (time of day or night) which is required or agreed to be worked.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.shiftType.coding",
        "path": "Position.shiftType.coding",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Position.shiftType.coding.system",
        "path": "Position.shiftType.coding.system",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/uri"
            ]
          }
        ],
        "fixedUri": "https://www.datadictionary.nhs.uk/"
      },
      {
        "id": "Position.shiftType.coding.code",
        "path": "Position.shiftType.coding.code",
        "short": "Shift Type Code",
        "definition": "National Codes:\r\n\r\n01 Early/Morning\r\n02 Late/Afternoon\r\n03 Twilight/Evening\r\n04 Night\r\n05 Long\r\n98 Other (not listed)\r\n \r\nex. \"code\" : \"01\"",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "Position.shiftType.coding.display",
        "path": "Position.shiftType.coding.display",
        "short": "Shift type Name/description",
        "definition": "National Codes:\r\n\r\n01 Early/Morning\r\n02 Late/Afternoon\r\n03 Twilight/Evening\r\n04 Night\r\n05 Long\r\n98 Other (not listed)\r\n \r\nex. \"display\" : \"Early/Morning\" if \"code\" : \"01\"",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      }
    ]
  }
}