@casomoltd/nhs-pay 0.7.4 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -9
- package/dist/circulars/england-md-1-2026r.d.ts +3 -2
- package/dist/circulars/england-md-1-2026r.js +3 -2
- package/dist/circulars/england-md-1-2026r.js.map +1 -1
- package/dist/circulars/ni-hsc-tc8-05-2025.d.ts +2 -2
- package/dist/circulars/ni-hsc-tc8-05-2025.js +2 -2
- package/dist/circulars/scotland-pcs-dd-2025-01.d.ts +88 -0
- package/dist/circulars/scotland-pcs-dd-2025-01.js +241 -0
- package/dist/circulars/scotland-pcs-dd-2025-01.js.map +1 -0
- package/dist/circulars/wales-mdw-01-2025.d.ts +2 -2
- package/dist/circulars/wales-mdw-01-2025.js +2 -2
- package/dist/circulars/wales-mdw-01-2026.d.ts +146 -0
- package/dist/circulars/wales-mdw-01-2026.js +255 -0
- package/dist/circulars/wales-mdw-01-2026.js.map +1 -0
- package/dist/dates.d.ts +48 -0
- package/dist/dates.js +74 -0
- package/dist/dates.js.map +1 -0
- package/dist/dental-scales.js +18 -0
- package/dist/dental-scales.js.map +1 -1
- package/dist/errors.d.ts +18 -0
- package/dist/errors.js +26 -0
- package/dist/errors.js.map +1 -1
- package/dist/gad/erf-2023-06-30.d.ts +33 -0
- package/dist/gad/erf-2023-06-30.js +67 -0
- package/dist/gad/erf-2023-06-30.js.map +1 -0
- package/dist/gad/factor-table.d.ts +90 -0
- package/dist/gad/factor-table.js +116 -0
- package/dist/gad/factor-table.js.map +1 -0
- package/dist/gad/lrf-2023-06-30.d.ts +33 -0
- package/dist/gad/lrf-2023-06-30.js +61 -0
- package/dist/gad/lrf-2023-06-30.js.map +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/dist/medical-scales.js +56 -0
- package/dist/medical-scales.js.map +1 -1
- package/dist/pension-projection.d.ts +12 -22
- package/dist/pension-projection.js +23 -149
- package/dist/pension-projection.js.map +1 -1
- package/dist/pension.js +21 -6
- package/dist/pension.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verbatim transcription of NHS Wales Pay Circular M&D(W) 01/2026
|
|
3
|
+
* (Version 2, 05 May 2026) — "Terms and Conditions of Service of
|
|
4
|
+
* Hospital and Public Health Medical and Dental Staff and Community
|
|
5
|
+
* Doctors (Wales)". Effective 1 April 2026 (2026/27). A 3.5% uplift to
|
|
6
|
+
* basic pay across consultants, residents, dentists, SAS (2008 & 2021)
|
|
7
|
+
* and salaried GPs; consultant awards (CEA/CIA) unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Mirrors Annex A section by section, same scope policy as the 2025
|
|
10
|
+
* circular: (a) every basic-pay salary scale incl. closed grades; (b)
|
|
11
|
+
* earnings supplements as annual £. Two structural changes vs 2025:
|
|
12
|
+
* · the Associate Specialist pay code MC01 is REMOVED (payroll review
|
|
13
|
+
* found no employees on it) — so it is absent from the closed grades;
|
|
14
|
+
* · a NEW §1c "2026 Resident Contract" (nodal spine, effective from
|
|
15
|
+
* 1 Aug 2026) is transcribed below as `resident2026Contract` but not
|
|
16
|
+
* yet wired into the translation layer — the §1b training grades
|
|
17
|
+
* remain the live, uplifted resident scales for 2026/27.
|
|
18
|
+
*
|
|
19
|
+
* Public source: NHS Wales — Pay & Conditions, M&D(W) 01/2026 (direct PDF),
|
|
20
|
+
* https://www.nhs.wales/files/pc-resources/md-w-0126-pay-award-02-04-26-version-2/
|
|
21
|
+
*/
|
|
22
|
+
export declare const WALES_MDW_01_2026: {
|
|
23
|
+
readonly circular: "NHS Wales M&D(W) 01/2026";
|
|
24
|
+
readonly nation: "wales";
|
|
25
|
+
readonly effectiveFrom: "2026-04-01";
|
|
26
|
+
readonly consultant: {
|
|
27
|
+
threshold: string;
|
|
28
|
+
yearCompleted: number;
|
|
29
|
+
salary: number;
|
|
30
|
+
code: string;
|
|
31
|
+
}[];
|
|
32
|
+
readonly trainingGrades: {
|
|
33
|
+
grade: string;
|
|
34
|
+
code: string;
|
|
35
|
+
salaries: number[];
|
|
36
|
+
}[];
|
|
37
|
+
readonly resident2026Contract: ({
|
|
38
|
+
grade: string;
|
|
39
|
+
spine: number;
|
|
40
|
+
salary: number;
|
|
41
|
+
} | {
|
|
42
|
+
grade: string;
|
|
43
|
+
spine: null;
|
|
44
|
+
salary: number;
|
|
45
|
+
})[];
|
|
46
|
+
readonly closedGrades: {
|
|
47
|
+
grade: string;
|
|
48
|
+
code: string;
|
|
49
|
+
salaries: number[];
|
|
50
|
+
}[];
|
|
51
|
+
readonly specialtyDoctor2008: {
|
|
52
|
+
code: string;
|
|
53
|
+
salary: number;
|
|
54
|
+
}[];
|
|
55
|
+
readonly associateSpecialist2008: {
|
|
56
|
+
code: string;
|
|
57
|
+
salary: number;
|
|
58
|
+
}[];
|
|
59
|
+
readonly specialtyDoctor: {
|
|
60
|
+
code: string;
|
|
61
|
+
yearsExperience: number;
|
|
62
|
+
salary: number;
|
|
63
|
+
}[];
|
|
64
|
+
readonly specialist: {
|
|
65
|
+
code: string;
|
|
66
|
+
yearsExperience: number;
|
|
67
|
+
salary: number;
|
|
68
|
+
}[];
|
|
69
|
+
readonly dphSupplement: readonly [{
|
|
70
|
+
readonly band: "A";
|
|
71
|
+
readonly min: 20332;
|
|
72
|
+
readonly max: 29511;
|
|
73
|
+
readonly exceptional: 0;
|
|
74
|
+
}, {
|
|
75
|
+
readonly band: "B";
|
|
76
|
+
readonly min: 7877;
|
|
77
|
+
readonly max: 15763;
|
|
78
|
+
readonly exceptional: 20332;
|
|
79
|
+
}, {
|
|
80
|
+
readonly band: "C";
|
|
81
|
+
readonly min: 6587;
|
|
82
|
+
readonly max: 13119;
|
|
83
|
+
readonly exceptional: 15763;
|
|
84
|
+
}, {
|
|
85
|
+
readonly band: "D";
|
|
86
|
+
readonly min: 5254;
|
|
87
|
+
readonly max: 10497;
|
|
88
|
+
readonly exceptional: 13119;
|
|
89
|
+
}];
|
|
90
|
+
readonly clinicalExcellenceAwards: readonly [{
|
|
91
|
+
readonly level: "Level 9 (Bronze)";
|
|
92
|
+
readonly salary: 36924;
|
|
93
|
+
}, {
|
|
94
|
+
readonly level: "Level 10 (Silver)";
|
|
95
|
+
readonly salary: 48533;
|
|
96
|
+
}, {
|
|
97
|
+
readonly level: "Level 11 (Gold)";
|
|
98
|
+
readonly salary: 60666;
|
|
99
|
+
}, {
|
|
100
|
+
readonly level: "Level 12 (Platinum)";
|
|
101
|
+
readonly salary: 78866;
|
|
102
|
+
}];
|
|
103
|
+
readonly clinicalImpactAwards: readonly [{
|
|
104
|
+
readonly level: "N0";
|
|
105
|
+
readonly salary: 10500;
|
|
106
|
+
}, {
|
|
107
|
+
readonly level: "N1";
|
|
108
|
+
readonly salary: 21000;
|
|
109
|
+
}, {
|
|
110
|
+
readonly level: "N2";
|
|
111
|
+
readonly salary: 31500;
|
|
112
|
+
}, {
|
|
113
|
+
readonly level: "N3";
|
|
114
|
+
readonly salary: 42000;
|
|
115
|
+
}];
|
|
116
|
+
readonly intensitySupplements: readonly [{
|
|
117
|
+
readonly band: "Band 1 (low)";
|
|
118
|
+
readonly salary: 3303;
|
|
119
|
+
}, {
|
|
120
|
+
readonly band: "Band 2 (medium)";
|
|
121
|
+
readonly salary: 6600;
|
|
122
|
+
}, {
|
|
123
|
+
readonly band: "Band 3 (high)";
|
|
124
|
+
readonly salary: 9895;
|
|
125
|
+
}];
|
|
126
|
+
readonly waitingListInitiative: 820;
|
|
127
|
+
readonly salariedGp: {
|
|
128
|
+
readonly code: "KP22";
|
|
129
|
+
readonly salaries: readonly [81893, 85705, 89703, 93895, 98276, 102874, 107690, 112738, 118022, 123573];
|
|
130
|
+
};
|
|
131
|
+
readonly salariedDentalSpine: ({
|
|
132
|
+
band: "A";
|
|
133
|
+
point: number;
|
|
134
|
+
salary: number;
|
|
135
|
+
} | {
|
|
136
|
+
band: "B";
|
|
137
|
+
point: number;
|
|
138
|
+
salary: number;
|
|
139
|
+
} | {
|
|
140
|
+
band: "C";
|
|
141
|
+
point: number;
|
|
142
|
+
salary: number;
|
|
143
|
+
})[];
|
|
144
|
+
readonly dentalTrainingSupplement: 2828;
|
|
145
|
+
readonly dentalIndicativeTrainingAllowance: 1100;
|
|
146
|
+
};
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verbatim transcription of NHS Wales Pay Circular M&D(W) 01/2026
|
|
3
|
+
* (Version 2, 05 May 2026) — "Terms and Conditions of Service of
|
|
4
|
+
* Hospital and Public Health Medical and Dental Staff and Community
|
|
5
|
+
* Doctors (Wales)". Effective 1 April 2026 (2026/27). A 3.5% uplift to
|
|
6
|
+
* basic pay across consultants, residents, dentists, SAS (2008 & 2021)
|
|
7
|
+
* and salaried GPs; consultant awards (CEA/CIA) unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Mirrors Annex A section by section, same scope policy as the 2025
|
|
10
|
+
* circular: (a) every basic-pay salary scale incl. closed grades; (b)
|
|
11
|
+
* earnings supplements as annual £. Two structural changes vs 2025:
|
|
12
|
+
* · the Associate Specialist pay code MC01 is REMOVED (payroll review
|
|
13
|
+
* found no employees on it) — so it is absent from the closed grades;
|
|
14
|
+
* · a NEW §1c "2026 Resident Contract" (nodal spine, effective from
|
|
15
|
+
* 1 Aug 2026) is transcribed below as `resident2026Contract` but not
|
|
16
|
+
* yet wired into the translation layer — the §1b training grades
|
|
17
|
+
* remain the live, uplifted resident scales for 2026/27.
|
|
18
|
+
*
|
|
19
|
+
* Public source: NHS Wales — Pay & Conditions, M&D(W) 01/2026 (direct PDF),
|
|
20
|
+
* https://www.nhs.wales/files/pc-resources/md-w-0126-pay-award-02-04-26-version-2/
|
|
21
|
+
*/
|
|
22
|
+
export const WALES_MDW_01_2026 = {
|
|
23
|
+
circular: 'NHS Wales M&D(W) 01/2026',
|
|
24
|
+
nation: 'wales',
|
|
25
|
+
effectiveFrom: '2026-04-01',
|
|
26
|
+
// ══ Annex A §1a — Consultant basic salary (p3-4) ══
|
|
27
|
+
// Payroll codes ZM81/ZK81/ZL81/ZC81-NN; ZM81 quoted below.
|
|
28
|
+
consultant: [
|
|
29
|
+
{ threshold: 'Min', yearCompleted: 0, salary: 114099, code: 'ZM81-01' },
|
|
30
|
+
{ threshold: '1', yearCompleted: 1, salary: 119804, code: 'ZM81-02' },
|
|
31
|
+
{ threshold: '2', yearCompleted: 2, salary: 125509, code: 'ZM81-03' },
|
|
32
|
+
{ threshold: '3', yearCompleted: 3, salary: 131214, code: 'ZM81-04' },
|
|
33
|
+
{ threshold: '4', yearCompleted: 4, salary: 140342, code: 'ZM81-05' },
|
|
34
|
+
{ threshold: '4', yearCompleted: 5, salary: 140342, code: 'ZM81-06' },
|
|
35
|
+
{ threshold: '4', yearCompleted: 6, salary: 140342, code: 'ZM81-07' },
|
|
36
|
+
{ threshold: '4', yearCompleted: 7, salary: 140342, code: 'ZM81-08' },
|
|
37
|
+
{ threshold: '4', yearCompleted: 8, salary: 140342, code: 'ZM81-09' },
|
|
38
|
+
{ threshold: '5', yearCompleted: 9, salary: 148328, code: 'ZM81-10' },
|
|
39
|
+
{ threshold: '5', yearCompleted: 10, salary: 148328, code: 'ZM81-11' },
|
|
40
|
+
{ threshold: '5', yearCompleted: 11, salary: 148328, code: 'ZM81-12' },
|
|
41
|
+
{ threshold: '5', yearCompleted: 12, salary: 148328, code: 'ZM81-13' },
|
|
42
|
+
{ threshold: '5', yearCompleted: 13, salary: 148328, code: 'ZM81-14' },
|
|
43
|
+
{ threshold: '5', yearCompleted: 14, salary: 148328, code: 'ZM81-15' },
|
|
44
|
+
{ threshold: '5', yearCompleted: 15, salary: 148328, code: 'ZM81-16' },
|
|
45
|
+
{ threshold: '6', yearCompleted: 16, salary: 157457, code: 'ZM81-17' },
|
|
46
|
+
{ threshold: '6', yearCompleted: 17, salary: 157457, code: 'ZM81-18' },
|
|
47
|
+
{ threshold: '6', yearCompleted: 18, salary: 157457, code: 'ZM81-19' },
|
|
48
|
+
{ threshold: '6', yearCompleted: 19, salary: 157457, code: 'ZM81-20' },
|
|
49
|
+
{ threshold: '6', yearCompleted: 20, salary: 157457, code: 'ZM81-21' },
|
|
50
|
+
{ threshold: '6', yearCompleted: 21, salary: 157457, code: 'ZM81-22' },
|
|
51
|
+
{ threshold: '6', yearCompleted: 22, salary: 157457, code: 'ZM81-23' },
|
|
52
|
+
{ threshold: '7', yearCompleted: 23, salary: 166585, code: 'ZM81-24' },
|
|
53
|
+
],
|
|
54
|
+
// ══ Annex A §1b — Training grades (p5) ══
|
|
55
|
+
// The Framework Agreement transitional scales — closed to new entrants
|
|
56
|
+
// from Aug 2026 but still uplifted each year. Salaries left→right:
|
|
57
|
+
// Min, 01…Nth incremental point.
|
|
58
|
+
trainingGrades: [
|
|
59
|
+
{
|
|
60
|
+
grade: 'Specialty Registrar (Full)', code: 'MN37',
|
|
61
|
+
salaries: [
|
|
62
|
+
47946, 50763, 54703, 57088, 59957,
|
|
63
|
+
62831, 65704, 68579, 71451, 74328,
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
grade: 'Specialty Registrar (Core Training)', code: 'MN39',
|
|
68
|
+
salaries: [47946, 50763, 54703, 57088, 59957, 62831],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
grade: 'Specialty Registrar (Fixed Term)', code: 'MN35',
|
|
72
|
+
salaries: [47946, 50763, 54703, 57088, 59957, 62831],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
grade: 'Dental Core Training', code: 'MN21',
|
|
76
|
+
salaries: [45199, 48036, 50869, 53704, 56537, 59372, 62206],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
grade: 'Foundation House Officer 2', code: 'MN15',
|
|
80
|
+
salaries: [44988, 47809, 50628],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
grade: 'Foundation House Officer 1', code: 'MN13',
|
|
84
|
+
salaries: [36629, 38800, 40973],
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
// ══ Annex A §1c — 2026 Resident Contract (p6) ══
|
|
88
|
+
// NEW nodal-spine scale (Terms and Conditions of Service of Resident
|
|
89
|
+
// Doctors and Dentists (Wales) 2026), residents transition onto it from
|
|
90
|
+
// 1 Aug 2026. Uplifted 2026/27 pay values. Recorded, not yet wired —
|
|
91
|
+
// the §1b training grades remain the live resident scales this year.
|
|
92
|
+
resident2026Contract: [
|
|
93
|
+
{ grade: 'F1', spine: 1, salary: 41400 },
|
|
94
|
+
{ grade: 'F2', spine: 1, salary: 51750 },
|
|
95
|
+
{ grade: 'Dental Foundation Trainee', spine: null, salary: 48625 },
|
|
96
|
+
{ grade: 'Registrar', spine: 1, salary: 56925 },
|
|
97
|
+
{ grade: 'Registrar', spine: 2, salary: 64170 },
|
|
98
|
+
{ grade: 'Registrar', spine: 3, salary: 70380 },
|
|
99
|
+
{ grade: 'Registrar', spine: 4, salary: 76590 },
|
|
100
|
+
{ grade: 'Registrar', spine: 5, salary: 80730 },
|
|
101
|
+
],
|
|
102
|
+
// ══ Annex A §1d — Closed pay scales (p7) ══
|
|
103
|
+
// Associate Specialist MC01 removed in this circular (no employees on
|
|
104
|
+
// it), so it is absent here — unlike the 2025 circular.
|
|
105
|
+
closedGrades: [
|
|
106
|
+
{
|
|
107
|
+
grade: 'Staff Grade Practitioner', code: 'MH01',
|
|
108
|
+
salaries: [53692, 57953, 62214, 66474, 70738, 74996, 79260, 83520],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
grade: 'Staff Grade Practitioner', code: 'MH03/05',
|
|
112
|
+
salaries: [
|
|
113
|
+
53692, 57953, 62214, 66474, 70738, 74996,
|
|
114
|
+
79260, 83520, 87783, 92044, 96303, 100566,
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
grade: 'Specialty Registrar (closed)', code: 'MN25',
|
|
119
|
+
salaries: [
|
|
120
|
+
49941, 52323, 54703, 57088, 59957,
|
|
121
|
+
62831, 65704, 68579, 71451, 74328,
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
// Hospital Practitioners / Session — sessional / notional half-day.
|
|
125
|
+
{
|
|
126
|
+
grade: 'Hospital Practitioners / Session', code: 'MD01-41',
|
|
127
|
+
salaries: [6997, 7405, 7813, 8216, 8622, 9026, 9429],
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
// ══ Annex A §2a — Specialty Doctor & Associate Specialist 2008 (closed, p6) ══
|
|
131
|
+
specialtyDoctor2008: [
|
|
132
|
+
{ code: 'MC46-01', salary: 54137 }, { code: 'MC46-02', salary: 58765 },
|
|
133
|
+
{ code: 'MC46-03', salary: 64784 }, { code: 'MC46-04', salary: 68008 },
|
|
134
|
+
{ code: 'MC46-05', salary: 72652 }, { code: 'MC46-06', salary: 77282 },
|
|
135
|
+
{ code: 'MC46-07', salary: 77282 }, { code: 'MC46-08', salary: 82013 },
|
|
136
|
+
{ code: 'MC46-09', salary: 82013 }, { code: 'MC46-10', salary: 86748 },
|
|
137
|
+
{ code: 'MC46-11', salary: 86748 }, { code: 'MC46-12', salary: 91483 },
|
|
138
|
+
{ code: 'MC46-13', salary: 91483 }, { code: 'MC46-14', salary: 91483 },
|
|
139
|
+
{ code: 'MC46-15', salary: 96216 }, { code: 'MC46-16', salary: 96216 },
|
|
140
|
+
{ code: 'MC46-17', salary: 96216 }, { code: 'MC46-18', salary: 100950 },
|
|
141
|
+
],
|
|
142
|
+
associateSpecialist2008: [
|
|
143
|
+
{ code: 'MC41-01', salary: 78791 }, { code: 'MC41-02', salary: 85124 },
|
|
144
|
+
{ code: 'MC41-03', salary: 91455 }, { code: 'MC41-04', salary: 99816 },
|
|
145
|
+
{ code: 'MC41-05', salary: 107040 }, { code: 'MC41-06', salary: 110070 },
|
|
146
|
+
{ code: 'MC41-07', salary: 110070 }, { code: 'MC41-08', salary: 113995 },
|
|
147
|
+
{ code: 'MC41-09', salary: 113995 }, { code: 'MC41-10', salary: 117919 },
|
|
148
|
+
{ code: 'MC41-11', salary: 117919 }, { code: 'MC41-12', salary: 121842 },
|
|
149
|
+
{ code: 'MC41-13', salary: 121842 }, { code: 'MC41-14', salary: 121842 },
|
|
150
|
+
{ code: 'MC41-15', salary: 125767 }, { code: 'MC41-16', salary: 125767 },
|
|
151
|
+
{ code: 'MC41-17', salary: 125767 }, { code: 'MC41-18', salary: 129694 },
|
|
152
|
+
],
|
|
153
|
+
// ══ Annex A §2b — SAS 2021 contracts (p6) ══
|
|
154
|
+
specialtyDoctor: [
|
|
155
|
+
{ code: 'MC75-01', yearsExperience: 0, salary: 64292 },
|
|
156
|
+
{ code: 'MC75-02', yearsExperience: 1, salary: 64292 },
|
|
157
|
+
{ code: 'MC75-03', yearsExperience: 2, salary: 64292 },
|
|
158
|
+
{ code: 'MC75-04', yearsExperience: 3, salary: 74068 },
|
|
159
|
+
{ code: 'MC75-05', yearsExperience: 4, salary: 74068 },
|
|
160
|
+
{ code: 'MC75-06', yearsExperience: 5, salary: 74068 },
|
|
161
|
+
{ code: 'MC75-07', yearsExperience: 6, salary: 82570 },
|
|
162
|
+
{ code: 'MC75-08', yearsExperience: 7, salary: 82570 },
|
|
163
|
+
{ code: 'MC75-09', yearsExperience: 8, salary: 82570 },
|
|
164
|
+
{ code: 'MC75-10', yearsExperience: 9, salary: 91393 },
|
|
165
|
+
{ code: 'MC75-11', yearsExperience: 10, salary: 91393 },
|
|
166
|
+
{ code: 'MC75-12', yearsExperience: 11, salary: 91393 },
|
|
167
|
+
{ code: 'MC75-13', yearsExperience: 12, salary: 102689 },
|
|
168
|
+
{ code: 'MC75-14', yearsExperience: 13, salary: 102689 },
|
|
169
|
+
{ code: 'MC75-15', yearsExperience: 14, salary: 102689 },
|
|
170
|
+
{ code: 'MC75-16', yearsExperience: 15, salary: 102689 },
|
|
171
|
+
{ code: 'MC75-17', yearsExperience: 16, salary: 102689 },
|
|
172
|
+
{ code: 'MC75-18', yearsExperience: 17, salary: 102689 },
|
|
173
|
+
],
|
|
174
|
+
specialist: [
|
|
175
|
+
{ code: 'MC70-01', yearsExperience: 0, salary: 104401 },
|
|
176
|
+
{ code: 'MC70-02', yearsExperience: 1, salary: 104401 },
|
|
177
|
+
{ code: 'MC70-03', yearsExperience: 2, salary: 104401 },
|
|
178
|
+
{ code: 'MC70-04', yearsExperience: 3, salary: 108485 },
|
|
179
|
+
{ code: 'MC70-05', yearsExperience: 4, salary: 108485 },
|
|
180
|
+
{ code: 'MC70-06', yearsExperience: 5, salary: 108485 },
|
|
181
|
+
{ code: 'MC70-07', yearsExperience: 6, salary: 115343 },
|
|
182
|
+
],
|
|
183
|
+
// ══ Annex A §3 — DPH (Chief Officer) supplement — annual £ (p7) ══
|
|
184
|
+
dphSupplement: [
|
|
185
|
+
{ band: 'A', min: 20332, max: 29511, exceptional: 0 },
|
|
186
|
+
{ band: 'B', min: 7877, max: 15763, exceptional: 20332 },
|
|
187
|
+
{ band: 'C', min: 6587, max: 13119, exceptional: 15763 },
|
|
188
|
+
{ band: 'D', min: 5254, max: 10497, exceptional: 13119 },
|
|
189
|
+
],
|
|
190
|
+
// ══ Annex A §4 — Awards & supplements — annual £ (p8) ══
|
|
191
|
+
// CEA & CIA unchanged from 2025 (circular: no change to consultant
|
|
192
|
+
// award values); intensity supplements & waiting-list uplifted 3.5%.
|
|
193
|
+
clinicalExcellenceAwards: [
|
|
194
|
+
{ level: 'Level 9 (Bronze)', salary: 36924 },
|
|
195
|
+
{ level: 'Level 10 (Silver)', salary: 48533 },
|
|
196
|
+
{ level: 'Level 11 (Gold)', salary: 60666 },
|
|
197
|
+
{ level: 'Level 12 (Platinum)', salary: 78866 },
|
|
198
|
+
],
|
|
199
|
+
clinicalImpactAwards: [
|
|
200
|
+
{ level: 'N0', salary: 10500 }, { level: 'N1', salary: 21000 },
|
|
201
|
+
{ level: 'N2', salary: 31500 }, { level: 'N3', salary: 42000 },
|
|
202
|
+
],
|
|
203
|
+
intensitySupplements: [
|
|
204
|
+
{ band: 'Band 1 (low)', salary: 3303 },
|
|
205
|
+
{ band: 'Band 2 (medium)', salary: 6600 },
|
|
206
|
+
{ band: 'Band 3 (high)', salary: 9895 },
|
|
207
|
+
],
|
|
208
|
+
waitingListInitiative: 820,
|
|
209
|
+
// ══ Annex A §5 — Salaried GP scale KP22 (p9) ══
|
|
210
|
+
salariedGp: {
|
|
211
|
+
code: 'KP22',
|
|
212
|
+
salaries: [
|
|
213
|
+
81893, 85705, 89703, 93895, 98276,
|
|
214
|
+
102874, 107690, 112738, 118022, 123573,
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
// ══ Annex A §11 — Salaried Primary Dental Care Staff (2008) (p7 of the
|
|
218
|
+
// dental section) ══
|
|
219
|
+
salariedDentalSpine: [
|
|
220
|
+
{ band: 'A', point: 1, salary: 54802 },
|
|
221
|
+
{ band: 'A', point: 2, salary: 60894 },
|
|
222
|
+
{ band: 'A', point: 3, salary: 70026 },
|
|
223
|
+
{ band: 'A', point: 4, salary: 74592 },
|
|
224
|
+
{ band: 'A', point: 5, salary: 79159 },
|
|
225
|
+
{ band: 'A', point: 6, salary: 82204 },
|
|
226
|
+
{ band: 'B', point: 7, salary: 85246 },
|
|
227
|
+
{ band: 'B', point: 8, salary: 88290 },
|
|
228
|
+
{ band: 'B', point: 9, salary: 92857 },
|
|
229
|
+
{ band: 'B', point: 10, salary: 95138 },
|
|
230
|
+
{ band: 'B', point: 11, salary: 97424 },
|
|
231
|
+
{ band: 'B', point: 12, salary: 99707 },
|
|
232
|
+
{ band: 'C', point: 13, salary: 101993 },
|
|
233
|
+
{ band: 'C', point: 14, salary: 105034 },
|
|
234
|
+
{ band: 'C', point: 15, salary: 108078 },
|
|
235
|
+
{ band: 'C', point: 16, salary: 111124 },
|
|
236
|
+
{ band: 'C', point: 17, salary: 114168 },
|
|
237
|
+
{ band: 'C', point: 18, salary: 117211 },
|
|
238
|
+
],
|
|
239
|
+
// ══ Annex A §12 — Dental supplements — annual £ (p8 of the dental
|
|
240
|
+
// section) ══
|
|
241
|
+
dentalTrainingSupplement: 2828,
|
|
242
|
+
dentalIndicativeTrainingAllowance: 1100,
|
|
243
|
+
// RECORDED, not transcribed:
|
|
244
|
+
// · §6 Emergency Rota Allowance (CMO/SCMO) (p9) — rate per half-year by
|
|
245
|
+
// number of duties; rota-frequency add-on, not base pay.
|
|
246
|
+
// · §7 Other fees & allowances (p10); §8 Transport (p11); §9 Locum
|
|
247
|
+
// tenens (p12) — item/session fees, mileage, locum day/weekly rates
|
|
248
|
+
// (incl. Locum Consultant ZC82 £125,509).
|
|
249
|
+
// · §10 Family planning fees & miscellaneous (p6 of that section) —
|
|
250
|
+
// procedure fees.
|
|
251
|
+
// · Annex B Banding supplements & total salaries (2002 resident
|
|
252
|
+
// contract, closed from Aug 2026) — rota-banding multipliers
|
|
253
|
+
// (No band … Band 3 ×2.0) of the basic scales above.
|
|
254
|
+
};
|
|
255
|
+
//# sourceMappingURL=wales-mdw-01-2026.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wales-mdw-01-2026.js","sourceRoot":"","sources":["../../src/circulars/wales-mdw-01-2026.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAiCH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,0BAA0B;IACpC,MAAM,EAAE,OAAO;IACf,aAAa,EAAE,YAAY;IAE3B,qDAAqD;IACrD,2DAA2D;IAC3D,UAAU,EAAE;QACV,EAAC,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC,EAAG,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAC;QACtE,EAAC,SAAS,EAAE,GAAG,EAAI,aAAa,EAAE,CAAC,EAAG,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAC;QACtE,EAAC,SAAS,EAAE,GAAG,EAAI,aAAa,EAAE,CAAC,EAAG,MAAM,EA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I,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAC;QACtC,EAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAC;KAClB;IAEtB,mEAAmE;IACnE,iBAAiB;IACjB,wBAAwB,EAAE,IAAI;IAC9B,iCAAiC,EAAE,IAAI;IAEvC,6BAA6B;IAC7B,yEAAyE;IACzE,4DAA4D;IAC5D,oEAAoE;IACpE,uEAAuE;IACvE,6CAA6C;IAC7C,qEAAqE;IACrE,qBAAqB;IACrB,iEAAiE;IACjE,gEAAgE;IAChE,wDAAwD;CAChD,CAAC"}
|
package/dist/dates.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Calendar-date arithmetic. Package-private: consumed by
|
|
3
|
+
* pension-projection, deliberately not exported from the package
|
|
4
|
+
* root — consumers get scenario-level APIs, not date plumbing.
|
|
5
|
+
*
|
|
6
|
+
* Two distinct period policies live here ON PURPOSE — do not
|
|
7
|
+
* unify them:
|
|
8
|
+
* - periodInYearsMonths: complete calendar months on the
|
|
9
|
+
* day-clamped anniversary convention (the UK
|
|
10
|
+
* corresponding-date rule, Dodds v Walker [1981]) — what GAD
|
|
11
|
+
* factor lookups require.
|
|
12
|
+
* - yearsBetween: fractional 365.25-day years — what continuous
|
|
13
|
+
* compounding (revaluation, CPI deflation) requires.
|
|
14
|
+
* Feeding one into the other's consumer corrupts results.
|
|
15
|
+
*
|
|
16
|
+
* The platform has no period/duration type; Temporal
|
|
17
|
+
* (PlainDate.until) is the coming standard and is used as a
|
|
18
|
+
* dev-only test oracle (tests/period-oracle.test.ts). Migrate to
|
|
19
|
+
* it when Node ships Temporal unflagged.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Calculate the period between two dates in complete years and
|
|
23
|
+
* months plus remaining days, on the anniversary convention: a
|
|
24
|
+
* month completes on the day-clamped monthly anniversary of
|
|
25
|
+
* `from` (so 31 Jan → 28 Feb is one complete month). Requires
|
|
26
|
+
* `from <= to`; the postcondition invariant guards the contract
|
|
27
|
+
* a calendar period must satisfy — a naive month-diff-and-borrow
|
|
28
|
+
* here once produced negative days for month-end dates, which
|
|
29
|
+
* silently defeated the ERF round-up downstream.
|
|
30
|
+
*/
|
|
31
|
+
export declare function periodInYearsMonths(from: Date, to: Date): {
|
|
32
|
+
years: number;
|
|
33
|
+
months: number;
|
|
34
|
+
days: number;
|
|
35
|
+
};
|
|
36
|
+
/** Fractional years between two dates, in 365.25-day years —
|
|
37
|
+
* for compounding, never for factor-table lookups (see the
|
|
38
|
+
* module header). */
|
|
39
|
+
export declare function yearsBetween(from: Date, to: Date): number;
|
|
40
|
+
/**
|
|
41
|
+
* NPA date = date of birth + NPA years. A 29 Feb birth date in
|
|
42
|
+
* a non-leap target year rolls over to 1 Mar via the Date
|
|
43
|
+
* constructor — DELIBERATE: that is the E&W age-attainment
|
|
44
|
+
* convention (a person born 29 Feb attains an age on 1 Mar in a
|
|
45
|
+
* common year), so do not "fix" this with day-clamping, which
|
|
46
|
+
* would move NPA a day earlier to 28 Feb.
|
|
47
|
+
*/
|
|
48
|
+
export declare function npaDate(dateOfBirth: Date, npa: number): Date;
|
package/dist/dates.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Calendar-date arithmetic. Package-private: consumed by
|
|
3
|
+
* pension-projection, deliberately not exported from the package
|
|
4
|
+
* root — consumers get scenario-level APIs, not date plumbing.
|
|
5
|
+
*
|
|
6
|
+
* Two distinct period policies live here ON PURPOSE — do not
|
|
7
|
+
* unify them:
|
|
8
|
+
* - periodInYearsMonths: complete calendar months on the
|
|
9
|
+
* day-clamped anniversary convention (the UK
|
|
10
|
+
* corresponding-date rule, Dodds v Walker [1981]) — what GAD
|
|
11
|
+
* factor lookups require.
|
|
12
|
+
* - yearsBetween: fractional 365.25-day years — what continuous
|
|
13
|
+
* compounding (revaluation, CPI deflation) requires.
|
|
14
|
+
* Feeding one into the other's consumer corrupts results.
|
|
15
|
+
*
|
|
16
|
+
* The platform has no period/duration type; Temporal
|
|
17
|
+
* (PlainDate.until) is the coming standard and is used as a
|
|
18
|
+
* dev-only test oracle (tests/period-oracle.test.ts). Migrate to
|
|
19
|
+
* it when Node ships Temporal unflagged.
|
|
20
|
+
*/
|
|
21
|
+
import { invariant } from './errors.js';
|
|
22
|
+
const MS_PER_DAY = 24 * 60 * 60 * 1000;
|
|
23
|
+
const MS_PER_YEAR = 365.25 * MS_PER_DAY;
|
|
24
|
+
/** `date` plus `n` months, day-of-month clamped to the target
|
|
25
|
+
* month's length (31 Jan + 1mo = 28 Feb). */
|
|
26
|
+
function addMonthsClamped(date, n) {
|
|
27
|
+
const lastDay = new Date(date.getFullYear(), date.getMonth() + n + 1, 0).getDate();
|
|
28
|
+
return new Date(date.getFullYear(), date.getMonth() + n, Math.min(date.getDate(), lastDay));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Calculate the period between two dates in complete years and
|
|
32
|
+
* months plus remaining days, on the anniversary convention: a
|
|
33
|
+
* month completes on the day-clamped monthly anniversary of
|
|
34
|
+
* `from` (so 31 Jan → 28 Feb is one complete month). Requires
|
|
35
|
+
* `from <= to`; the postcondition invariant guards the contract
|
|
36
|
+
* a calendar period must satisfy — a naive month-diff-and-borrow
|
|
37
|
+
* here once produced negative days for month-end dates, which
|
|
38
|
+
* silently defeated the ERF round-up downstream.
|
|
39
|
+
*/
|
|
40
|
+
export function periodInYearsMonths(from, to) {
|
|
41
|
+
let totalMonths = (to.getFullYear() - from.getFullYear()) * 12
|
|
42
|
+
+ (to.getMonth() - from.getMonth());
|
|
43
|
+
if (addMonthsClamped(from, totalMonths) > to) {
|
|
44
|
+
totalMonths -= 1;
|
|
45
|
+
}
|
|
46
|
+
const anniversary = addMonthsClamped(from, totalMonths);
|
|
47
|
+
// Round absorbs the ±1h a DST boundary shifts local midnight.
|
|
48
|
+
const days = Math.round((to.getTime() - anniversary.getTime()) / MS_PER_DAY);
|
|
49
|
+
const years = Math.floor(totalMonths / 12);
|
|
50
|
+
const months = totalMonths % 12;
|
|
51
|
+
invariant(years >= 0 && months >= 0 && months < 12
|
|
52
|
+
&& days >= 0 && days <= 31, `periodInYearsMonths produced an invalid period `
|
|
53
|
+
+ `${years}yr ${months}mo ${days}d for `
|
|
54
|
+
+ `${from.toISOString()} → ${to.toISOString()}`);
|
|
55
|
+
return { years, months, days };
|
|
56
|
+
}
|
|
57
|
+
/** Fractional years between two dates, in 365.25-day years —
|
|
58
|
+
* for compounding, never for factor-table lookups (see the
|
|
59
|
+
* module header). */
|
|
60
|
+
export function yearsBetween(from, to) {
|
|
61
|
+
return (to.getTime() - from.getTime()) / MS_PER_YEAR;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* NPA date = date of birth + NPA years. A 29 Feb birth date in
|
|
65
|
+
* a non-leap target year rolls over to 1 Mar via the Date
|
|
66
|
+
* constructor — DELIBERATE: that is the E&W age-attainment
|
|
67
|
+
* convention (a person born 29 Feb attains an age on 1 Mar in a
|
|
68
|
+
* common year), so do not "fix" this with day-clamping, which
|
|
69
|
+
* would move NPA a day earlier to 28 Feb.
|
|
70
|
+
*/
|
|
71
|
+
export function npaDate(dateOfBirth, npa) {
|
|
72
|
+
return new Date(dateOfBirth.getFullYear() + npa, dateOfBirth.getMonth(), dateOfBirth.getDate());
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=dates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dates.js","sourceRoot":"","sources":["../src/dates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,MAAM,UAAU,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACvC,MAAM,WAAW,GAAG,MAAM,GAAG,UAAU,CAA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AAI,CAAC,IAAI,IAAI,IAAI,EAAE,EAC5B,iDAAiD;UAC7C,GAAG,KAAK,MAAM,MAAM,MAAM,IAAI,QAAQ;UACtC,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,EAAE,CAClD,CAAC;IACF,OAAO,EAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAC,CAAC;AAC/B,CAAC;AAED;;qBAEqB;AACrB,MAAM,UAAU,YAAY,CAAC,IAAU,EAAE,EAAQ;IAC/C,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC,GAAG,WAAW,CAAC;AACvD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,OAAO,CACrB,WAAiB,EACjB,GAAW;IAEX,OAAO,IAAI,IAAI,CACb,WAAW,CAAC,WAAW,EAAE,GAAG,GAAG,EAC/B,WAAW,CAAC,QAAQ,EAAE,EACtB,WAAW,CAAC,OAAO,EAAE,CACtB,CAAC;AACJ,CAAC"}
|
package/dist/dental-scales.js
CHANGED
|
@@ -15,7 +15,9 @@ import { NATION_KEYS, TAX_YEARS } from '@casomoltd/paye-calc';
|
|
|
15
15
|
import { byCode, byStage, bySpine, numbered, resolveGradeMetas, scaleSalaries, stepped, } from './scale-tables.js';
|
|
16
16
|
import { ENGLAND_MD_1_2026R as ENG } from './circulars/england-md-1-2026r.js';
|
|
17
17
|
import { SCOTLAND_PCS_DD_2026_01 as SCO } from './circulars/scotland-pcs-dd-2026-01.js';
|
|
18
|
+
import { SCOTLAND_PCS_DD_2025_01 as SCO25 } from './circulars/scotland-pcs-dd-2025-01.js';
|
|
18
19
|
import { WALES_MDW_01_2025 as WAL } from './circulars/wales-mdw-01-2025.js';
|
|
20
|
+
import { WALES_MDW_01_2026 as WAL26 } from './circulars/wales-mdw-01-2026.js';
|
|
19
21
|
import { NI_HSC_TC8_05_2025 as NI } from './circulars/ni-hsc-tc8-05-2025.js';
|
|
20
22
|
/** Salaried-dental grade identifiers wired into the domain. */
|
|
21
23
|
export const DENTAL_GRADES = {
|
|
@@ -80,14 +82,30 @@ const northernIreland = {
|
|
|
80
82
|
'specialist-community-dentist': numbered(scaleSalaries(NI.communityDentalService, (g) => g.code === 'M434', 'NI M434')),
|
|
81
83
|
'community-dental-clinical-director': numbered(scaleSalaries(NI.communityDentalService, (g) => g.code === 'M435', 'NI M435')),
|
|
82
84
|
};
|
|
85
|
+
// Wales 2026/27 — salaried dental spine + dental core training, uplifted.
|
|
86
|
+
const wales2026 = {
|
|
87
|
+
'salaried-dental': bySpine(WAL26.salariedDentalSpine),
|
|
88
|
+
'dental-core-training': stepped(scaleSalaries(WAL26.trainingGrades, (g) => g.code === 'MN21', 'Wal26 MN21')),
|
|
89
|
+
};
|
|
90
|
+
// Scotland 2025/26 — the complete Public Dental Service spine (Annex G) and
|
|
91
|
+
// dental core training (addendum). The 2026/27 `scotland` above has only
|
|
92
|
+
// dental core training, so a salaried-dental query resolves to 2025/26.
|
|
93
|
+
const scotland2025 = {
|
|
94
|
+
'salaried-dental': bySpine(SCO25.salariedDentalSpine),
|
|
95
|
+
'dental-core-training': [
|
|
96
|
+
{ label: SCO25.dentalCoreTraining.stage, salary: SCO25.dentalCoreTraining.salary },
|
|
97
|
+
],
|
|
98
|
+
};
|
|
83
99
|
const DENTAL_SCALES = {
|
|
84
100
|
[TAX_YEARS.Y2026_27]: {
|
|
85
101
|
[NATION_KEYS.england]: england,
|
|
86
102
|
[NATION_KEYS.scotland]: scotland,
|
|
103
|
+
[NATION_KEYS.wales]: wales2026,
|
|
87
104
|
},
|
|
88
105
|
[TAX_YEARS.Y2025_26]: {
|
|
89
106
|
[NATION_KEYS.wales]: wales,
|
|
90
107
|
[NATION_KEYS.northernIreland]: northernIreland,
|
|
108
|
+
[NATION_KEYS.scotland]: scotland2025,
|
|
91
109
|
},
|
|
92
110
|
};
|
|
93
111
|
/** Tax years this family publishes, newest first (derived from data). */
|
|
@@ -1 +1 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47
|
constructor(year: TaxYear, nation: Nation);
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Thrown when a retirement period falls outside the printed GAD
|
|
51
|
+
* factor table — e.g. more than 13y0m early under the 30 Jun 2023
|
|
52
|
+
* ERF1. Sibling of {@link ScaleUnavailable}: the factor genuinely
|
|
53
|
+
* isn't published for that period, so callers with free date
|
|
54
|
+
* inputs catch it by type rather than matching message text.
|
|
55
|
+
*/
|
|
56
|
+
export declare class RetirementFactorOutOfRange extends Error {
|
|
57
|
+
/** Table name in the governing guidance, e.g. 'ERF1' */
|
|
58
|
+
readonly guidanceRef: string;
|
|
59
|
+
readonly years: number;
|
|
60
|
+
readonly months: number;
|
|
61
|
+
readonly maxYears: number;
|
|
62
|
+
readonly maxMonths: number;
|
|
63
|
+
constructor(
|
|
64
|
+
/** Table name in the governing guidance, e.g. 'ERF1' */
|
|
65
|
+
guidanceRef: string, years: number, months: number, maxYears: number, maxMonths: number);
|
|
66
|
+
}
|
|
49
67
|
/**
|
|
50
68
|
* Thrown when no AfC pay award (consolidated % uplift) is recorded
|
|
51
69
|
* for a (nation, year). Sibling of {@link ScaleUnavailable} — the
|