@casomoltd/nhs-pay 0.5.0 → 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 +6 -7
- package/dist/bands.js +6 -8
- 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 +17 -3
- package/dist/errors.js +24 -4
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.js +7 -2
- 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 +18 -15
- package/dist/pension.js +99 -25
- package/dist/pension.js.map +1 -1
- package/dist/post.js +1 -1
- package/dist/post.js.map +1 -1
- package/dist/resolver.d.ts +17 -0
- package/dist/resolver.js +61 -0
- package/dist/resolver.js.map +1 -1
- package/dist/role.d.ts +23 -3
- package/dist/role.js +1 -2
- package/dist/role.js.map +1 -1
- 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 +1 -1
- package/dist/scales.js +1 -1
- package/dist/scales.js.map +1 -1
- package/package.json +1 -1
|
@@ -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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EAAiE;IACjE,sEAAsE;IACtE,iEAAiE;IACjE,oEAAoE;CAC5D,CAAC"}
|
|
@@ -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,m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CAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,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
CHANGED
|
@@ -21,10 +21,24 @@ export declare class ScaleUnavailable extends Error {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Thrown when NHS pension contribution tiers are not
|
|
24
|
-
* published for a
|
|
25
|
-
* so both absent-pay-data paths can be caught by type.
|
|
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.
|
|
26
29
|
*/
|
|
27
30
|
export declare class PensionTiersUnavailable extends Error {
|
|
28
31
|
readonly year: TaxYear;
|
|
29
|
-
|
|
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);
|
|
30
44
|
}
|
package/dist/errors.js
CHANGED
|
@@ -26,17 +26,37 @@ export class ScaleUnavailable extends Error {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Thrown when NHS pension contribution tiers are not
|
|
29
|
-
* published for a
|
|
30
|
-
* so both absent-pay-data paths can be caught by type.
|
|
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.
|
|
31
34
|
*/
|
|
32
35
|
export class PensionTiersUnavailable extends Error {
|
|
33
36
|
year;
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
nation;
|
|
38
|
+
constructor(year, nation) {
|
|
39
|
+
super(`No NHS pension tiers published for ${nation} ${year}`);
|
|
36
40
|
this.year = year;
|
|
41
|
+
this.nation = nation;
|
|
37
42
|
this.name = 'PensionTiersUnavailable';
|
|
38
43
|
}
|
|
39
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
|
+
}
|
|
40
60
|
function scaleMessage(nation, year, gradeId, pointLabel) {
|
|
41
61
|
if (pointLabel !== undefined) {
|
|
42
62
|
return `No scale point "${pointLabel}" for `
|
package/dist/errors.js.map
CHANGED
|
@@ -1 +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
|
|
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/index.d.ts
CHANGED
|
@@ -5,10 +5,15 @@ export type { EmployerPensionRate, PensionTier, } from './pension.js';
|
|
|
5
5
|
export type { SalaryRange } from './values.js';
|
|
6
6
|
export { Post } from './post.js';
|
|
7
7
|
export type { PostIdentity } from './post.js';
|
|
8
|
-
export type { AfcRole, Role, RoleKind, VsmRole, } from './role.js';
|
|
9
|
-
export { afcResolver } from './resolver.js';
|
|
10
|
-
export type { AfcResolver, PayScaleResolver, } from './resolver.js';
|
|
11
|
-
export {
|
|
8
|
+
export type { AfcRole, DentalRole, MedicalRole, Role, RoleKind, VsmRole, } from './role.js';
|
|
9
|
+
export { afcResolver, dentalResolver, medicalResolver } from './resolver.js';
|
|
10
|
+
export type { AfcResolver, DentalResolver, MedicalResolver, NationScaleResolver, PayScaleResolver, } from './resolver.js';
|
|
11
|
+
export { MEDICAL_GRADES, MEDICAL_GRADE_IDS, getMedicalScales, } from './medical-scales.js';
|
|
12
|
+
export type { MedicalGradeId, MedicalGradeMeta, } from './medical-scales.js';
|
|
13
|
+
export { DENTAL_GRADES, DENTAL_GRADE_IDS, getDentalScales, } from './dental-scales.js';
|
|
14
|
+
export type { DentalGradeId, DentalGradeMeta, } from './dental-scales.js';
|
|
15
|
+
export { AwardUnavailable, PensionTiersUnavailable, ScaleUnavailable, } from './errors.js';
|
|
16
|
+
export { afcAward } from './award.js';
|
|
12
17
|
export { ACCRUAL_RATE, COMMUTATION_FACTOR, commute, lookupErf1, lookupLrf1, maxLumpSum, npaDate, periodInYearsMonths, projectPension, retirementFactor, revalue, yearlyAccrual, } from './pension-projection.js';
|
|
13
18
|
export type { CommutationResult, PensionEstimationInput, PensionProjectionInput, PensionProjectionResult, PensionStatementInput, ProjectionPoint, } from './pension-projection.js';
|
|
14
19
|
export { HCAS_ZONE_IDS, calculateHcasSupplement, grossSalary, isHcasZoneId, } from './hcas.js';
|
package/dist/index.js
CHANGED
|
@@ -4,8 +4,13 @@ export { AFC_BANDS, AFC_BAND_IDS, AFC_HOURS_PER_YEAR, AFC_TAX_YEARS, NLW_HOURLY,
|
|
|
4
4
|
export { PensionTiers, getEmployerPensionRate, getPensionTiers, getPensionTiersVO, lookupPensionTier, pensionTierRate, } from './pension.js';
|
|
5
5
|
// ── Post & resolvers ─────────────────────────────
|
|
6
6
|
export { Post } from './post.js';
|
|
7
|
-
export { afcResolver } from './resolver.js';
|
|
8
|
-
|
|
7
|
+
export { afcResolver, dentalResolver, medicalResolver } from './resolver.js';
|
|
8
|
+
// ── Medical & dental scales ──────────────────────
|
|
9
|
+
export { MEDICAL_GRADES, MEDICAL_GRADE_IDS, getMedicalScales, } from './medical-scales.js';
|
|
10
|
+
export { DENTAL_GRADES, DENTAL_GRADE_IDS, getDentalScales, } from './dental-scales.js';
|
|
11
|
+
export { AwardUnavailable, PensionTiersUnavailable, ScaleUnavailable, } from './errors.js';
|
|
12
|
+
// ── AfC pay award ────────────────────────────────
|
|
13
|
+
export { afcAward } from './award.js';
|
|
9
14
|
// ── Pension Projection ─────────────────────────────
|
|
10
15
|
export { ACCRUAL_RATE, COMMUTATION_FACTOR, commute, lookupErf1, lookupLrf1, maxLumpSum, npaDate, periodInYearsMonths, projectPension, retirementFactor, revalue, yearlyAccrual, } from './pension-projection.js';
|
|
11
16
|
// ── HCAS ─────────────────────────────────────────
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,OAAO,EACL,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,cAAc,EACd,eAAe,EACf,eAAe,GAChB,MAAM,aAAa,CAAC;AAQrB,oDAAoD;AACpD,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,GAChB,MAAM,cAAc,CAAC;AAStB,oDAAoD;AACpD,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,OAAO,EACL,SAAS,EACT,YAAY,EACZ,kBAAkB,EA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M,YAAY,CAAC;AAMpB,oDAAoD;AACpD,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,oDAAoD;AACpD,OAAO,EACL,QAAQ,EACR,MAAM,EACN,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,SAAS,GACV,MAAM,aAAa,CAAC;AAErB,oDAAoD;AACpD,mDAAmD;AACnD,qDAAqD;AACrD,OAAO,EACL,WAAW,EACX,SAAS,EACT,OAAO,EACP,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Medical (doctors) translation layer.
|
|
3
|
+
*
|
|
4
|
+
* Imports the verbatim circular files (src/circulars/*) and maps their
|
|
5
|
+
* pay tables into the canonical `getMedicalScales(year, nation)` view
|
|
6
|
+
* the resolver reads. This is where the *selection* lives — which
|
|
7
|
+
* scales feed the calculator domain — and the default is inclusive:
|
|
8
|
+
* every substantive salary scale a member could be on is wired,
|
|
9
|
+
* including the devolved training variants and the closed grades.
|
|
10
|
+
*
|
|
11
|
+
* Point granularity: one canonical point per source row, labelled by
|
|
12
|
+
* that row's own step identity (stage / years / pay-scale code /
|
|
13
|
+
* increment), so no pay step is collapsed away.
|
|
14
|
+
*
|
|
15
|
+
* Grades captured in the circulars but not yet wired here (add when a
|
|
16
|
+
* page needs them — they are one mapping line each): England's ultra-
|
|
17
|
+
* legacy closed grades SCMO (KB11), CMO (KB01), pre-2003 consultant
|
|
18
|
+
* (MC21), closed Specialist Registrar (MN25) and closed training
|
|
19
|
+
* variants (MN13/15/21/35/37/39); the second staff-grade scales
|
|
20
|
+
* (England MH03/05, NI M212).
|
|
21
|
+
*/
|
|
22
|
+
import type { Nation, TaxYear } from '@casomoltd/paye-calc';
|
|
23
|
+
import type { GradeMeta } from './scale-tables.js';
|
|
24
|
+
/** Doctor grade identifiers wired into the domain. */
|
|
25
|
+
export declare const MEDICAL_GRADES: {
|
|
26
|
+
readonly resident: "resident";
|
|
27
|
+
readonly consultant: "consultant";
|
|
28
|
+
readonly specialtyDoctor: "specialty-doctor";
|
|
29
|
+
readonly specialist: "specialist";
|
|
30
|
+
readonly salariedGp: "salaried-gp";
|
|
31
|
+
readonly gpEducator: "gp-educator";
|
|
32
|
+
readonly locallyEmployedDoctor: "locally-employed-doctor";
|
|
33
|
+
readonly fho1: "fho1";
|
|
34
|
+
readonly fho2: "fho2";
|
|
35
|
+
readonly sho: "sho";
|
|
36
|
+
readonly spr: "spr";
|
|
37
|
+
readonly str: "str";
|
|
38
|
+
readonly specialtyRegistrarCore: "specialty-registrar-core";
|
|
39
|
+
readonly specialtyRegistrarFixed: "specialty-registrar-fixed";
|
|
40
|
+
readonly gpRegistrarSho: "gp-registrar-sho";
|
|
41
|
+
readonly gpRegistrarSpr: "gp-registrar-spr";
|
|
42
|
+
readonly gpRegistrarStr: "gp-registrar-str";
|
|
43
|
+
readonly staffGrade: "staff-grade";
|
|
44
|
+
readonly associateSpecialist: "associate-specialist";
|
|
45
|
+
readonly specialtyDoctor2008: "specialty-doctor-2008";
|
|
46
|
+
readonly associateSpecialist2008: "associate-specialist-2008";
|
|
47
|
+
readonly hospitalPractitioner: "hospital-practitioner";
|
|
48
|
+
};
|
|
49
|
+
export type MedicalGradeId = (typeof MEDICAL_GRADES)[keyof typeof MEDICAL_GRADES];
|
|
50
|
+
/** Ordered grade IDs — stable iteration/enumeration. */
|
|
51
|
+
export declare const MEDICAL_GRADE_IDS: MedicalGradeId[];
|
|
52
|
+
/** A doctor grade's scale points in a nation/year, with its range. */
|
|
53
|
+
export type MedicalGradeMeta = GradeMeta<MedicalGradeId>;
|
|
54
|
+
/**
|
|
55
|
+
* Tax years this family publishes, newest first — derived from the
|
|
56
|
+
* data so a new pay round can't leave a hand-maintained list stale.
|
|
57
|
+
*/
|
|
58
|
+
export declare const MEDICAL_TAX_YEARS: readonly TaxYear[];
|
|
59
|
+
/**
|
|
60
|
+
* Published doctor grades for a nation and tax year, each with its
|
|
61
|
+
* scale points and salary range. Both args required — no default;
|
|
62
|
+
* an absent grade set throws `ScaleUnavailable`.
|
|
63
|
+
*/
|
|
64
|
+
export declare function getMedicalScales(year: TaxYear, nation: Nation): MedicalGradeMeta[];
|