@casomoltd/nhs-pay 0.4.15 → 0.6.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 +134 -3
- package/dist/award.d.ts +32 -0
- package/dist/award.js +59 -0
- package/dist/award.js.map +1 -0
- package/dist/bands.d.ts +14 -24
- package/dist/bands.js +18 -138
- package/dist/bands.js.map +1 -1
- package/dist/circulars/england-md-1-2026r.d.ts +257 -0
- package/dist/circulars/england-md-1-2026r.js +302 -0
- package/dist/circulars/england-md-1-2026r.js.map +1 -0
- package/dist/circulars/ni-hsc-tc8-05-2025.d.ts +166 -0
- package/dist/circulars/ni-hsc-tc8-05-2025.js +249 -0
- package/dist/circulars/ni-hsc-tc8-05-2025.js.map +1 -0
- package/dist/circulars/scotland-pcs-dd-2026-01.d.ts +34 -0
- package/dist/circulars/scotland-pcs-dd-2026-01.js +96 -0
- package/dist/circulars/scotland-pcs-dd-2026-01.js.map +1 -0
- package/dist/circulars/wales-mdw-01-2025.d.ts +130 -0
- package/dist/circulars/wales-mdw-01-2025.js +221 -0
- package/dist/circulars/wales-mdw-01-2025.js.map +1 -0
- package/dist/dental-scales.d.ts +44 -0
- package/dist/dental-scales.js +103 -0
- package/dist/dental-scales.js.map +1 -0
- package/dist/errors.d.ts +44 -0
- package/dist/errors.js +71 -0
- package/dist/errors.js.map +1 -0
- package/dist/format.d.ts +1 -2
- package/dist/format.js +1 -2
- package/dist/format.js.map +1 -1
- package/dist/hcas-pcts.js +1 -1
- package/dist/hcas-pcts.js.map +1 -1
- package/dist/hcas.d.ts +17 -7
- package/dist/hcas.js +23 -10
- package/dist/hcas.js.map +1 -1
- package/dist/index.d.ts +16 -4
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/medical-scales.d.ts +64 -0
- package/dist/medical-scales.js +148 -0
- package/dist/medical-scales.js.map +1 -0
- package/dist/pension.d.ts +43 -14
- package/dist/pension.js +138 -30
- package/dist/pension.js.map +1 -1
- package/dist/post.d.ts +50 -0
- package/dist/post.js +65 -0
- package/dist/post.js.map +1 -0
- package/dist/regions.d.ts +0 -5
- package/dist/regions.js +0 -19
- package/dist/regions.js.map +1 -1
- package/dist/resolver.d.ts +56 -0
- package/dist/resolver.js +116 -0
- package/dist/resolver.js.map +1 -0
- package/dist/role.d.ts +51 -0
- package/dist/role.js +13 -0
- package/dist/role.js.map +1 -0
- package/dist/scale-tables.d.ts +63 -0
- package/dist/scale-tables.js +87 -0
- package/dist/scale-tables.js.map +1 -0
- package/dist/scales.d.ts +13 -9
- package/dist/scales.js +100 -72
- package/dist/scales.js.map +1 -1
- package/dist/values.d.ts +19 -0
- package/dist/values.js +13 -0
- package/dist/values.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verbatim transcription of NHS Wales Pay Circular M&D(W) 01/2025 —
|
|
3
|
+
* "Terms and Conditions of Service of Hospital and Public Health
|
|
4
|
+
* Medical and Dental Staff and Community Doctors (Wales)". Effective
|
|
5
|
+
* 1 April 2025 (Wales's 2026/27 M&D circular is not yet published, so
|
|
6
|
+
* this is its latest cited year).
|
|
7
|
+
*
|
|
8
|
+
* Mirrors Annex A section by section. Scope: (a) every basic-pay
|
|
9
|
+
* salary scale incl. closed grades; (b) earnings supplements as annual
|
|
10
|
+
* £ (DPH supplement, Clinical Excellence/Impact awards, intensity
|
|
11
|
+
* supplements, waiting-list initiative, dental training supplement).
|
|
12
|
+
* Every other table is recorded with a reason.
|
|
13
|
+
*
|
|
14
|
+
* Public source: NHS Wales — Pay & Conditions, M&D(W) 01/2025,
|
|
15
|
+
* https://www.nhs.wales/hpb/nhs-pay-and-conditions/
|
|
16
|
+
*/
|
|
17
|
+
export declare const WALES_MDW_01_2025: {
|
|
18
|
+
readonly circular: "NHS Wales M&D(W) 01/2025";
|
|
19
|
+
readonly nation: "wales";
|
|
20
|
+
readonly effectiveFrom: "2025-04-01";
|
|
21
|
+
readonly consultant: {
|
|
22
|
+
threshold: string;
|
|
23
|
+
yearCompleted: number;
|
|
24
|
+
salary: number;
|
|
25
|
+
code: string;
|
|
26
|
+
}[];
|
|
27
|
+
readonly trainingGrades: {
|
|
28
|
+
grade: string;
|
|
29
|
+
code: string;
|
|
30
|
+
salaries: number[];
|
|
31
|
+
}[];
|
|
32
|
+
readonly closedGrades: {
|
|
33
|
+
grade: string;
|
|
34
|
+
code: string;
|
|
35
|
+
salaries: number[];
|
|
36
|
+
}[];
|
|
37
|
+
readonly specialtyDoctor2008: {
|
|
38
|
+
code: string;
|
|
39
|
+
salary: number;
|
|
40
|
+
}[];
|
|
41
|
+
readonly associateSpecialist2008: {
|
|
42
|
+
code: string;
|
|
43
|
+
salary: number;
|
|
44
|
+
}[];
|
|
45
|
+
readonly specialtyDoctor: {
|
|
46
|
+
code: string;
|
|
47
|
+
salary: number;
|
|
48
|
+
}[];
|
|
49
|
+
readonly specialist: {
|
|
50
|
+
code: string;
|
|
51
|
+
salary: number;
|
|
52
|
+
}[];
|
|
53
|
+
readonly dphSupplement: readonly [{
|
|
54
|
+
readonly band: "A";
|
|
55
|
+
readonly min: 19644;
|
|
56
|
+
readonly max: 28513;
|
|
57
|
+
readonly exceptional: 0;
|
|
58
|
+
}, {
|
|
59
|
+
readonly band: "B";
|
|
60
|
+
readonly min: 7610;
|
|
61
|
+
readonly max: 15229;
|
|
62
|
+
readonly exceptional: 19644;
|
|
63
|
+
}, {
|
|
64
|
+
readonly band: "C";
|
|
65
|
+
readonly min: 6364;
|
|
66
|
+
readonly max: 12675;
|
|
67
|
+
readonly exceptional: 15229;
|
|
68
|
+
}, {
|
|
69
|
+
readonly band: "D";
|
|
70
|
+
readonly min: 5076;
|
|
71
|
+
readonly max: 10142;
|
|
72
|
+
readonly exceptional: 12675;
|
|
73
|
+
}];
|
|
74
|
+
readonly clinicalExcellenceAwards: readonly [{
|
|
75
|
+
readonly level: "Level 9 (Bronze)";
|
|
76
|
+
readonly salary: 36924;
|
|
77
|
+
}, {
|
|
78
|
+
readonly level: "Level 10 (Silver)";
|
|
79
|
+
readonly salary: 48533;
|
|
80
|
+
}, {
|
|
81
|
+
readonly level: "Level 11 (Gold)";
|
|
82
|
+
readonly salary: 60666;
|
|
83
|
+
}, {
|
|
84
|
+
readonly level: "Level 12 (Platinum)";
|
|
85
|
+
readonly salary: 78866;
|
|
86
|
+
}];
|
|
87
|
+
readonly clinicalImpactAwards: readonly [{
|
|
88
|
+
readonly level: "N0";
|
|
89
|
+
readonly salary: 10500;
|
|
90
|
+
}, {
|
|
91
|
+
readonly level: "N1";
|
|
92
|
+
readonly salary: 21000;
|
|
93
|
+
}, {
|
|
94
|
+
readonly level: "N2";
|
|
95
|
+
readonly salary: 31500;
|
|
96
|
+
}, {
|
|
97
|
+
readonly level: "N3";
|
|
98
|
+
readonly salary: 42000;
|
|
99
|
+
}];
|
|
100
|
+
readonly intensitySupplements: readonly [{
|
|
101
|
+
readonly band: "Band 1 (low)";
|
|
102
|
+
readonly salary: 3191;
|
|
103
|
+
}, {
|
|
104
|
+
readonly band: "Band 2 (medium)";
|
|
105
|
+
readonly salary: 6376;
|
|
106
|
+
}, {
|
|
107
|
+
readonly band: "Band 3 (high)";
|
|
108
|
+
readonly salary: 9560;
|
|
109
|
+
}];
|
|
110
|
+
readonly waitingListInitiative: 792;
|
|
111
|
+
readonly salariedGp: {
|
|
112
|
+
readonly code: "KP22";
|
|
113
|
+
readonly salaries: readonly [79123, 82806, 86669, 90719, 94952, 99395, 104048, 108925, 114030, 119394];
|
|
114
|
+
};
|
|
115
|
+
readonly salariedDentalSpine: ({
|
|
116
|
+
band: "A";
|
|
117
|
+
point: number;
|
|
118
|
+
salary: number;
|
|
119
|
+
} | {
|
|
120
|
+
band: "B";
|
|
121
|
+
point: number;
|
|
122
|
+
salary: number;
|
|
123
|
+
} | {
|
|
124
|
+
band: "C";
|
|
125
|
+
point: number;
|
|
126
|
+
salary: number;
|
|
127
|
+
})[];
|
|
128
|
+
readonly dentalTrainingSupplement: 2732;
|
|
129
|
+
readonly dentalIndicativeTrainingAllowance: 1072;
|
|
130
|
+
};
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verbatim transcription of NHS Wales Pay Circular M&D(W) 01/2025 —
|
|
3
|
+
* "Terms and Conditions of Service of Hospital and Public Health
|
|
4
|
+
* Medical and Dental Staff and Community Doctors (Wales)". Effective
|
|
5
|
+
* 1 April 2025 (Wales's 2026/27 M&D circular is not yet published, so
|
|
6
|
+
* this is its latest cited year).
|
|
7
|
+
*
|
|
8
|
+
* Mirrors Annex A section by section. Scope: (a) every basic-pay
|
|
9
|
+
* salary scale incl. closed grades; (b) earnings supplements as annual
|
|
10
|
+
* £ (DPH supplement, Clinical Excellence/Impact awards, intensity
|
|
11
|
+
* supplements, waiting-list initiative, dental training supplement).
|
|
12
|
+
* Every other table is recorded with a reason.
|
|
13
|
+
*
|
|
14
|
+
* Public source: NHS Wales — Pay & Conditions, M&D(W) 01/2025,
|
|
15
|
+
* https://www.nhs.wales/hpb/nhs-pay-and-conditions/
|
|
16
|
+
*/
|
|
17
|
+
export const WALES_MDW_01_2025 = {
|
|
18
|
+
circular: 'NHS Wales M&D(W) 01/2025',
|
|
19
|
+
nation: 'wales',
|
|
20
|
+
effectiveFrom: '2025-04-01',
|
|
21
|
+
// ══ Annex A §1a — Consultant basic salary (p3) ══
|
|
22
|
+
// Payroll codes ZM81/ZK81/ZL81/ZC81-NN; ZM81 quoted below.
|
|
23
|
+
consultant: [
|
|
24
|
+
{ threshold: 'Min', yearCompleted: 0, salary: 110240, code: 'ZM81-01' },
|
|
25
|
+
{ threshold: '1', yearCompleted: 1, salary: 115752, code: 'ZM81-02' },
|
|
26
|
+
{ threshold: '2', yearCompleted: 2, salary: 121264, code: 'ZM81-03' },
|
|
27
|
+
{ threshold: '3', yearCompleted: 3, salary: 126776, code: 'ZM81-04' },
|
|
28
|
+
{ threshold: '4', yearCompleted: 4, salary: 135596, code: 'ZM81-05' },
|
|
29
|
+
{ threshold: '4', yearCompleted: 5, salary: 135596, code: 'ZM81-06' },
|
|
30
|
+
{ threshold: '4', yearCompleted: 6, salary: 135596, code: 'ZM81-07' },
|
|
31
|
+
{ threshold: '4', yearCompleted: 7, salary: 135596, code: 'ZM81-08' },
|
|
32
|
+
{ threshold: '4', yearCompleted: 8, salary: 135596, code: 'ZM81-09' },
|
|
33
|
+
{ threshold: '5', yearCompleted: 9, salary: 143312, code: 'ZM81-10' },
|
|
34
|
+
{ threshold: '5', yearCompleted: 10, salary: 143312, code: 'ZM81-11' },
|
|
35
|
+
{ threshold: '5', yearCompleted: 11, salary: 143312, code: 'ZM81-12' },
|
|
36
|
+
{ threshold: '5', yearCompleted: 12, salary: 143312, code: 'ZM81-13' },
|
|
37
|
+
{ threshold: '5', yearCompleted: 13, salary: 143312, code: 'ZM81-14' },
|
|
38
|
+
{ threshold: '5', yearCompleted: 14, salary: 143312, code: 'ZM81-15' },
|
|
39
|
+
{ threshold: '5', yearCompleted: 15, salary: 143312, code: 'ZM81-16' },
|
|
40
|
+
{ threshold: '6', yearCompleted: 16, salary: 152132, code: 'ZM81-17' },
|
|
41
|
+
{ threshold: '6', yearCompleted: 17, salary: 152132, code: 'ZM81-18' },
|
|
42
|
+
{ threshold: '6', yearCompleted: 18, salary: 152132, code: 'ZM81-19' },
|
|
43
|
+
{ threshold: '6', yearCompleted: 19, salary: 152132, code: 'ZM81-20' },
|
|
44
|
+
{ threshold: '6', yearCompleted: 20, salary: 152132, code: 'ZM81-21' },
|
|
45
|
+
{ threshold: '6', yearCompleted: 21, salary: 152132, code: 'ZM81-22' },
|
|
46
|
+
{ threshold: '6', yearCompleted: 22, salary: 152132, code: 'ZM81-23' },
|
|
47
|
+
{ threshold: '7', yearCompleted: 23, salary: 160951, code: 'ZM81-24' },
|
|
48
|
+
],
|
|
49
|
+
// ══ Annex A §1b — Training grades (p5) ══
|
|
50
|
+
// Salaries left→right: Min, 01…Nth incremental point.
|
|
51
|
+
trainingGrades: [
|
|
52
|
+
{
|
|
53
|
+
grade: 'Specialty Registrar (Full)', code: 'MN37',
|
|
54
|
+
salaries: [
|
|
55
|
+
46324, 49046, 52853, 55157, 57929,
|
|
56
|
+
60706, 63482, 66259, 69034, 71814,
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
grade: 'Specialty Registrar (Core Training)', code: 'MN39',
|
|
61
|
+
salaries: [46324, 49046, 52853, 55157, 57929, 60706],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
grade: 'Specialty Registrar (Fixed Term)', code: 'MN35',
|
|
65
|
+
salaries: [46324, 49046, 52853, 55157, 57929, 60706],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
grade: 'Dental Core Training', code: 'MN21',
|
|
69
|
+
salaries: [43670, 46441, 49148, 51887, 54625, 57364, 60102],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
grade: 'Foundation House Officer 2', code: 'MN15',
|
|
73
|
+
salaries: [43466, 46192, 48915],
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
grade: 'Foundation House Officer 1', code: 'MN13',
|
|
77
|
+
salaries: [35390, 37487, 39587],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
// ══ Annex A §1c — Closed pay scales (p6) ══
|
|
81
|
+
closedGrades: [
|
|
82
|
+
{
|
|
83
|
+
grade: 'Associate Specialist', code: 'MC01',
|
|
84
|
+
salaries: [
|
|
85
|
+
57339, 63414, 69483, 75559, 81629, 87703, 95720,
|
|
86
|
+
102670, 105555, 109317, 113079, 116842, 120606, 124374,
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
grade: 'Staff Grade Practitioner', code: 'MH01',
|
|
91
|
+
salaries: [51876, 55993, 60110, 64226, 68345, 72459, 76579, 80695],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
grade: 'Staff Grade Practitioner', code: 'MH03/05',
|
|
95
|
+
salaries: [
|
|
96
|
+
51876, 55993, 60110, 64226, 68345, 72459,
|
|
97
|
+
76579, 80695, 84814, 88931, 93046, 97165,
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
grade: 'Specialty Registrar (closed)', code: 'MN25',
|
|
102
|
+
salaries: [
|
|
103
|
+
47502, 49803, 52853, 55157, 57929,
|
|
104
|
+
60706, 63482, 66259, 69034, 71814,
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
// Hospital Practitioners / Session — sessional / notional half-day.
|
|
108
|
+
{
|
|
109
|
+
grade: 'Hospital Practitioners / Session', code: 'MD01-41',
|
|
110
|
+
salaries: [6760, 7154, 7548, 7938, 8330, 8720, 9110],
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
// ══ Annex A §2a — Specialty Doctor & Associate Specialist 2008 (closed, p6) ══
|
|
114
|
+
specialtyDoctor2008: [
|
|
115
|
+
{ code: 'MC46-01', salary: 52306 }, { code: 'MC46-02', salary: 56777 },
|
|
116
|
+
{ code: 'MC46-03', salary: 62593 }, { code: 'MC46-04', salary: 65708 },
|
|
117
|
+
{ code: 'MC46-05', salary: 70195 }, { code: 'MC46-06', salary: 74668 },
|
|
118
|
+
{ code: 'MC46-07', salary: 74668 }, { code: 'MC46-08', salary: 79239 },
|
|
119
|
+
{ code: 'MC46-09', salary: 79239 }, { code: 'MC46-10', salary: 83814 },
|
|
120
|
+
{ code: 'MC46-11', salary: 83814 }, { code: 'MC46-12', salary: 88389 },
|
|
121
|
+
{ code: 'MC46-13', salary: 88389 }, { code: 'MC46-14', salary: 88389 },
|
|
122
|
+
{ code: 'MC46-15', salary: 92962 }, { code: 'MC46-16', salary: 92962 },
|
|
123
|
+
{ code: 'MC46-17', salary: 92962 }, { code: 'MC46-18', salary: 97536 },
|
|
124
|
+
],
|
|
125
|
+
associateSpecialist2008: [
|
|
126
|
+
{ code: 'MC41-01', salary: 76126 }, { code: 'MC41-02', salary: 82245 },
|
|
127
|
+
{ code: 'MC41-03', salary: 88362 }, { code: 'MC41-04', salary: 96440 },
|
|
128
|
+
{ code: 'MC41-05', salary: 103420 }, { code: 'MC41-06', salary: 106347 },
|
|
129
|
+
{ code: 'MC41-07', salary: 106347 }, { code: 'MC41-08', salary: 110140 },
|
|
130
|
+
{ code: 'MC41-09', salary: 110140 }, { code: 'MC41-10', salary: 113931 },
|
|
131
|
+
{ code: 'MC41-11', salary: 113931 }, { code: 'MC41-12', salary: 117721 },
|
|
132
|
+
{ code: 'MC41-13', salary: 117721 }, { code: 'MC41-14', salary: 117721 },
|
|
133
|
+
{ code: 'MC41-15', salary: 121514 }, { code: 'MC41-16', salary: 121514 },
|
|
134
|
+
{ code: 'MC41-17', salary: 121514 }, { code: 'MC41-18', salary: 125308 },
|
|
135
|
+
],
|
|
136
|
+
// ══ Annex A §2b — SAS 2021 contracts (p6) ══
|
|
137
|
+
specialtyDoctor: [
|
|
138
|
+
{ code: 'MC75-01', salary: 62117 }, { code: 'MC75-02', salary: 62117 },
|
|
139
|
+
{ code: 'MC75-03', salary: 62117 }, { code: 'MC75-04', salary: 71563 },
|
|
140
|
+
{ code: 'MC75-05', salary: 71563 }, { code: 'MC75-06', salary: 71563 },
|
|
141
|
+
{ code: 'MC75-07', salary: 79777 }, { code: 'MC75-08', salary: 79777 },
|
|
142
|
+
{ code: 'MC75-09', salary: 79777 }, { code: 'MC75-10', salary: 88302 },
|
|
143
|
+
{ code: 'MC75-11', salary: 88302 }, { code: 'MC75-12', salary: 88302 },
|
|
144
|
+
{ code: 'MC75-13', salary: 99216 }, { code: 'MC75-14', salary: 99216 },
|
|
145
|
+
{ code: 'MC75-15', salary: 99216 }, { code: 'MC75-16', salary: 99216 },
|
|
146
|
+
{ code: 'MC75-17', salary: 99216 }, { code: 'MC75-18', salary: 99216 },
|
|
147
|
+
],
|
|
148
|
+
specialist: [
|
|
149
|
+
{ code: 'MC70-01', salary: 100870 }, { code: 'MC70-02', salary: 100870 },
|
|
150
|
+
{ code: 'MC70-03', salary: 100870 }, { code: 'MC70-04', salary: 104816 },
|
|
151
|
+
{ code: 'MC70-05', salary: 104816 }, { code: 'MC70-06', salary: 104816 },
|
|
152
|
+
{ code: 'MC70-07', salary: 111442 },
|
|
153
|
+
],
|
|
154
|
+
// ══ Annex A §3 — DPH (Chief Officer) supplement — annual £ (p7) ══
|
|
155
|
+
dphSupplement: [
|
|
156
|
+
{ band: 'A', min: 19644, max: 28513, exceptional: 0 },
|
|
157
|
+
{ band: 'B', min: 7610, max: 15229, exceptional: 19644 },
|
|
158
|
+
{ band: 'C', min: 6364, max: 12675, exceptional: 15229 },
|
|
159
|
+
{ band: 'D', min: 5076, max: 10142, exceptional: 12675 },
|
|
160
|
+
],
|
|
161
|
+
// ══ Annex A §4 — Awards & supplements — annual £ (p8) ══
|
|
162
|
+
clinicalExcellenceAwards: [
|
|
163
|
+
{ level: 'Level 9 (Bronze)', salary: 36924 },
|
|
164
|
+
{ level: 'Level 10 (Silver)', salary: 48533 },
|
|
165
|
+
{ level: 'Level 11 (Gold)', salary: 60666 },
|
|
166
|
+
{ level: 'Level 12 (Platinum)', salary: 78866 },
|
|
167
|
+
],
|
|
168
|
+
clinicalImpactAwards: [
|
|
169
|
+
{ level: 'N0', salary: 10500 }, { level: 'N1', salary: 21000 },
|
|
170
|
+
{ level: 'N2', salary: 31500 }, { level: 'N3', salary: 42000 },
|
|
171
|
+
],
|
|
172
|
+
intensitySupplements: [
|
|
173
|
+
{ band: 'Band 1 (low)', salary: 3191 },
|
|
174
|
+
{ band: 'Band 2 (medium)', salary: 6376 },
|
|
175
|
+
{ band: 'Band 3 (high)', salary: 9560 },
|
|
176
|
+
],
|
|
177
|
+
waitingListInitiative: 792,
|
|
178
|
+
// ══ Annex A §5 — Salaried GP scale KP22 (p9) ══
|
|
179
|
+
salariedGp: {
|
|
180
|
+
code: 'KP22',
|
|
181
|
+
salaries: [
|
|
182
|
+
79123, 82806, 86669, 90719, 94952,
|
|
183
|
+
99395, 104048, 108925, 114030, 119394,
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
// ══ Annex A §11 — Salaried Primary Dental Care Staff (2008) (p15) ══
|
|
187
|
+
salariedDentalSpine: [
|
|
188
|
+
{ band: 'A', point: 1, salary: 52821 },
|
|
189
|
+
{ band: 'A', point: 2, salary: 58693 },
|
|
190
|
+
{ band: 'A', point: 3, salary: 67494 },
|
|
191
|
+
{ band: 'A', point: 4, salary: 71895 },
|
|
192
|
+
{ band: 'A', point: 5, salary: 76297 },
|
|
193
|
+
{ band: 'A', point: 6, salary: 79232 },
|
|
194
|
+
{ band: 'B', point: 7, salary: 82164 },
|
|
195
|
+
{ band: 'B', point: 8, salary: 85098 },
|
|
196
|
+
{ band: 'B', point: 9, salary: 89500 },
|
|
197
|
+
{ band: 'B', point: 10, salary: 91699 },
|
|
198
|
+
{ band: 'B', point: 11, salary: 93902 },
|
|
199
|
+
{ band: 'B', point: 12, salary: 96103 },
|
|
200
|
+
{ band: 'C', point: 13, salary: 98306 },
|
|
201
|
+
{ band: 'C', point: 14, salary: 101237 },
|
|
202
|
+
{ band: 'C', point: 15, salary: 104171 },
|
|
203
|
+
{ band: 'C', point: 16, salary: 107107 },
|
|
204
|
+
{ band: 'C', point: 17, salary: 110041 },
|
|
205
|
+
{ band: 'C', point: 18, salary: 112974 },
|
|
206
|
+
],
|
|
207
|
+
// ══ Annex A §12 — Dental supplements — annual £ (p16) ══
|
|
208
|
+
dentalTrainingSupplement: 2732,
|
|
209
|
+
dentalIndicativeTrainingAllowance: 1072,
|
|
210
|
+
// RECORDED, not transcribed:
|
|
211
|
+
// · §6 Emergency Rota Allowance (CMO/SCMO) (p9) — rate per half-year by
|
|
212
|
+
// number of duties; rota-frequency add-on, not base pay.
|
|
213
|
+
// · §12 Dental Foundation Trainee (DFT) salary £44,448 (£3,704/month) —
|
|
214
|
+
// set by the GDS SFE, "for information only".
|
|
215
|
+
// · §7 Other fees & allowances (p10); §8 Transport (p11); §9 Locum
|
|
216
|
+
// tenens (p12) — item/session fees, mileage, locum day rates.
|
|
217
|
+
// · §10 Family planning fees & miscellaneous (p14) — procedure fees.
|
|
218
|
+
// · Annex B Banding supplements & total salaries — rota-banding
|
|
219
|
+
// multipliers (No band … Band 3 ×2.0) of the basic scales above.
|
|
220
|
+
};
|
|
221
|
+
//# sourceMappingURL=wales-mdw-01-2025.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wales-mdw-01-2025.js","sourceRoot":"","sources":["../../src/circulars/wales-mdw-01-2025.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAuBH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,0BAA0B;IACpC,MAAM,EAAE,OAAO;IACf,aAAa,EAAE,YAAY;IAE3B,mDAAmD;IACnD,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,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,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,GA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}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Salaried-dental translation layer.
|
|
3
|
+
*
|
|
4
|
+
* Imports the verbatim circular files and maps their dental pay tables
|
|
5
|
+
* into the canonical `getDentalScales(year, nation)` view the resolver
|
|
6
|
+
* reads. Inclusive by default: the England/Wales A/B/C spine, NI's four
|
|
7
|
+
* salaried-dentist bands AND the five Community Dental Service grades,
|
|
8
|
+
* dentists in core & specialty training, and dental educators are all
|
|
9
|
+
* wired. Self-employed GDS/UDA dentists remain out of scope (income is
|
|
10
|
+
* contract-driven, not a salary scale).
|
|
11
|
+
*
|
|
12
|
+
* One canonical point per source row; no pay step collapsed.
|
|
13
|
+
*/
|
|
14
|
+
import type { Nation, TaxYear } from '@casomoltd/paye-calc';
|
|
15
|
+
import type { GradeMeta } from './scale-tables.js';
|
|
16
|
+
/** Salaried-dental grade identifiers wired into the domain. */
|
|
17
|
+
export declare const DENTAL_GRADES: {
|
|
18
|
+
readonly salariedDental: "salaried-dental";
|
|
19
|
+
readonly dentalCoreTraining: "dental-core-training";
|
|
20
|
+
readonly dentalSpecialtyTraining: "dental-specialty-training";
|
|
21
|
+
readonly dentalEducator: "dental-educator";
|
|
22
|
+
readonly salariedDentist: "salaried-dentist";
|
|
23
|
+
readonly seniorSalariedDentist: "senior-salaried-dentist";
|
|
24
|
+
readonly assistantClinicalDirectorDentist: "assistant-clinical-director-dentist";
|
|
25
|
+
readonly clinicalDirectorDentist: "clinical-director-dentist";
|
|
26
|
+
readonly communityDentalOfficer: "community-dental-officer";
|
|
27
|
+
readonly seniorCommunityDentalOfficer: "senior-community-dental-officer";
|
|
28
|
+
readonly assistantCommunityDentalClinicalDirector: "assistant-community-dental-clinical-director";
|
|
29
|
+
readonly specialistCommunityDentist: "specialist-community-dentist";
|
|
30
|
+
readonly communityDentalClinicalDirector: "community-dental-clinical-director";
|
|
31
|
+
};
|
|
32
|
+
export type DentalGradeId = (typeof DENTAL_GRADES)[keyof typeof DENTAL_GRADES];
|
|
33
|
+
/** Ordered grade IDs — stable iteration/enumeration. */
|
|
34
|
+
export declare const DENTAL_GRADE_IDS: DentalGradeId[];
|
|
35
|
+
/** A dental grade's scale points in a nation/year, with its range. */
|
|
36
|
+
export type DentalGradeMeta = GradeMeta<DentalGradeId>;
|
|
37
|
+
/** Tax years this family publishes, newest first (derived from data). */
|
|
38
|
+
export declare const DENTAL_TAX_YEARS: readonly TaxYear[];
|
|
39
|
+
/**
|
|
40
|
+
* Published salaried dental grades for a nation and tax year, each with
|
|
41
|
+
* its scale points and salary range. Both args required; an absent
|
|
42
|
+
* combination throws `ScaleUnavailable`.
|
|
43
|
+
*/
|
|
44
|
+
export declare function getDentalScales(year: TaxYear, nation: Nation): DentalGradeMeta[];
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Salaried-dental translation layer.
|
|
3
|
+
*
|
|
4
|
+
* Imports the verbatim circular files and maps their dental pay tables
|
|
5
|
+
* into the canonical `getDentalScales(year, nation)` view the resolver
|
|
6
|
+
* reads. Inclusive by default: the England/Wales A/B/C spine, NI's four
|
|
7
|
+
* salaried-dentist bands AND the five Community Dental Service grades,
|
|
8
|
+
* dentists in core & specialty training, and dental educators are all
|
|
9
|
+
* wired. Self-employed GDS/UDA dentists remain out of scope (income is
|
|
10
|
+
* contract-driven, not a salary scale).
|
|
11
|
+
*
|
|
12
|
+
* One canonical point per source row; no pay step collapsed.
|
|
13
|
+
*/
|
|
14
|
+
import { NATION_KEYS, TAX_YEARS } from '@casomoltd/paye-calc';
|
|
15
|
+
import { byCode, byStage, bySpine, numbered, resolveGradeMetas, scaleSalaries, stepped, } from './scale-tables.js';
|
|
16
|
+
import { ENGLAND_MD_1_2026R as ENG } from './circulars/england-md-1-2026r.js';
|
|
17
|
+
import { SCOTLAND_PCS_DD_2026_01 as SCO } from './circulars/scotland-pcs-dd-2026-01.js';
|
|
18
|
+
import { WALES_MDW_01_2025 as WAL } from './circulars/wales-mdw-01-2025.js';
|
|
19
|
+
import { NI_HSC_TC8_05_2025 as NI } from './circulars/ni-hsc-tc8-05-2025.js';
|
|
20
|
+
/** Salaried-dental grade identifiers wired into the domain. */
|
|
21
|
+
export const DENTAL_GRADES = {
|
|
22
|
+
salariedDental: 'salaried-dental',
|
|
23
|
+
dentalCoreTraining: 'dental-core-training',
|
|
24
|
+
dentalSpecialtyTraining: 'dental-specialty-training',
|
|
25
|
+
dentalEducator: 'dental-educator',
|
|
26
|
+
salariedDentist: 'salaried-dentist',
|
|
27
|
+
seniorSalariedDentist: 'senior-salaried-dentist',
|
|
28
|
+
assistantClinicalDirectorDentist: 'assistant-clinical-director-dentist',
|
|
29
|
+
clinicalDirectorDentist: 'clinical-director-dentist',
|
|
30
|
+
communityDentalOfficer: 'community-dental-officer',
|
|
31
|
+
seniorCommunityDentalOfficer: 'senior-community-dental-officer',
|
|
32
|
+
assistantCommunityDentalClinicalDirector: 'assistant-community-dental-clinical-director',
|
|
33
|
+
specialistCommunityDentist: 'specialist-community-dentist',
|
|
34
|
+
communityDentalClinicalDirector: 'community-dental-clinical-director',
|
|
35
|
+
};
|
|
36
|
+
/** Ordered grade IDs — stable iteration/enumeration. */
|
|
37
|
+
export const DENTAL_GRADE_IDS = Object.values(DENTAL_GRADES);
|
|
38
|
+
// England §1 dentists in training: CT1-3 = core, ST1-8 = specialty.
|
|
39
|
+
const engDentists = ENG.dentistsInTraining;
|
|
40
|
+
// The England spine prints the band in its pay-scale code (LD01/11/21),
|
|
41
|
+
// not a band column; map the code to the band so a relabelled boundary
|
|
42
|
+
// stays correct (matches Wales's explicit "Band X Point N" labels).
|
|
43
|
+
const LD_BAND = {
|
|
44
|
+
LD01: 'A', LD11: 'B', LD21: 'C',
|
|
45
|
+
};
|
|
46
|
+
const ldBand = (code) => {
|
|
47
|
+
const band = LD_BAND[code];
|
|
48
|
+
if (!band) {
|
|
49
|
+
throw new Error(`dental-scales: unknown spine code "${code}"`);
|
|
50
|
+
}
|
|
51
|
+
return band;
|
|
52
|
+
};
|
|
53
|
+
const england = {
|
|
54
|
+
'salaried-dental': ENG.salariedDentalSpine.map((r) => ({
|
|
55
|
+
label: `Band ${ldBand(r.code)} Point ${r.point}`,
|
|
56
|
+
salary: r.salary,
|
|
57
|
+
})),
|
|
58
|
+
'dental-core-training': byStage(engDentists.slice(0, 3)),
|
|
59
|
+
'dental-specialty-training': byStage(engDentists.slice(3)),
|
|
60
|
+
'dental-educator': byCode(ENG.dentalEducators),
|
|
61
|
+
};
|
|
62
|
+
const scotland = {
|
|
63
|
+
'dental-core-training': [
|
|
64
|
+
{ label: SCO.dentalCoreTraining.stage, salary: SCO.dentalCoreTraining.salary },
|
|
65
|
+
],
|
|
66
|
+
};
|
|
67
|
+
const wales = {
|
|
68
|
+
'salaried-dental': bySpine(WAL.salariedDentalSpine),
|
|
69
|
+
'dental-core-training': stepped(scaleSalaries(WAL.trainingGrades, (g) => g.code === 'MN21', 'Wal MN21')),
|
|
70
|
+
};
|
|
71
|
+
const northernIreland = {
|
|
72
|
+
'salaried-dentist': numbered(scaleSalaries(NI.salariedDental, (g) => g.band === 1, 'NI dental band 1')),
|
|
73
|
+
'senior-salaried-dentist': numbered(scaleSalaries(NI.salariedDental, (g) => g.band === 2, 'NI dental band 2')),
|
|
74
|
+
'assistant-clinical-director-dentist': numbered(scaleSalaries(NI.salariedDental, (g) => g.band === 3, 'NI dental band 3')),
|
|
75
|
+
'clinical-director-dentist': numbered(scaleSalaries(NI.salariedDental, (g) => g.band === 4, 'NI dental band 4')),
|
|
76
|
+
'dental-core-training': stepped(scaleSalaries(NI.residentGrades, (g) => g.code === 'M242', 'NI M242')),
|
|
77
|
+
'community-dental-officer': numbered(scaleSalaries(NI.communityDentalService, (g) => g.code === 'M431', 'NI M431')),
|
|
78
|
+
'senior-community-dental-officer': numbered(scaleSalaries(NI.communityDentalService, (g) => g.code === 'M432', 'NI M432')),
|
|
79
|
+
'assistant-community-dental-clinical-director': numbered(scaleSalaries(NI.communityDentalService, (g) => g.code === 'M433', 'NI M433')),
|
|
80
|
+
'specialist-community-dentist': numbered(scaleSalaries(NI.communityDentalService, (g) => g.code === 'M434', 'NI M434')),
|
|
81
|
+
'community-dental-clinical-director': numbered(scaleSalaries(NI.communityDentalService, (g) => g.code === 'M435', 'NI M435')),
|
|
82
|
+
};
|
|
83
|
+
const DENTAL_SCALES = {
|
|
84
|
+
[TAX_YEARS.Y2026_27]: {
|
|
85
|
+
[NATION_KEYS.england]: england,
|
|
86
|
+
[NATION_KEYS.scotland]: scotland,
|
|
87
|
+
},
|
|
88
|
+
[TAX_YEARS.Y2025_26]: {
|
|
89
|
+
[NATION_KEYS.wales]: wales,
|
|
90
|
+
[NATION_KEYS.northernIreland]: northernIreland,
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
/** Tax years this family publishes, newest first (derived from data). */
|
|
94
|
+
export const DENTAL_TAX_YEARS = Object.keys(DENTAL_SCALES).sort().reverse();
|
|
95
|
+
/**
|
|
96
|
+
* Published salaried dental grades for a nation and tax year, each with
|
|
97
|
+
* its scale points and salary range. Both args required; an absent
|
|
98
|
+
* combination throws `ScaleUnavailable`.
|
|
99
|
+
*/
|
|
100
|
+
export function getDentalScales(year, nation) {
|
|
101
|
+
return resolveGradeMetas(DENTAL_SCALES, DENTAL_GRADE_IDS, year, nation);
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=dental-scales.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dental-scales.js","sourceRoot":"","sources":["../src/dental-scales.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAG5D,OAAO,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAC,kBAAkB,IAAI,GAAG,EAAC,MAAM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AAI,KAAK,MAAM,EAAE,SAAS,CAAC,CAC9E;CACF,CAAC;AAEF,MAAM,aAAa,GAAoC;IACrD,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE;QACpB,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO;QAC9B,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,QAAQ;KACjC;IACD,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE;QACpB,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,KAAK;QAC1B,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,eAAe;KAC/C;CACF,CAAC;AAEF,yEAAyE;AACzE,MAAM,CAAC,MAAM,gBAAgB,GAC3B,MAAM,CAAC,IAAI,CAAC,aAAa,CAC1B,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;AAEnB;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAC7B,IAAa,EACb,MAAc;IAEd,OAAO,iBAAiB,CACtB,aAAa,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,CAC9C,CAAC;AACJ,CAAC"}
|
package/dist/errors.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Errors for absent pay data. Fail loud — never silently
|
|
3
|
+
* substitute another year's or nation's figures.
|
|
4
|
+
*/
|
|
5
|
+
import type { Nation, TaxYear } from '@casomoltd/paye-calc';
|
|
6
|
+
/**
|
|
7
|
+
* Thrown when no pay scale is published for a
|
|
8
|
+
* (nation, year), optionally narrowed to a grade and a
|
|
9
|
+
* scale point. The UI enumerates valid combinations first,
|
|
10
|
+
* so this signals genuine data-absence, not control flow.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ScaleUnavailable extends Error {
|
|
13
|
+
readonly nation: Nation;
|
|
14
|
+
readonly year: TaxYear;
|
|
15
|
+
readonly gradeId?: string | undefined;
|
|
16
|
+
/** Set when the scale exists but the point label doesn't. */
|
|
17
|
+
readonly pointLabel?: string | undefined;
|
|
18
|
+
constructor(nation: Nation, year: TaxYear, gradeId?: string | undefined,
|
|
19
|
+
/** Set when the scale exists but the point label doesn't. */
|
|
20
|
+
pointLabel?: string | undefined);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Thrown when NHS pension contribution tiers are not
|
|
24
|
+
* published for a (nation, year). Sibling of {@link ScaleUnavailable}
|
|
25
|
+
* so both absent-pay-data paths can be caught by type. Carries the
|
|
26
|
+
* nation because the three schemes (NHSBSA E&W, SPPA Scotland, HSC
|
|
27
|
+
* NI) publish independently — a year present for one may be absent
|
|
28
|
+
* for another.
|
|
29
|
+
*/
|
|
30
|
+
export declare class PensionTiersUnavailable extends Error {
|
|
31
|
+
readonly year: TaxYear;
|
|
32
|
+
readonly nation: Nation;
|
|
33
|
+
constructor(year: TaxYear, nation: Nation);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Thrown when no AfC pay award (consolidated % uplift) is recorded
|
|
37
|
+
* for a (nation, year). Sibling of {@link ScaleUnavailable} — the
|
|
38
|
+
* award is negotiated data, absent until published.
|
|
39
|
+
*/
|
|
40
|
+
export declare class AwardUnavailable extends Error {
|
|
41
|
+
readonly year: TaxYear;
|
|
42
|
+
readonly nation: Nation;
|
|
43
|
+
constructor(year: TaxYear, nation: Nation);
|
|
44
|
+
}
|
package/dist/errors.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Errors for absent pay data. Fail loud — never silently
|
|
3
|
+
* substitute another year's or nation's figures.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Thrown when no pay scale is published for a
|
|
7
|
+
* (nation, year), optionally narrowed to a grade and a
|
|
8
|
+
* scale point. The UI enumerates valid combinations first,
|
|
9
|
+
* so this signals genuine data-absence, not control flow.
|
|
10
|
+
*/
|
|
11
|
+
export class ScaleUnavailable extends Error {
|
|
12
|
+
nation;
|
|
13
|
+
year;
|
|
14
|
+
gradeId;
|
|
15
|
+
pointLabel;
|
|
16
|
+
constructor(nation, year, gradeId,
|
|
17
|
+
/** Set when the scale exists but the point label doesn't. */
|
|
18
|
+
pointLabel) {
|
|
19
|
+
super(scaleMessage(nation, year, gradeId, pointLabel));
|
|
20
|
+
this.nation = nation;
|
|
21
|
+
this.year = year;
|
|
22
|
+
this.gradeId = gradeId;
|
|
23
|
+
this.pointLabel = pointLabel;
|
|
24
|
+
this.name = 'ScaleUnavailable';
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Thrown when NHS pension contribution tiers are not
|
|
29
|
+
* published for a (nation, year). Sibling of {@link ScaleUnavailable}
|
|
30
|
+
* so both absent-pay-data paths can be caught by type. Carries the
|
|
31
|
+
* nation because the three schemes (NHSBSA E&W, SPPA Scotland, HSC
|
|
32
|
+
* NI) publish independently — a year present for one may be absent
|
|
33
|
+
* for another.
|
|
34
|
+
*/
|
|
35
|
+
export class PensionTiersUnavailable extends Error {
|
|
36
|
+
year;
|
|
37
|
+
nation;
|
|
38
|
+
constructor(year, nation) {
|
|
39
|
+
super(`No NHS pension tiers published for ${nation} ${year}`);
|
|
40
|
+
this.year = year;
|
|
41
|
+
this.nation = nation;
|
|
42
|
+
this.name = 'PensionTiersUnavailable';
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Thrown when no AfC pay award (consolidated % uplift) is recorded
|
|
47
|
+
* for a (nation, year). Sibling of {@link ScaleUnavailable} — the
|
|
48
|
+
* award is negotiated data, absent until published.
|
|
49
|
+
*/
|
|
50
|
+
export class AwardUnavailable extends Error {
|
|
51
|
+
year;
|
|
52
|
+
nation;
|
|
53
|
+
constructor(year, nation) {
|
|
54
|
+
super(`No AfC pay award recorded for ${nation} ${year}`);
|
|
55
|
+
this.year = year;
|
|
56
|
+
this.nation = nation;
|
|
57
|
+
this.name = 'AwardUnavailable';
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function scaleMessage(nation, year, gradeId, pointLabel) {
|
|
61
|
+
if (pointLabel !== undefined) {
|
|
62
|
+
return `No scale point "${pointLabel}" for `
|
|
63
|
+
+ `${gradeId} in ${nation} ${year}`;
|
|
64
|
+
}
|
|
65
|
+
if (gradeId !== undefined) {
|
|
66
|
+
return `No published scale for ${gradeId} in `
|
|
67
|
+
+ `${nation} ${year}`;
|
|
68
|
+
}
|
|
69
|
+
return `No published pay scale for ${nation} ${year}`;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;;GAKG;AACH,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IAE9B;IACA;IACA;IAEA;IALX,YACW,MAAc,EACd,IAAa,EACb,OAAgB;IACzB,6DAA6D;IACpD,UAAmB;QAE5B,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;QAN9C,WAAM,GAAN,MAAM,CAAQ;QACd,SAAI,GAAJ,IAAI,CAAS;QACb,YAAO,GAAP,OAAO,CAAS;QAEhB,eAAU,GAAV,UAAU,CAAS;QAG5B,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACjC,CAAC;CACF;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,uBAAwB,SAAQ,KAAK;IAErC;IACA;IAFX,YACW,IAAa,EACb,MAAc;QAEvB,KAAK,CACH,sCAAsC,MAAM,IAAI,IAAI,EAAE,CACvD,CAAC;QALO,SAAI,GAAJ,IAAI,CAAS;QACb,WAAM,GAAN,MAAM,CAAQ;QAKvB,IAAI,CAAC,IAAI,GAAG,yBAAyB,CAAC;IACxC,CAAC;CACF;AAED;;;;GAIG;AACH,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IAE9B;IACA;IAFX,YACW,IAAa,EACb,MAAc;QAEvB,KAAK,CAAC,iCAAiC,MAAM,IAAI,IAAI,EAAE,CAAC,CAAC;QAHhD,SAAI,GAAJ,IAAI,CAAS;QACb,WAAM,GAAN,MAAM,CAAQ;QAGvB,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACjC,CAAC;CACF;AAED,SAAS,YAAY,CACnB,MAAc,EACd,IAAa,EACb,OAAgB,EAChB,UAAmB;IAEnB,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,OAAO,mBAAmB,UAAU,QAAQ;cACxC,GAAG,OAAO,OAAO,MAAM,IAAI,IAAI,EAAE,CAAC;IACxC,CAAC;IACD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,0BAA0B,OAAO,MAAM;cAC1C,GAAG,MAAM,IAAI,IAAI,EAAE,CAAC;IAC1B,CAAC;IACD,OAAO,8BAA8B,MAAM,IAAI,IAAI,EAAE,CAAC;AACxD,CAAC"}
|
package/dist/format.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GBP and percentage formatting helpers for NHS
|
|
3
|
-
* pay data.
|
|
4
|
-
* across afc-format.ts and calculator format.ts.
|
|
3
|
+
* pay data.
|
|
5
4
|
*/
|
|
6
5
|
import type { TaxYear } from '@casomoltd/paye-calc';
|
|
7
6
|
/** Exact salary with £ sign — £31,049 */
|