@casomoltd/nhs-pay 0.15.2 → 0.16.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.
Files changed (102) hide show
  1. package/README.md +66 -16
  2. package/dist/afc-band.d.ts +33 -0
  3. package/dist/afc-band.js +33 -0
  4. package/dist/afc-band.js.map +1 -0
  5. package/dist/afc-scales.d.ts +67 -0
  6. package/dist/afc-scales.js +238 -0
  7. package/dist/afc-scales.js.map +1 -0
  8. package/dist/allowances.d.ts +91 -0
  9. package/dist/allowances.js +180 -0
  10. package/dist/allowances.js.map +1 -0
  11. package/dist/award.d.ts +175 -36
  12. package/dist/award.js +370 -47
  13. package/dist/award.js.map +1 -1
  14. package/dist/bands.d.ts +34 -12
  15. package/dist/bands.js +26 -9
  16. package/dist/bands.js.map +1 -1
  17. package/dist/circulars/afc-shapes.d.ts +101 -0
  18. package/dist/circulars/afc-shapes.js +18 -0
  19. package/dist/circulars/afc-shapes.js.map +1 -0
  20. package/dist/circulars/{england-md-1-2026r.d.ts → england-md-1-2026-r2.d.ts} +198 -32
  21. package/dist/circulars/{england-md-1-2026r.js → england-md-1-2026-r2.js} +142 -76
  22. package/dist/circulars/england-md-1-2026-r2.js.map +1 -0
  23. package/dist/circulars/ni-hsc-afc-06-2025.d.ts +63 -0
  24. package/dist/circulars/ni-hsc-afc-06-2025.js +100 -0
  25. package/dist/circulars/ni-hsc-afc-06-2025.js.map +1 -0
  26. package/dist/circulars/ni-hsc-tc8-05-2025.d.ts +1 -1
  27. package/dist/circulars/ni-hsc-tc8-05-2025.js +1 -1
  28. package/dist/circulars/scotland-pcs-afc-2026-01.d.ts +82 -0
  29. package/dist/circulars/scotland-pcs-afc-2026-01.js +208 -0
  30. package/dist/circulars/scotland-pcs-afc-2026-01.js.map +1 -0
  31. package/dist/circulars/scotland-pcs-dd-2025-01.d.ts +1 -1
  32. package/dist/circulars/scotland-pcs-dd-2025-01.js +12 -4
  33. package/dist/circulars/scotland-pcs-dd-2025-01.js.map +1 -1
  34. package/dist/circulars/scotland-pcs-dd-2026-01.d.ts +2 -2
  35. package/dist/circulars/scotland-pcs-dd-2026-01.js +2 -2
  36. package/dist/circulars/scotland-pcs-dd-2026-02.d.ts +79 -0
  37. package/dist/circulars/scotland-pcs-dd-2026-02.js +185 -0
  38. package/dist/circulars/scotland-pcs-dd-2026-02.js.map +1 -0
  39. package/dist/circulars/wales-afc-w-02-2025.d.ts +53 -0
  40. package/dist/circulars/wales-afc-w-02-2025.js +85 -0
  41. package/dist/circulars/wales-afc-w-02-2025.js.map +1 -0
  42. package/dist/circulars/wales-afc-w-02-2026.d.ts +48 -0
  43. package/dist/circulars/wales-afc-w-02-2026.js +91 -0
  44. package/dist/circulars/wales-afc-w-02-2026.js.map +1 -0
  45. package/dist/circulars/wales-mdw-01-2025.d.ts +1 -1
  46. package/dist/circulars/wales-mdw-01-2025.js +1 -1
  47. package/dist/circulars/wales-mdw-01-2026.d.ts +1 -1
  48. package/dist/circulars/wales-mdw-01-2026.js +1 -1
  49. package/dist/dental-scales.d.ts +4 -4
  50. package/dist/dental-scales.js +30 -20
  51. package/dist/dental-scales.js.map +1 -1
  52. package/dist/document-source.d.ts +141 -0
  53. package/dist/document-source.js +80 -0
  54. package/dist/document-source.js.map +1 -0
  55. package/dist/errors.d.ts +31 -5
  56. package/dist/errors.js +32 -2
  57. package/dist/errors.js.map +1 -1
  58. package/dist/format.d.ts +2 -2
  59. package/dist/format.js.map +1 -1
  60. package/dist/gad/erf-2023-06-30.d.ts +1 -1
  61. package/dist/gad/erf-2023-06-30.js +2 -1
  62. package/dist/gad/erf-2023-06-30.js.map +1 -1
  63. package/dist/gad/factor-table.d.ts +2 -1
  64. package/dist/gad/factor-table.js.map +1 -1
  65. package/dist/gad/lrf-2023-06-30.d.ts +1 -1
  66. package/dist/gad/lrf-2023-06-30.js +2 -1
  67. package/dist/gad/lrf-2023-06-30.js.map +1 -1
  68. package/dist/hcas.d.ts +10 -14
  69. package/dist/hcas.js +13 -20
  70. package/dist/hcas.js.map +1 -1
  71. package/dist/index.d.ts +17 -9
  72. package/dist/index.js +17 -8
  73. package/dist/index.js.map +1 -1
  74. package/dist/iso-date.d.ts +87 -0
  75. package/dist/iso-date.js +97 -0
  76. package/dist/iso-date.js.map +1 -0
  77. package/dist/medical-scales.d.ts +19 -4
  78. package/dist/medical-scales.js +77 -20
  79. package/dist/medical-scales.js.map +1 -1
  80. package/dist/pension.d.ts +30 -0
  81. package/dist/pension.js +128 -8
  82. package/dist/pension.js.map +1 -1
  83. package/dist/post.d.ts +87 -2
  84. package/dist/post.js +112 -2
  85. package/dist/post.js.map +1 -1
  86. package/dist/regions.d.ts +1 -1
  87. package/dist/regions.js +1 -1
  88. package/dist/resolver.d.ts +57 -7
  89. package/dist/resolver.js +77 -25
  90. package/dist/resolver.js.map +1 -1
  91. package/dist/scale-point.d.ts +13 -4
  92. package/dist/scale-tables.d.ts +57 -10
  93. package/dist/scale-tables.js +58 -9
  94. package/dist/scale-tables.js.map +1 -1
  95. package/dist/scales.d.ts +169 -44
  96. package/dist/scales.js +462 -226
  97. package/dist/scales.js.map +1 -1
  98. package/dist/sources.d.ts +183 -0
  99. package/dist/sources.js +375 -0
  100. package/dist/sources.js.map +1 -0
  101. package/package.json +6 -4
  102. package/dist/circulars/england-md-1-2026r.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"scales.js","sourceRoot":"","sources":["../src/scales.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAG7C,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE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AACH,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,MAAc;IAC1C,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACvC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,+DAA+D;QAC/D,+DAA+D;QAC/D,kEAAkE;QAClE,iBAAiB;QACjB,MAAM,IAAI,KAAK,CACb,kBAAkB,MAAM,qCAAqC,CAC9D,CAAC;IACJ,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;;;;uDAQuD;AACvD,MAAM,UAAU,gBAAgB,CAC9B,IAAa,EACb,MAAc;IAEd,MAAM,GAAG,GAAc,IAAI,CAAC;IAC5B,MAAM,IAAI,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;IACzC,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,IAAI,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,183 @@
1
+ /**
2
+ * Every published document this library cites, as one record each.
3
+ *
4
+ * One document, one record. The same circular is frequently the source
5
+ * of more than one kind of figure — PCS(AFC)2026/1 sets Scotland's AfC
6
+ * award, publishes its pay scales AND sets its on-call availability
7
+ * allowance — so a second copy of its url or issue date is a second
8
+ * copy that can fall out of step with the first.
9
+ *
10
+ * Three kinds live here and the difference is load-bearing:
11
+ *
12
+ * - **Award instruments** — what a nation ACCEPTED. A written
13
+ * ministerial statement, a gov.scot news page, a Welsh written
14
+ * statement. Prints a percentage, usually no pay table.
15
+ * - **Scale circulars** — what PUBLISHES the salary figures. Prints a
16
+ * pay table, often no percentage at all.
17
+ * - **Allowance letters** — what sets a cash allowance per session.
18
+ *
19
+ * They diverge in every nation. England's 2026-27 medical award was
20
+ * enacted by HCWS1462 on parliament.uk while its salaries are printed
21
+ * in PC(M&D) 1/2026 R2 on nhsemployers.org. Reading the award's source
22
+ * under a salary table puts a parliamentary statement beneath a list of
23
+ * salaries — and Northern Ireland has no medical award record at all
24
+ * while still rendering a table that needs a citation.
25
+ *
26
+ * Employer-body summaries are deliberately not cited: accurate as they
27
+ * are, they restate a document rather than being one.
28
+ *
29
+ * `url` is the publisher's own link, never the archived copy.
30
+ * `docs/source-archive.md` is the one home for archive links; a Drive
31
+ * id in a second place is a Drive id that can fall out of step with the
32
+ * manifest.
33
+ */
34
+ import { DocumentSource } from './document-source.js';
35
+ /** The 54th DDRB round, as accepted by each government. The report
36
+ * itself is NOT the source: a recommendation can be modified, staged
37
+ * or refused on the way in, and when it is, the acceptance is right
38
+ * and the report is not. */
39
+ export declare const DDRB_54_ENGLAND: DocumentSource;
40
+ export declare const DDRB_54_WALES: DocumentSource;
41
+ export declare const DDRB_54_SCOTLAND: DocumentSource;
42
+ export declare const AFC_ENGLAND_2025: DocumentSource;
43
+ export declare const AFC_ENGLAND_2026: DocumentSource;
44
+ export declare const AFC_WALES_2025: DocumentSource;
45
+ export declare const AFC_WALES_2026: DocumentSource;
46
+ /**
47
+ * Northern Ireland's 2026-27 figure rests on a WEAKER instrument than
48
+ * every other award row, and the difference is not modelled — it is
49
+ * recorded here so a maintainer knows.
50
+ *
51
+ * The Health Minister stated a desire to proceed with 3.3% for AfC
52
+ * staff in 2026/27, explicitly subject to his budgetary position; no
53
+ * HSC pay circular implementing it had been issued as at 3 Sep 2026.
54
+ * Every other row is a settled acceptance or an implementing circular.
55
+ * Carrying that distinction as a field was considered and rejected:
56
+ * the caveat's only use is wording on a page, and presentation copy is
57
+ * the consumer's. Re-check for an implementing circular before relying
58
+ * on this row, and revisit the decision if a second conditional award
59
+ * ever appears.
60
+ *
61
+ * It is NOT the source of any scale. NI has published no 2026-27 pay
62
+ * table, so `afcScaleSource` has no 2026-27 row for it and
63
+ * `getAfcScales` throws for that year — HSC staff are still paid on
64
+ * HSC (AfC) 06/2025. An announced award and a published scale are
65
+ * different things, and this record is only the first.
66
+ *
67
+ * Confirmed 3 Sep 2026 against primary sources: no 2026-27 HSC (AfC)
68
+ * or HSC (TC8) circular exists, and the last three rounds all landed
69
+ * late and were backdated — 2025/26 was announced in November 2025 and
70
+ * paid in February 2026, backdated to 1 April 2025.
71
+ */
72
+ export declare const AFC_NI_2026: DocumentSource;
73
+ /**
74
+ * The documents NHS Employers publishes the England/NI AfC scales in.
75
+ * Unlike the devolved nations these are not numbered circulars — NHS
76
+ * Employers states the scales on a per-year page — so `reference`
77
+ * names the publisher's own title for each.
78
+ *
79
+ * One per year, deliberately. A single year-blind record cites the
80
+ * 2026/27 page beneath a 2025-26 pay table, which is the defect this
81
+ * pair exists to stop.
82
+ */
83
+ export declare const AFC_ENGLAND_SCALES_2025: DocumentSource;
84
+ export declare const AFC_ENGLAND_SCALES_2026: DocumentSource;
85
+ /**
86
+ * Northern Ireland's AfC pay arrangements circular — the instrument
87
+ * that PUBLISHES the NI scales. NI's is not England's: it has its own
88
+ * issuer, its own reference and its own date, even though the salary
89
+ * figures it prints are identical to England's for 2025-26.
90
+ */
91
+ export declare const AFC_NI_2025: DocumentSource;
92
+ /**
93
+ * The circular that PUBLISHES the Welsh scales and allowances.
94
+ *
95
+ * Distinct from {@link AFC_WALES_2026}, which is the written
96
+ * statement ANNOUNCING the percentage: the statement prints no
97
+ * pay table and no allowance rate, so it cannot be the source of
98
+ * either figure.
99
+ */
100
+ export declare const AFC_W_02_2026: DocumentSource;
101
+ /** The prior year's Welsh circular. Same role as
102
+ * {@link AFC_W_02_2026}: it publishes Wales's own ladder and its
103
+ * allowance table, where the written statement announces only a
104
+ * percentage. */
105
+ export declare const AFC_W_02_2025: DocumentSource;
106
+ /**
107
+ * Both Scottish years. The two-year deal was ENACTED by
108
+ * PCS(AFC)2025/5; this circular revised its 2025-26 figure once the
109
+ * inflation guarantee triggered, and restates the 2026-27 one — so it
110
+ * is the current source for both years' scales, and for Scotland's AfC
111
+ * award and its on-call availability allowance.
112
+ */
113
+ export declare const AFC_SCOTLAND: DocumentSource;
114
+ /**
115
+ * The circular that sets NHS Scotland's full-time week to 36 hours
116
+ * from 1 April 2026.
117
+ *
118
+ * A CONDITIONS circular, not a scales one, which is why it is not in
119
+ * `AFC_SCALE_SOURCES`: it moves no salary. It is held because it is
120
+ * the instrument behind a claim the site makes — the hourly rates,
121
+ * and `hoursPerYear`, are computed on a week this document sets, and
122
+ * before this record existed a consumer page carried its url as a
123
+ * hand-typed string constant.
124
+ *
125
+ * Cited rather than the policy paper it is often confused with:
126
+ * gov.scot's Fairer Scotland Duty assessment describes the reduction
127
+ * as a proposal being assessed, where this one enacts it. A reader
128
+ * checking the claim needs the instrument.
129
+ *
130
+ * No `nextExpected`: a handbook amendment is not on an annual cycle,
131
+ * and inventing a date would assert a cadence the publisher does not
132
+ * keep. `currencyAt` reports `unknown`, which is the honest answer.
133
+ */
134
+ export declare const AFC_SCOTLAND_36_HOUR_WEEK: DocumentSource;
135
+ /**
136
+ * England's medical & dental scales. **R2 is the third state of one
137
+ * document**, not a third document: first published 11 May 2026,
138
+ * updated 30 June, and reissued 24 July 2026 amending the training
139
+ * scales and the mirrored locally-employed nodal points. The archive
140
+ * holds it as one row (`#sa-03`) with three versions, and the earlier
141
+ * two are withdrawn — their urls 404 and 403 respectively.
142
+ */
143
+ export declare const PC_MD_1_2026_R2: DocumentSource;
144
+ /**
145
+ * Scotland's 2026/27 round is split across TWO circulars and both are
146
+ * current: 2026/01 covers the training grades and defers the rest to
147
+ * an addendum; 2026/02 carries everything else. A nation-year is
148
+ * therefore not enough to identify a scale's source, which is why the
149
+ * source is held per grade.
150
+ */
151
+ export declare const PCS_DD_2026_01: DocumentSource;
152
+ export declare const PCS_DD_2026_02: DocumentSource;
153
+ /** Scotland's 2025/26 medical & dental round. Its own addendum
154
+ * (`#sa-06`) carries the training grades at a different uplift —
155
+ * 4.25% against the circular's 4% — and both are transcribed in the
156
+ * one source file. */
157
+ export declare const PCS_DD_2025_01: DocumentSource;
158
+ /**
159
+ * The Residents Addendum to PCS(DD)2025/01 — a genuinely separate
160
+ * document, not a revision of the circular, which is why the archive
161
+ * gives it its own row (`#sa-06`) rather than a version beneath
162
+ * `#sa-05`.
163
+ *
164
+ * It carries Scotland's 2025/26 TRAINING grades at a **4.25%** uplift
165
+ * where the main circular carries the non-training scales at **4%** —
166
+ * two uplifts, two documents, one year. A grade in that year cites
167
+ * whichever of the two actually printed it.
168
+ */
169
+ export declare const PCS_DD_2025_01_ADDENDUM: DocumentSource;
170
+ export declare const MD_W_01_2026: DocumentSource;
171
+ /** Wales's 2025/26 medical & dental circular, **v3**. It was reissued
172
+ * from the 11 June version because the earlier one omitted that the
173
+ * 4% uplift also covered GMPs; the pay scales themselves were already
174
+ * uplifted in the 29 May circular. `issued` is v3's own date. */
175
+ export declare const MD_W_01_2025: DocumentSource;
176
+ /**
177
+ * Northern Ireland's medical & dental circular. NI has published no
178
+ * 2026-27 successor, so this remains the current source for its
179
+ * doctor and dentist scales — and there is no NI medical AWARD record
180
+ * at all, which is precisely why a scale cannot cite an award's
181
+ * source and expect an answer.
182
+ */
183
+ export declare const HSC_TC8_05_2025: DocumentSource;
@@ -0,0 +1,375 @@
1
+ /**
2
+ * Every published document this library cites, as one record each.
3
+ *
4
+ * One document, one record. The same circular is frequently the source
5
+ * of more than one kind of figure — PCS(AFC)2026/1 sets Scotland's AfC
6
+ * award, publishes its pay scales AND sets its on-call availability
7
+ * allowance — so a second copy of its url or issue date is a second
8
+ * copy that can fall out of step with the first.
9
+ *
10
+ * Three kinds live here and the difference is load-bearing:
11
+ *
12
+ * - **Award instruments** — what a nation ACCEPTED. A written
13
+ * ministerial statement, a gov.scot news page, a Welsh written
14
+ * statement. Prints a percentage, usually no pay table.
15
+ * - **Scale circulars** — what PUBLISHES the salary figures. Prints a
16
+ * pay table, often no percentage at all.
17
+ * - **Allowance letters** — what sets a cash allowance per session.
18
+ *
19
+ * They diverge in every nation. England's 2026-27 medical award was
20
+ * enacted by HCWS1462 on parliament.uk while its salaries are printed
21
+ * in PC(M&D) 1/2026 R2 on nhsemployers.org. Reading the award's source
22
+ * under a salary table puts a parliamentary statement beneath a list of
23
+ * salaries — and Northern Ireland has no medical award record at all
24
+ * while still rendering a table that needs a citation.
25
+ *
26
+ * Employer-body summaries are deliberately not cited: accurate as they
27
+ * are, they restate a document rather than being one.
28
+ *
29
+ * `url` is the publisher's own link, never the archived copy.
30
+ * `docs/source-archive.md` is the one home for archive links; a Drive
31
+ * id in a second place is a Drive id that can fall out of step with the
32
+ * manifest.
33
+ */
34
+ import { DocumentSource } from './document-source.js';
35
+ import { isoDate } from './iso-date.js';
36
+ // ── Award instruments: medical & dental ──────────
37
+ /** The 54th DDRB round, as accepted by each government. The report
38
+ * itself is NOT the source: a recommendation can be modified, staged
39
+ * or refused on the way in, and when it is, the acceptance is right
40
+ * and the report is not. */
41
+ export const DDRB_54_ENGLAND = new DocumentSource({
42
+ issuer: 'the UK government',
43
+ reference: 'written ministerial statement HCWS1462',
44
+ url: 'https://questions-statements.parliament.uk/written-statements'
45
+ + '/detail/2026-03-25/hcws1462',
46
+ issued: isoDate('2026-03-25'),
47
+ // The DDRB reports annually and government responds in the
48
+ // spring, ahead of the April start.
49
+ nextExpected: isoDate('2027-04-01'),
50
+ });
51
+ export const DDRB_54_WALES = new DocumentSource({
52
+ issuer: 'the Welsh Government',
53
+ reference: 'written statement on the 54th DDRB report',
54
+ url: 'https://www.gov.wales'
55
+ + '/written-statement-responding-54th-doctors-and-dentists-review-body',
56
+ issued: isoDate('2026-03-25'),
57
+ nextExpected: isoDate('2027-04-01'),
58
+ });
59
+ export const DDRB_54_SCOTLAND = new DocumentSource({
60
+ issuer: 'the Scottish Government',
61
+ reference: 'NHS pay awards',
62
+ url: 'https://www.gov.scot/news/nhs-pay-awards/',
63
+ issued: isoDate('2026-08-12'),
64
+ nextExpected: isoDate('2027-04-01'),
65
+ });
66
+ // ── Award instruments: Agenda for Change ─────────
67
+ export const AFC_ENGLAND_2025 = new DocumentSource({
68
+ issuer: 'the UK government',
69
+ reference: 'NHS pay award 2025 to 2026',
70
+ url: 'https://www.gov.uk/government/publications'
71
+ + '/nhs-pay-awards-2025-to-2026-agenda-for-change-staff'
72
+ + '/nhs-pay-award-2025-to-2026-a-fair-deal-for-nhs-staff',
73
+ issued: isoDate('2025-05-22'),
74
+ });
75
+ export const AFC_ENGLAND_2026 = new DocumentSource({
76
+ issuer: 'the UK government',
77
+ reference: 'written ministerial statement HCWS1340',
78
+ url: 'https://questions-statements.parliament.uk/written-statements'
79
+ + '/detail/2026-02-12/hcws1340',
80
+ issued: isoDate('2026-02-12'),
81
+ // The AfC round is annual and effective 1 April; the review
82
+ // body reports and the government responds in the months
83
+ // before it.
84
+ nextExpected: isoDate('2027-04-01'),
85
+ });
86
+ export const AFC_WALES_2025 = new DocumentSource({
87
+ issuer: 'the Welsh Government',
88
+ reference: 'written statement on the 38th NHSPRB report',
89
+ url: 'https://www.gov.wales'
90
+ + '/written-statement-responding-38th-nhs-pay-review-body'
91
+ + '-and-53rd-doctors-and-dentists-review-body',
92
+ issued: isoDate('2025-05-22'),
93
+ });
94
+ export const AFC_WALES_2026 = new DocumentSource({
95
+ issuer: 'the Welsh Government',
96
+ reference: 'written statement on the 39th NHSPRB report',
97
+ url: 'https://www.gov.wales'
98
+ + '/written-statement-responding-39th-nhs-pay-review-body',
99
+ issued: isoDate('2026-02-12'),
100
+ nextExpected: isoDate('2027-04-01'),
101
+ });
102
+ /**
103
+ * Northern Ireland's 2026-27 figure rests on a WEAKER instrument than
104
+ * every other award row, and the difference is not modelled — it is
105
+ * recorded here so a maintainer knows.
106
+ *
107
+ * The Health Minister stated a desire to proceed with 3.3% for AfC
108
+ * staff in 2026/27, explicitly subject to his budgetary position; no
109
+ * HSC pay circular implementing it had been issued as at 3 Sep 2026.
110
+ * Every other row is a settled acceptance or an implementing circular.
111
+ * Carrying that distinction as a field was considered and rejected:
112
+ * the caveat's only use is wording on a page, and presentation copy is
113
+ * the consumer's. Re-check for an implementing circular before relying
114
+ * on this row, and revisit the decision if a second conditional award
115
+ * ever appears.
116
+ *
117
+ * It is NOT the source of any scale. NI has published no 2026-27 pay
118
+ * table, so `afcScaleSource` has no 2026-27 row for it and
119
+ * `getAfcScales` throws for that year — HSC staff are still paid on
120
+ * HSC (AfC) 06/2025. An announced award and a published scale are
121
+ * different things, and this record is only the first.
122
+ *
123
+ * Confirmed 3 Sep 2026 against primary sources: no 2026-27 HSC (AfC)
124
+ * or HSC (TC8) circular exists, and the last three rounds all landed
125
+ * late and were backdated — 2025/26 was announced in November 2025 and
126
+ * paid in February 2026, backdated to 1 April 2025.
127
+ */
128
+ export const AFC_NI_2026 = new DocumentSource({
129
+ issuer: 'the Department of Health (NI)',
130
+ reference: 'Health Minister’s statement on 2026/27 HSC pay',
131
+ url: 'https://www.health-ni.gov.uk/news'
132
+ + '/health-minister-reaffirms-commitment-time-pay-settlement-health-staff',
133
+ issued: isoDate('2026-02-12'),
134
+ // Deliberately in the past. This is a ministerial statement of
135
+ // intent, explicitly subject to the NI Executive's budget, and the
136
+ // HSC (AfC) circular that would implement it has not appeared —
137
+ // so a reader is looking at an announced figure with no
138
+ // instrument behind it. Recording the lapse is the honest
139
+ // position: the delay is the publisher's, and saying so is more
140
+ // use to an NI reader than silence.
141
+ nextExpected: isoDate('2026-04-01'),
142
+ nextExpectedReason: 'the implementing HSC (AfC) pay circular. The 3.3% is unfunded — '
143
+ + 'the Minister made it conditional on his budgetary position — '
144
+ + 'and no implementation date has been stated publicly',
145
+ });
146
+ // ── Scale circulars: Agenda for Change ───────────
147
+ /**
148
+ * The documents NHS Employers publishes the England/NI AfC scales in.
149
+ * Unlike the devolved nations these are not numbered circulars — NHS
150
+ * Employers states the scales on a per-year page — so `reference`
151
+ * names the publisher's own title for each.
152
+ *
153
+ * One per year, deliberately. A single year-blind record cites the
154
+ * 2026/27 page beneath a 2025-26 pay table, which is the defect this
155
+ * pair exists to stop.
156
+ */
157
+ export const AFC_ENGLAND_SCALES_2025 = new DocumentSource({
158
+ issuer: 'NHS Employers',
159
+ reference: 'Pay scales for 2025/26',
160
+ url: 'https://www.nhsemployers.org'
161
+ + '/articles/pay-scales-202526',
162
+ issued: isoDate('2025-05-22'),
163
+ });
164
+ export const AFC_ENGLAND_SCALES_2026 = new DocumentSource({
165
+ issuer: 'NHS Employers',
166
+ reference: 'Pay scales for 2026/27',
167
+ url: 'https://www.nhsemployers.org'
168
+ + '/articles/pay-scales-202627',
169
+ issued: isoDate('2026-02-12'),
170
+ nextExpected: isoDate('2027-04-01'),
171
+ });
172
+ /**
173
+ * Northern Ireland's AfC pay arrangements circular — the instrument
174
+ * that PUBLISHES the NI scales. NI's is not England's: it has its own
175
+ * issuer, its own reference and its own date, even though the salary
176
+ * figures it prints are identical to England's for 2025-26.
177
+ */
178
+ export const AFC_NI_2025 = new DocumentSource({
179
+ issuer: 'the Department of Health (NI)',
180
+ reference: 'HSC (AfC) 06/2025',
181
+ url: 'https://www.health-ni.gov.uk/sites/default/files/2025-12'
182
+ + '/HE1%2025%20379860%20%20HSC%20%28AfC%29%20%286%29%202025%20-%20'
183
+ + 'Agenda%20for%20Change%20Pay%20Arrangements%202025-26.pdf',
184
+ issued: isoDate('2025-12-03'),
185
+ });
186
+ /**
187
+ * The circular that PUBLISHES the Welsh scales and allowances.
188
+ *
189
+ * Distinct from {@link AFC_WALES_2026}, which is the written
190
+ * statement ANNOUNCING the percentage: the statement prints no
191
+ * pay table and no allowance rate, so it cannot be the source of
192
+ * either figure.
193
+ */
194
+ export const AFC_W_02_2026 = new DocumentSource({
195
+ issuer: 'NHS Wales',
196
+ reference: 'circular AfC(W) 02/2026',
197
+ url: 'https://www.nhs.wales/files/pc-resources'
198
+ + '/afc-w-02-2026-pdf-pdf/',
199
+ // The date on the circular's face, not the date its rates
200
+ // take effect (1 April 2026) — `issued` is when the
201
+ // publisher said it, which is what dates the citation.
202
+ issued: isoDate('2026-02-12'),
203
+ nextExpected: isoDate('2027-04-01'),
204
+ });
205
+ /** The prior year's Welsh circular. Same role as
206
+ * {@link AFC_W_02_2026}: it publishes Wales's own ladder and its
207
+ * allowance table, where the written statement announces only a
208
+ * percentage. */
209
+ export const AFC_W_02_2025 = new DocumentSource({
210
+ issuer: 'NHS Wales',
211
+ reference: 'circular AfC(W) 02/2025',
212
+ url: 'https://www.nhs.wales/files/pc-resources'
213
+ + '/afc-w-02-2025-pdf-2-pdf/',
214
+ issued: isoDate('2025-05-29'),
215
+ });
216
+ /**
217
+ * Both Scottish years. The two-year deal was ENACTED by
218
+ * PCS(AFC)2025/5; this circular revised its 2025-26 figure once the
219
+ * inflation guarantee triggered, and restates the 2026-27 one — so it
220
+ * is the current source for both years' scales, and for Scotland's AfC
221
+ * award and its on-call availability allowance.
222
+ */
223
+ export const AFC_SCOTLAND = new DocumentSource({
224
+ issuer: 'NHS Scotland',
225
+ reference: 'circular PCS(AFC)2026/1',
226
+ url: 'https://www.publications.scot.nhs.uk/files/pcs2026-afc-01.pdf',
227
+ issued: isoDate('2026-01-23'),
228
+ // NOT the annual round — a REVISION lands first. Annex A carries
229
+ // the same inflation guarantee into 2026-27: if CPI for calendar
230
+ // 2026 averages above 2.75%, pay is adjusted, and the 2025-26
231
+ // adjustment was paid the March after the calendar year. So the
232
+ // next instrument to touch these figures is due around March
233
+ // 2027, ahead of the 2027-28 round. Dating this at the annual
234
+ // cycle would have us believe the figures were current through a
235
+ // restatement — which is exactly how the 4.25% column stayed on
236
+ // the site for a year.
237
+ nextExpected: isoDate('2027-03-01'),
238
+ nextExpectedReason: 'a possible restatement under the settlement\'s inflation '
239
+ + 'guarantee, once CPI for calendar 2026 is confirmed',
240
+ });
241
+ /**
242
+ * The circular that sets NHS Scotland's full-time week to 36 hours
243
+ * from 1 April 2026.
244
+ *
245
+ * A CONDITIONS circular, not a scales one, which is why it is not in
246
+ * `AFC_SCALE_SOURCES`: it moves no salary. It is held because it is
247
+ * the instrument behind a claim the site makes — the hourly rates,
248
+ * and `hoursPerYear`, are computed on a week this document sets, and
249
+ * before this record existed a consumer page carried its url as a
250
+ * hand-typed string constant.
251
+ *
252
+ * Cited rather than the policy paper it is often confused with:
253
+ * gov.scot's Fairer Scotland Duty assessment describes the reduction
254
+ * as a proposal being assessed, where this one enacts it. A reader
255
+ * checking the claim needs the instrument.
256
+ *
257
+ * No `nextExpected`: a handbook amendment is not on an annual cycle,
258
+ * and inventing a date would assert a cadence the publisher does not
259
+ * keep. `currencyAt` reports `unknown`, which is the honest answer.
260
+ */
261
+ export const AFC_SCOTLAND_36_HOUR_WEEK = new DocumentSource({
262
+ issuer: 'NHS Scotland',
263
+ reference: 'circular PCS(AFC)2026/2',
264
+ url: 'https://www.publications.scot.nhs.uk/files/pcs-afc-2026-02.pdf',
265
+ issued: isoDate('2026-04-01'),
266
+ });
267
+ // ── Scale circulars: medical & dental ────────────
268
+ //
269
+ // One record per transcription in `src/circulars/`. `issued` is the
270
+ // date on the document's own face, read from the document — not the
271
+ // date its rates take effect, and not the date we retrieved it.
272
+ /**
273
+ * England's medical & dental scales. **R2 is the third state of one
274
+ * document**, not a third document: first published 11 May 2026,
275
+ * updated 30 June, and reissued 24 July 2026 amending the training
276
+ * scales and the mirrored locally-employed nodal points. The archive
277
+ * holds it as one row (`#sa-03`) with three versions, and the earlier
278
+ * two are withdrawn — their urls 404 and 403 respectively.
279
+ */
280
+ export const PC_MD_1_2026_R2 = new DocumentSource({
281
+ issuer: 'NHS Employers',
282
+ reference: 'Pay & Conditions Circular (M&D) 1/2026 R2',
283
+ url: 'https://www.nhsemployers.org/system/files/2026-07'
284
+ + '/Pay-and-Conditions-Circular-%28MD%29-1-2026-R2.pdf',
285
+ issued: isoDate('2026-07-24'),
286
+ nextExpected: isoDate('2027-04-01'),
287
+ });
288
+ /**
289
+ * Scotland's 2026/27 round is split across TWO circulars and both are
290
+ * current: 2026/01 covers the training grades and defers the rest to
291
+ * an addendum; 2026/02 carries everything else. A nation-year is
292
+ * therefore not enough to identify a scale's source, which is why the
293
+ * source is held per grade.
294
+ */
295
+ export const PCS_DD_2026_01 = new DocumentSource({
296
+ issuer: 'NHS Scotland',
297
+ reference: 'circular PCS(DD)2026/01',
298
+ url: 'https://www.publications.scot.nhs.uk/files/pcs-dd-2026-01.pdf',
299
+ issued: isoDate('2026-04-01'),
300
+ nextExpected: isoDate('2027-04-01'),
301
+ });
302
+ export const PCS_DD_2026_02 = new DocumentSource({
303
+ issuer: 'NHS Scotland',
304
+ reference: 'circular PCS(DD)2026/02',
305
+ url: 'https://www.publications.scot.nhs.uk/files/pcs-dd-2026-02.pdf',
306
+ issued: isoDate('2026-08-12'),
307
+ nextExpected: isoDate('2027-04-01'),
308
+ });
309
+ /** Scotland's 2025/26 medical & dental round. Its own addendum
310
+ * (`#sa-06`) carries the training grades at a different uplift —
311
+ * 4.25% against the circular's 4% — and both are transcribed in the
312
+ * one source file. */
313
+ export const PCS_DD_2025_01 = new DocumentSource({
314
+ issuer: 'NHS Scotland',
315
+ reference: 'circular PCS(DD)2025/01',
316
+ url: 'https://www.publications.scot.nhs.uk/files/pcs2025-dd-01.pdf',
317
+ issued: isoDate('2025-06-11'),
318
+ });
319
+ /**
320
+ * The Residents Addendum to PCS(DD)2025/01 — a genuinely separate
321
+ * document, not a revision of the circular, which is why the archive
322
+ * gives it its own row (`#sa-06`) rather than a version beneath
323
+ * `#sa-05`.
324
+ *
325
+ * It carries Scotland's 2025/26 TRAINING grades at a **4.25%** uplift
326
+ * where the main circular carries the non-training scales at **4%** —
327
+ * two uplifts, two documents, one year. A grade in that year cites
328
+ * whichever of the two actually printed it.
329
+ */
330
+ export const PCS_DD_2025_01_ADDENDUM = new DocumentSource({
331
+ issuer: 'NHS Scotland',
332
+ reference: 'circular PCS(DD)2025/01 addendum',
333
+ url: 'https://www.publications.scot.nhs.uk/files/pcs2025-dd-01add.pdf',
334
+ issued: isoDate('2025-11-26'),
335
+ });
336
+ export const MD_W_01_2026 = new DocumentSource({
337
+ issuer: 'NHS Wales',
338
+ reference: 'circular M&D(W) 01/2026',
339
+ url: 'https://www.nhs.wales/files/pc-resources'
340
+ + '/md-w-0126-pay-award-02-04-26-version-2/',
341
+ issued: isoDate('2026-05-05'),
342
+ nextExpected: isoDate('2027-04-01'),
343
+ });
344
+ /** Wales's 2025/26 medical & dental circular, **v3**. It was reissued
345
+ * from the 11 June version because the earlier one omitted that the
346
+ * 4% uplift also covered GMPs; the pay scales themselves were already
347
+ * uplifted in the 29 May circular. `issued` is v3's own date. */
348
+ export const MD_W_01_2025 = new DocumentSource({
349
+ issuer: 'NHS Wales',
350
+ reference: 'circular M&D(W) 01/2025',
351
+ url: 'https://www.nhs.wales/files/pc-resources'
352
+ + '/md-w-01-25-pay-award-v3-pdf/',
353
+ issued: isoDate('2025-08-05'),
354
+ });
355
+ /**
356
+ * Northern Ireland's medical & dental circular. NI has published no
357
+ * 2026-27 successor, so this remains the current source for its
358
+ * doctor and dentist scales — and there is no NI medical AWARD record
359
+ * at all, which is precisely why a scale cannot cite an award's
360
+ * source and expect an answer.
361
+ */
362
+ export const HSC_TC8_05_2025 = new DocumentSource({
363
+ issuer: 'the Department of Health (NI)',
364
+ reference: 'circular HSC(TC8) 05/2025',
365
+ url: 'https://www.health-ni.gov.uk/sites/default/files/2025-12'
366
+ + '/HSC%20%28TC8%29%2005%202025%20-%20Pay%20and%20Conditions'
367
+ + '%20of%20Service%20for%20Hospital%20Medical%20and%20Dental%20Staff.PDF',
368
+ issued: isoDate('2025-12-02'),
369
+ // Deliberately in the past: the 2026-27 round should have produced
370
+ // a successor by April 2026 and none has appeared.
371
+ nextExpected: isoDate('2026-04-01'),
372
+ nextExpectedReason: 'the 2026-27 HSC(TC8) medical & dental pay circular, which has '
373
+ + 'not been issued',
374
+ });
375
+ //# sourceMappingURL=sources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sources.js","sourceRoot":"","sources":["../src/sources.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;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AAM,EAAE,+BAA+B;IACvC,SAAS,EAAE,2BAA2B;IACtC,GAAG,EAAE,0DAA0D;UAC3D,2DAA2D;UAC3D,uEAAuE;IAC3E,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC;IAC7B,mEAAmE;IACnE,mDAAmD;IACnD,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC;IACnC,kBAAkB,EAChB,gEAAgE;UAC9D,iBAAiB;CACxB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@casomoltd/nhs-pay",
3
- "version": "0.15.2",
3
+ "version": "0.16.0",
4
4
  "description": "NHS Agenda for Change pay scales, pension tiers, regions, and take-home calculator",
5
5
  "homepage": "https://github.com/casomoltd/nhs-pay#readme",
6
6
  "bugs": "https://github.com/casomoltd/nhs-pay/issues",
@@ -17,7 +17,9 @@
17
17
  "dist"
18
18
  ],
19
19
  "scripts": {
20
- "build": "tsc -p tsconfig.build.json",
20
+ "//build": "Cleans first: tsc leaves the compiled output of a deleted source in dist, and `files: [\"dist\"]` then publishes it — a withdrawn circular's transcription shipped that way. prepack binds the clean build to packing, so a hand-run `npm pack` cannot ship a stale dist either.",
21
+ "build": "rm -rf dist && tsc -p tsconfig.build.json",
22
+ "prepack": "npm run build",
21
23
  "lint": "eslint .",
22
24
  "lint:fix": "eslint . --fix",
23
25
  "typecheck": "tsc --noEmit",
@@ -63,8 +65,8 @@
63
65
  "@casomoltd/paye-calc": ">=0.5.9"
64
66
  },
65
67
  "devDependencies": {
66
- "@casomoltd/paye-calc": "^0.5.24",
67
- "@casomoltd/tooling": "^0.23.4",
68
+ "@casomoltd/paye-calc": "^0.7.0",
69
+ "@casomoltd/tooling": "^0.24.0",
68
70
  "@commitlint/cli": "^20.0.0",
69
71
  "@js-temporal/polyfill": "^0.5.1",
70
72
  "@types/node": "^25.5.0",