<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="VacancyRequest" />
  <meta>
    <lastUpdated value="2020-05-19T02:16:36.501+00:00" />
  </meta>
  <url value="http://developer.nhs.uk/fhir/StructureDefinition/VacancyRequest" />
  <version value="2.1" />
  <name value="VacancyRequest" />
  <status value="draft" />
  <date value="2020-05-20T02:16:35.9761203+00:00" />
  <fhirVersion value="4.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="VacancyRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="VacancyRequest">
      <path value="VacancyRequest" />
      <short value="A vacant Shift, Position" />
      <definition value="This resource is to be used when there is a need to define a vacant shift, position. This is a first step in EMPLOYEE deployment as part of three main resources (VacancyRequest, Booking, Timesheet) which complete the deployment process." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="VacancyRequest.meta">
      <path value="VacancyRequest.meta" />
      <short value="Metadata ascociated with each record" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.meta.versionId">
      <path value="VacancyRequest.meta.versionId" />
      <short value="Changes each time the content of the resource changes." />
      <definition value="Last updated time of the record" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element id="VacancyRequest.meta.lastUpdated">
      <path value="VacancyRequest.meta.lastUpdated" />
      <short value="If populated, this value changes each time the content of the resource changes. It can be used by a system or a human" />
      <definition value="Latest version number of the record for this resource type" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="instant" />
      </type>
    </element>
    <element id="VacancyRequest.meta.profile">
      <path value="VacancyRequest.meta.profile" />
      <short value="Profiles this resource claims to conform to" />
      <definition value="The profile would be the profile directly defined by NHS digital or a specialised version of that profile." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="canonical" />
      </type>
    </element>
    <element id="VacancyRequest.identifier">
      <path value="VacancyRequest.identifier" />
      <short value="All other identifiers ascociated to this vacancy request" />
      <definition value="This should not be mistaken by the 'id' field. This field refers to External Ids for this item and will be used as a logical reference whilst the .id elements is used as Literal reference" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.type">
      <path value="VacancyRequest.identifier.type" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.type.coding">
      <path value="VacancyRequest.identifier.type.coding" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.type.coding.system">
      <path value="VacancyRequest.identifier.type.coding.system" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.type.coding.code">
      <path value="VacancyRequest.identifier.type.coding.code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.type.coding.display">
      <path value="VacancyRequest.identifier.type.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.system">
      <path value="VacancyRequest.identifier.system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.value">
      <path value="VacancyRequest.identifier.value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.period">
      <path value="VacancyRequest.identifier.period" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.period.start">
      <path value="VacancyRequest.identifier.period.start" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.period.end">
      <path value="VacancyRequest.identifier.period.end" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.assigner">
      <path value="VacancyRequest.identifier.assigner" />
      <short value="Organization that issued id (may be just text)" />
      <definition value="In more granual form, this can follow the same stream of vacancyOrganisation or vacancyUnit" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.assigner.reference">
      <path value="VacancyRequest.identifier.assigner.reference" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.assigner.type">
      <path value="VacancyRequest.identifier.assigner.type" />
      <short value="Type the reference refers to (e.g. 'organisation or location')" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.assigner.identifier">
      <path value="VacancyRequest.identifier.assigner.identifier" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.assigner.identifier.system">
      <path value="VacancyRequest.identifier.assigner.identifier.system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
      <fixedUri value="http://fhir.nhs.uk/Id/ods-organistion-code" />
    </element>
    <element id="VacancyRequest.identifier.assigner.identifier.value">
      <path value="VacancyRequest.identifier.assigner.identifier.value" />
      <short value="ODS code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.identifier.assigner.display">
      <path value="VacancyRequest.identifier.assigner.display" />
      <short value="ODS display Name" />
      <definition value="Trust or Hospital Full Name" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.status">
      <path value="VacancyRequest.status" />
      <short value="VacancyRequest Status" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://developer.nhs.uk/fhir/ValueSet/vacancyRequestStatus" />
      </binding>
    </element>
    <element id="VacancyRequest.vacancyOrganisation">
      <path value="VacancyRequest.vacancyOrganisation" />
      <short value="The refrence to the organisation resources. It must be Trust and/or hospital" />
      <definition value="It is strongly suggested to use ODS code a  literal refrence" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organizationRole">
      <path value="VacancyRequest.vacancyOrganisation.organizationRole" />
      <short value="A code to describe what an Organization does" />
      <definition value="This is part of ODS FHIR API specification" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organizationRole.coding">
      <path value="VacancyRequest.vacancyOrganisation.organizationRole.coding" />
      <short value="Definition of the coding system" />
      <definition value="eg. &#xD;&#xA; &quot;valueCoding&quot;: {&#xD;&#xA;                        &quot;system&quot;: &quot;https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1&quot;,&#xD;&#xA;                        &quot;code&quot;: &quot;197&quot;,&#xD;&#xA;                        &quot;display&quot;: &quot;NHS TRUST&quot;" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organizationRole.coding.system">
      <path value="VacancyRequest.vacancyOrganisation.organizationRole.coding.system" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
      <fixedUri value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organizationRole.coding.code">
      <path value="VacancyRequest.vacancyOrganisation.organizationRole.coding.code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organizationRole.coding.display">
      <path value="VacancyRequest.vacancyOrganisation.organizationRole.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organisation">
      <path value="VacancyRequest.vacancyOrganisation.organisation" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organisation.reference">
      <path value="VacancyRequest.vacancyOrganisation.organisation.reference" />
      <short value="Literal reference or absolute URL to the resource" />
      <definition value="eg. directory.spineservices.nhs.uk/STU3/Organization/T1430 where the ODS literal code is T1430" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organisation.identifier">
      <path value="VacancyRequest.vacancyOrganisation.organisation.identifier" />
      <short value="Logical reference, when literal reference is not known" />
      <definition value="If vacancyOrganisation.Reference is provided, then identifier does not need to be used as the use of Literal reference is always preferred" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organisation.identifier.system">
      <path value="VacancyRequest.vacancyOrganisation.organisation.identifier.system" />
      <short value="The definition of the system which provides the value" />
      <definition value="in case of ODS this will be set to  fhir.nhs.uk/Id/ods-organistion-code in case of anyother suppliers systems, the name of the supplier can be supplied here" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organisation.identifier.value">
      <path value="VacancyRequest.vacancyOrganisation.organisation.identifier.value" />
      <short value="Identifier value" />
      <definition value="The actual trust or hospital identifier value." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyOrganisation.organisation.display">
      <path value="VacancyRequest.vacancyOrganisation.organisation.display" />
      <short value="Full Name of the organisation" />
      <definition value="eg. if the ODS code of an organsiation is T1430 then this value will be set to 'Health and Social Care Information Centre'" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit">
      <path value="VacancyRequest.vacancyUnit" />
      <short value="Vacancy Location eg. Ward" />
      <definition value="This is WHERE the vacancy is actually required. The data format would be similar to the vacancyOrganisation with the fact that the API endpoint provdier would be responsible for maintaining all the codes provided here. Needless to say the use &quot;reference&quot; and literal reference is preferred." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Locattion" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.reference">
      <path value="VacancyRequest.vacancyUnit.reference" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.type">
      <path value="VacancyRequest.vacancyUnit.type" />
      <short value="Type the reference refers to (e.g. 'organisation or location')" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier">
      <path value="VacancyRequest.vacancyUnit.identifier" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier.type">
      <path value="VacancyRequest.vacancyUnit.identifier.type" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier.type.coding">
      <path value="VacancyRequest.vacancyUnit.identifier.type.coding" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier.type.coding.system">
      <path value="VacancyRequest.vacancyUnit.identifier.type.coding.system" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier.type.coding.code">
      <path value="VacancyRequest.vacancyUnit.identifier.type.coding.code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier.type.coding.display">
      <path value="VacancyRequest.vacancyUnit.identifier.type.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier.system">
      <path value="VacancyRequest.vacancyUnit.identifier.system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.identifier.value">
      <path value="VacancyRequest.vacancyUnit.identifier.value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.vacancyUnit.display">
      <path value="VacancyRequest.vacancyUnit.display" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime">
      <path value="VacancyRequest.plannedTime" />
      <short value="Planned time for this VacancyRequest" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing">
      <path value="VacancyRequest.plannedTime.timing" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.boundsPeriod">
      <path value="VacancyRequest.plannedTime.timing.boundsPeriod" />
      <short value="Start and End date for this Timing" />
      <definition value="Start and End time for the timing episode as defined" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.boundsPeriod.start">
      <path value="VacancyRequest.plannedTime.timing.boundsPeriod.start" />
      <short value="Start datetime for this timing schedule" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.boundsPeriod.end">
      <path value="VacancyRequest.plannedTime.timing.boundsPeriod.end" />
      <short value="end datetime for this timing schedule" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.servicePeriod">
      <path value="VacancyRequest.plannedTime.timing.servicePeriod" />
      <short value="Planned shift start hours and end hours and/or Shift duration" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.servicePeriod.start">
      <path value="VacancyRequest.plannedTime.timing.servicePeriod.start" />
      <short value="Planned Shift Start time" />
      <definition value="The format is time in JSON. &#xD;&#xA;An example value would be &quot;14:25&quot;" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="time" />
        <profile value="http://hl7.org/fhir/StructureDefinition/time" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.servicePeriod.end">
      <path value="VacancyRequest.plannedTime.timing.servicePeriod.end" />
      <short value="Planned shift end time" />
      <definition value="This could also refer to potential assignment effective end date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="time" />
        <profile value="http://hl7.org/fhir/StructureDefinition/time" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.servicePeriod.serviceDuration">
      <path value="VacancyRequest.plannedTime.timing.servicePeriod.serviceDuration" />
      <short value="Planned Hours of work per contract or shift" />
      <definition value="This to be populated if the exact hours (start and end) date both cannot be provided. &#xD;&#xA;Eg. A shift which starts at 9, should work 8 hours per day and hence why the servicePeriod.serviceDuration would be &#xD;&#xA;Unit = h&#xD;&#xA;Value = 8 &#xD;&#xA;which indicated the 8 hours of work, planned for the shift" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.servicePeriod.serviceDuration.unit">
      <path value="VacancyRequest.plannedTime.timing.servicePeriod.serviceDuration.unit" />
      <short value="s | min | h  - Considering a single shift max duration" />
      <definition value="https://www.hl7.org/fhir/valueset-units-of-time.html&#xD;&#xA;Code Display Definition&#xD;&#xA; s       second second&#xD;&#xA; min  minute minute&#xD;&#xA; h      hour hour&#xD;&#xA; d      day day&#xD;&#xA; wk    week week&#xD;&#xA; mo   month month&#xD;&#xA; a      year year" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.servicePeriod.serviceDuration.value">
      <path value="VacancyRequest.plannedTime.timing.servicePeriod.serviceDuration.value" />
      <short value="Actual Value for the unit specified above" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="decimal" />
        <profile value="http://hl7.org/fhir/StructureDefinition/decimal" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.breakPeriod">
      <path value="VacancyRequest.plannedTime.timing.breakPeriod" />
      <short value="Planned shift break start hours and end hours and/or Break Duration" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.breakPeriod.start">
      <path value="VacancyRequest.plannedTime.timing.breakPeriod.start" />
      <short value="Break Start Time" />
      <definition value="The format is time in JSON. &#xD;&#xA;An example value would be &quot;14:25&quot;" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="time" />
        <profile value="http://hl7.org/fhir/StructureDefinition/time" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.breakPeriod.end">
      <path value="VacancyRequest.plannedTime.timing.breakPeriod.end" />
      <short value="Break End time" />
      <definition value="The format is time in JSON. &#xD;&#xA;An example value would be &quot;14:25&quot;" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="time" />
        <profile value="http://hl7.org/fhir/StructureDefinition/time" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.breakPeriod.breakDuration">
      <path value="VacancyRequest.plannedTime.timing.breakPeriod.breakDuration" />
      <definition value="This to be populated if the exact break hours (start and end) date both cannot be provided. &#xD;&#xA;Eg. A break for a shift which starts at 12 and can be upto half an hour would be having the following values &#xD;&#xA;Unit = m&#xD;&#xA;Value = 30 &#xD;&#xA;which indicated the half an hour break for the shift" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.breakPeriod.breakDuration.unit">
      <path value="VacancyRequest.plannedTime.timing.breakPeriod.breakDuration.unit" />
      <short value="s | min | h  - Considering a single shift max duration" />
      <definition value="hhttps://www.hl7.org/fhir/valueset-units-of-time.html&#xD;&#xA;Code Display Definition&#xD;&#xA; s       second second&#xD;&#xA; min  minute minute&#xD;&#xA; h      hour hour&#xD;&#xA; d      day day&#xD;&#xA; wk    week week&#xD;&#xA; mo   month month&#xD;&#xA; a      year year" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.breakPeriod.breakDuration.value">
      <path value="VacancyRequest.plannedTime.timing.breakPeriod.breakDuration.value" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="decimal" />
        <profile value="http://hl7.org/fhir/StructureDefinition/decimal" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.timing.daysOfWeek">
      <path value="VacancyRequest.plannedTime.timing.daysOfWeek" />
      <short value="mon | tue | wed | thu | fri | sat | sun" />
      <definition value="This indicated the days which this shift is planned to be worked" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.earliestStartDate">
      <path value="VacancyRequest.plannedTime.earliestStartDate" />
      <short value="Earliest Assignment Start Date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.contractPeriod">
      <path value="VacancyRequest.plannedTime.contractPeriod" />
      <short value="Contract Effective Start and End date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.contractPeriod.start">
      <path value="VacancyRequest.plannedTime.contractPeriod.start" />
      <short value="Contract Effective Start Date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.plannedTime.contractPeriod.end">
      <path value="VacancyRequest.plannedTime.contractPeriod.end" />
      <short value="Contract Effective End Date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.reasonCode">
      <path value="VacancyRequest.reasonCode" />
      <short value="Vacancy request reason code - Or delete Reason Code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.reasonCode.coding">
      <path value="VacancyRequest.reasonCode.coding" />
      <short value="ReasonCode Definition" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.reasonCode.coding.system">
      <path value="VacancyRequest.reasonCode.coding.system" />
      <short value="Terminology Reference System URL for the reasoncodes" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.reasonCode.coding.code">
      <path value="VacancyRequest.reasonCode.coding.code" />
      <short value="Actual reason Code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.reasonCode.coding.display">
      <path value="VacancyRequest.reasonCode.coding.display" />
      <short value="Reason Code Description" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.authorisationDate">
      <path value="VacancyRequest.authorisationDate" />
      <short value="When the shift was authorised to sent to a BMS system to fullfil" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.statusDate">
      <path value="VacancyRequest.statusDate" />
      <short value="This would be date which corresponds to the status" />
      <definition value="IF the status is 'cancelled' then the statusdate would be the cancellation date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.gender">
      <path value="VacancyRequest.gender" />
      <short value="Required EMPLOYEE Gender" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.gender.coding">
      <path value="VacancyRequest.gender.coding" />
      <short value="Gender Definition" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.gender.coding.system">
      <path value="VacancyRequest.gender.coding.system" />
      <short value="Terminology Reference System URL for the Gender Codes" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.gender.coding.code">
      <path value="VacancyRequest.gender.coding.code" />
      <short value="Actual Gender Code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.gender.coding.display">
      <path value="VacancyRequest.gender.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.performers">
      <path value="VacancyRequest.performers" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://developer.nhs.uk/fhir/StructureDefinition/Employee" />
      </type>
    </element>
    <element id="VacancyRequest.performers.reference">
      <path value="VacancyRequest.performers.reference" />
      <short value="Literal reference or absolute URL to the EMPLOYEE information" />
      <definition value="This field and display would sufficely describe an individual EMPLOYEE" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="VacancyRequest.performers.type">
      <path value="VacancyRequest.performers.type" />
      <short value="Employee Category" />
      <definition value="This can be a valueset including but not limited to:&#xD;&#xA;AgencyEmployee | BankEmployee | Substantive" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier">
      <path value="VacancyRequest.performers.identifier" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier.type">
      <path value="VacancyRequest.performers.identifier.type" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier.type.coding">
      <path value="VacancyRequest.performers.identifier.type.coding" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier.type.coding.system">
      <path value="VacancyRequest.performers.identifier.type.coding.system" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier.type.coding.code">
      <path value="VacancyRequest.performers.identifier.type.coding.code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier.type.coding.display">
      <path value="VacancyRequest.performers.identifier.type.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier.system">
      <path value="VacancyRequest.performers.identifier.system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.performers.identifier.value">
      <path value="VacancyRequest.performers.identifier.value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.performers.display">
      <path value="VacancyRequest.performers.display" />
      <short value="Workers Full Name" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.performerType">
      <path value="VacancyRequest.performerType" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.multiplePerformer">
      <path value="VacancyRequest.performerType.multiplePerformer" />
      <short value="Is multiple performer is allowed" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/boolean" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.AgencyNotPreferred">
      <path value="VacancyRequest.performerType.AgencyNotPreferred" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/boolean" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type">
      <path value="VacancyRequest.performerType.type" />
      <short value="Type of performer" />
      <definition value="A perfomer may be an Agency or Bank worker... Any other performer type can be addressed here" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.coding">
      <path value="VacancyRequest.performerType.type.coding" />
      <short value="Type of the performer" />
      <definition value="Coded system to define the performer. Ex. for Agency worker&#xD;&#xA;system: mycompany/valueset/performertype&#xD;&#xA;code: A&#xD;&#xA;display: Agency" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.coding.system">
      <path value="VacancyRequest.performerType.type.coding.system" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.coding.code">
      <path value="VacancyRequest.performerType.type.coding.code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.coding.display">
      <path value="VacancyRequest.performerType.type.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.priority">
      <path value="VacancyRequest.performerType.type.priority" />
      <short value="performer type priority" />
      <definition value="This is where you can specify you preferred performer type. &#xD;&#xA;0 always indicates the highest priority&#xD;&#xA;&#xD;&#xA;Different priority system can be used by different supplier" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.fallback">
      <path value="VacancyRequest.performerType.type.fallback" />
      <short value="fallback from one performer type to another" />
      <definition value="Fallback options from one required performer type to another. There are two ways of using this field &#xD;&#xA;A) Percentile : This would the percentage of the time prior to shift start date/time to match the performer type. So if this is a 2nd preferred performer type and the unit is &quot;Percentage&quot; and the value &quot;50&quot; then the second performer starts to kick in (for matching) when 50% of the time prior to shift start date is rached &#xD;&#xA;B) Literall: This would be the literall time prior to shif start date/time. So if this is a secondry a 2nd preferred performer type and the unit is &quot;min&quot; and value is &quot;120&quot; then the second performer type starts to kick in (for matching) when 120 min  prior to the shift start time is rached &#xD;&#xA;&#xD;&#xA;The same logic happens when its moved to third and fourth performer type if applicable" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.fallback.unit">
      <path value="VacancyRequest.performerType.type.fallback.unit" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.performerType.type.fallback.value">
      <path value="VacancyRequest.performerType.type.fallback.value" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.shiftType">
      <path value="VacancyRequest.shiftType" />
      <short value="Shift Type Details" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.shiftType.coding">
      <path value="VacancyRequest.shiftType.coding" />
      <short value="Shift Type Coding" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.shiftType.coding.system">
      <path value="VacancyRequest.shiftType.coding.system" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.shiftType.coding.code">
      <path value="VacancyRequest.shiftType.coding.code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.shiftType.coding.display">
      <path value="VacancyRequest.shiftType.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.notification">
      <path value="VacancyRequest.notification" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.notification.notificationFlag">
      <path value="VacancyRequest.notification.notificationFlag" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="VacancyRequest.notification.notificationTime">
      <path value="VacancyRequest.notification.notificationTime" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.directEngagement">
      <path value="VacancyRequest.directEngagement" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.directEngagement.flag">
      <path value="VacancyRequest.directEngagement.flag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="VacancyRequest.directEngagement.contract">
      <path value="VacancyRequest.directEngagement.contract" />
      <short value="reference to the DE contract listing the comercials" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="VacancyRequest.&#x9;s">
      <path value="VacancyRequest.qualifications" />
      <short value="An Assignment code that classifies the vacancy" />
      <definition value="Certification, licenses, or training pertaining to the provision of care" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.code">
      <path value="VacancyRequest.qualifications.code" />
      <short value="Coded representation of the qualification" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.code.coding">
      <path value="VacancyRequest.qualifications.code.coding" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.code.coding.system">
      <path value="VacancyRequest.qualifications.code.coding.system" />
      <short value="Coding system number ascociated with NSHP assignment list" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.code.coding.code">
      <path value="VacancyRequest.qualifications.code.coding.code" />
      <short value="Assignment Code value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.code.coding.display">
      <path value="VacancyRequest.qualifications.code.coding.display" />
      <short value="description of the assignment code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.priority">
      <path value="VacancyRequest.qualifications.priority" />
      <short value="Primary or Secondry Assignment" />
      <definition value="0 = Highest Priority &#xD;&#xA;1 = Second highest priority" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.period">
      <path value="VacancyRequest.qualifications.period" />
      <short value="Period during which the qualification is valid" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.period.start">
      <path value="VacancyRequest.qualifications.period.start" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.period.end">
      <path value="VacancyRequest.qualifications.period.end" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.issuer">
      <path value="VacancyRequest.qualifications.issuer" />
      <short value="Organization that regulates and issues the qualification" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.fallback">
      <path value="VacancyRequest.qualifications.fallback" />
      <short value="Fallback Options" />
      <definition value="Fallback options from one required qualification to another. There are two ways of using thi sfield &#xD;&#xA;A) Percentile : This would the percentage of the time prior to shift start date/time to match the qualification instant. So if this is a secondry qualifications and the unit is &quot;Percentage&quot; and the value &quot;50&quot; then the secondry qualification starts to kick in (for matching) when 50% of the time prior to shift start date is rached &#xD;&#xA;B) Literall: This would be the literall time prior to shif start date/time. So if this is a secondry qualifications and the unit is &quot;min&quot; and value is &quot;120&quot; then the seconfry qualification qualification starts to kick in (for matching) when 120 min  prior to the shift start time is rached &#xD;&#xA;&#xD;&#xA;The same logic happens when its moved to third and fourth qualifications" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.fallback.unit">
      <path value="VacancyRequest.qualifications.fallback.unit" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.qualifications.fallback.value">
      <path value="VacancyRequest.qualifications.fallback.value" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </type>
    </element>
    <element id="VacancyRequest.requestNotes">
      <path value="VacancyRequest.requestNotes" />
      <short value="plain text representing the concept" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.careGroup">
      <path value="VacancyRequest.careGroup" />
      <short value="CARE GROUP CODE (EMPLOYEE ASSIGNMENT) is the CARE GROUP CODE recorded for the assignment of the EMPLOYEE." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.careGroup.coding">
      <path value="VacancyRequest.careGroup.coding" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://developer.nhs.uk/fhir/ValueSet/careGroup" />
      </binding>
    </element>
    <element id="VacancyRequest.careGroup.coding.system">
      <path value="VacancyRequest.careGroup.coding.system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
      <fixedUri value="www.datadictionary.nhs.uk" />
    </element>
    <element id="VacancyRequest.careGroup.coding.code">
      <path value="VacancyRequest.careGroup.coding.code" />
      <definition value="The code of the CARE GROUP.&#xD;&#xA;&#xD;&#xA;National Codes:&#xD;&#xA;&#xD;&#xA;01 Elective Care&#xD;&#xA;02 Emergency Care - Accident and Emergency&#xD;&#xA;03 Emergency Care - Critical Care&#xD;&#xA;04 Emergency Care - Other Emergency Care&#xD;&#xA;05 Cancer&#xD;&#xA;06 Mental Health&#xD;&#xA;07 Older people services&#xD;&#xA;08 Children and maternity - Children&#xD;&#xA;09 Children and maternity - Young People&#xD;&#xA;10 Children and maternity - Maternity and Gynaecology Devices&#xD;&#xA;11 Long term conditions - Diabetes Care&#xD;&#xA;12 Long term conditions - Renal Care&#xD;&#xA;13 Long term conditions - Other Long Term Conditions&#xD;&#xA;14 Coronary Heart Disease" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.careGroup.coding.display">
      <path value="VacancyRequest.careGroup.coding.display" />
      <definition value="The code of the CARE GROUP.&#xD;&#xA;&#xD;&#xA;National Codes:&#xD;&#xA;&#xD;&#xA;01 Elective Care&#xD;&#xA;02 Emergency Care - Accident and Emergency&#xD;&#xA;03 Emergency Care - Critical Care&#xD;&#xA;04 Emergency Care - Other Emergency Care&#xD;&#xA;05 Cancer&#xD;&#xA;06 Mental Health&#xD;&#xA;07 Older people services&#xD;&#xA;08 Children and maternity - Children&#xD;&#xA;09 Children and maternity - Young People&#xD;&#xA;10 Children and maternity - Maternity and Gynaecology Devices&#xD;&#xA;11 Long term conditions - Diabetes Care&#xD;&#xA;12 Long term conditions - Renal Care&#xD;&#xA;13 Long term conditions - Other Long Term Conditions&#xD;&#xA;14 Coronary Heart Disease" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.payScale">
      <path value="VacancyRequest.payScale" />
      <short value="A unique description, code of a PAYSCALE for the POSITION or SHIFT" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.payScale.code">
      <path value="VacancyRequest.payScale.code" />
      <short value="NHS Grade Flexfield" />
      <definition value="e.g. XN02" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.payScale.description">
      <path value="VacancyRequest.payScale.description" />
      <short value="Payscale Code Description if required" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.payScale.spinePoint">
      <path value="VacancyRequest.payScale.spinePoint" />
      <short value="Grade Spinal Point" />
      <definition value="The Grade Spinal starting Point as the job starts for an employee. This would be changed as the assigned employee years of experience." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.payScale.type">
      <path value="VacancyRequest.payScale.type" />
      <short value="National/Local Identifier (Grade)" />
      <definition value="National Codes:&#xD;&#xA;&#xD;&#xA;01 National&#xD;&#xA;02 Local" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.payroll">
      <path value="VacancyRequest.payroll" />
      <short value="Payroll Information" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.payroll.name">
      <path value="VacancyRequest.payroll.name" />
      <short value="Name of assignment payroll, e.g. ‘631" />
      <definition value="This could be the name ascociate to the ESR" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.payroll.periodType">
      <path value="VacancyRequest.payroll.periodType" />
      <short value="Code: Assignment Payroll Period Type" />
      <definition value="e.g. Bi-Week, Calendar Month, Week, etc&#xD;&#xA;(Lookup Type = PROC_PERIOD_TYPE)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.payroll.periodType.coding">
      <path value="VacancyRequest.payroll.periodType.coding" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.payroll.periodType.coding.system">
      <path value="VacancyRequest.payroll.periodType.coding.system" />
      <definition value="If ESR then the value is fixed at&#xD;&#xA;ESR.NHS.UK/codeSystem/PROC_PERIOD_TYPE" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.payroll.periodType.coding.code">
      <path value="VacancyRequest.payroll.periodType.coding.code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.payroll.periodType.coding.display">
      <path value="VacancyRequest.payroll.periodType.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.payroll.provider">
      <path value="VacancyRequest.payroll.provider" />
      <short value="Name of the Payroll Provider" />
      <definition value="ESR | Self&#xD;&#xA;if it is set as self then the self payroll flag is enabled meaning the EMPLOYER TRUST is responsible for the Payroll." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.supervisor">
      <path value="VacancyRequest.supervisor" />
      <short value="Reference to Supervisor" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://developer.nhs.uk/fhir/StructureDefinition/Employee" />
        <aggregation value="referenced" />
      </type>
    </element>
    <element id="VacancyRequest.workingPattern">
      <path value="VacancyRequest.workingPattern" />
      <short value="Assignment work pattern" />
      <definition value="Flexible Working Pattern (if present), &#xD;&#xA;Values are&#xD;&#xA;‘Annualised Hours’&#xD;&#xA;‘Other Flexible Working’&#xD;&#xA;‘Term Time’&#xD;&#xA;‘Vacation Working’" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="VacancyRequest.workingPattern.coding">
      <path value="VacancyRequest.workingPattern.coding" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="VacancyRequest.workingPattern.coding.system">
      <path value="VacancyRequest.workingPattern.coding.system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="VacancyRequest.workingPattern.coding.code">
      <path value="VacancyRequest.workingPattern.coding.code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.workingPattern.coding.display">
      <path value="VacancyRequest.workingPattern.coding.display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.basedOn">
      <path value="VacancyRequest.basedOn" />
      <short value="The position or shift this request is allocated to fulfill" />
      <definition value="Reference to Position or Shift..." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://developer.nhs.uk/fhir/StructureDefinition/position" />
        <targetProfile value="http://developer.nhs.uk/fhir/StructureDefinition/shift" />
        <aggregation value="contained" />
        <aggregation value="referenced" />
      </type>
    </element>
    <element id="VacancyRequest.requester">
      <path value="VacancyRequest.requester" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="VacancyRequest.requester.method">
      <path value="VacancyRequest.requester.method" />
      <short value="Method of Request" />
      <definition value="This may be a valueset including but not limited to:&#xD;&#xA;web | API | telephon" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="VacancyRequest.requester.name">
      <path value="VacancyRequest.requester.name" />
      <short value="Requested Full Name or Initial" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="VacancyRequest.requester.type">
      <path value="VacancyRequest.requester.type" />
      <short value="Requester Type" />
      <definition value="This can be a valueset including but not limited to:&#xD;&#xA;employee | agency | trustAdmin" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
  </differential>
</StructureDefinition>