Skip to content

Commit bf2b93d

Browse files
authored
Squash me
1 parent 9cc198c commit bf2b93d

File tree

12 files changed

+65
-25
lines changed

12 files changed

+65
-25
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Large diffs are not rendered by default.

docs/architecture/c4/notifhir/printer/eventsfromprint/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ last_modified_date: 2025-12-12
99
owner: Ross Buggins
1010
author: Tom D'Roza
1111
diagrams: [c4code-printer-statushandler]
12-
events-raised: [print-status-changed]
12+
events-raised: [print-letter-transitioned]
1313
events-consumed: [external-supplier-api-letter-printed]
1414
c4type: code
1515
---

docs/collections/_diagrams/c4code-printer-statushandler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ title: c4code-printer-statushandler
1717
service letterFailedEvent(aws:res-amazon-eventbridge-event)[letterFAILED event]
1818
service letterReturnedEvent(aws:res-amazon-eventbridge-event)[letterRETURNED event]
1919
20-
service printStatusEvent(aws:res-amazon-eventbridge-event) [PrintStatusChanged event]
20+
service printStatusEvent(aws:res-amazon-eventbridge-event) [PrintLetterTransitioned event]
2121
2222
junction j1
2323
junction j2
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: print-letter-transitioned
3+
type: uk.nhs.notify.digital.letters.print.letter.transitioned.v1
4+
nice_name: PrintLetterTransitioned
5+
service: Print Supplier Services
6+
schema_envelope: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.print.letter.transitioned.v1.schema.json
7+
schema_data: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/data/digital-letters-print-letter-transitioned-data.schema.json
8+
---
9+
10+
This event signals that a letter in the print supplier's system has been transitioned. It is a Digital Letters internal representation of the various status update events received from the external print supplier API, such as "letter.ACCEPTED", "letter.REJECTED", "letter.PRINTED", "letter.DISPATCHED", "letter.FAILED", and "letter.RETURNED".

docs/collections/_events/print-status-cahnged.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/cloudevents/domains/digital-letters/2025-10-draft/data/digital-letters-print-status-changed-data.schema.yaml renamed to src/cloudevents/domains/digital-letters/2025-10-draft/data/digital-letters-print-letter-transitioned-data.schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$schema: https://json-schema.org/draft/2020-12/schema
2-
title: PrintStatusChanged Data
3-
description: Base data of the PrintStatusChanged event
2+
title: PrintLetterTransitioned Data
3+
description: Base data of the PrintLetterTransitioned event
44
type: object
55
additionalProperties: false
66
properties:

src/cloudevents/domains/digital-letters/2025-10-draft/defs/core.schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: https://json-schema.org/draft/2020-12/schema
2-
title: Request data
2+
title: Core data
33
description: Reusable types for NHS Notify payload schemas.
44
type: object
55
properties:

src/cloudevents/domains/digital-letters/2025-10-draft/defs/mesh.schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: https://json-schema.org/draft/2020-12/schema
2-
title: Request data
2+
title: MESH data
33
description: Reusable types for NHS Notify payload schemas.
44
type: object
55
properties:

src/cloudevents/domains/digital-letters/2025-10-draft/defs/print.schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
$schema: https://json-schema.org/draft/2020-12/schema
2-
title: PDM data
2+
title: Print data
33
description: Reusable types for NHS Notify payload schemas.
44
type: object
55
properties:
66
subject:
77
type: string
8-
description: The subject of the event which created this letter,
8+
description: The subject of the event which created this letter
99
examples:
1010
- "client/00f3b388-bbe9-41c9-9e76-052d37ee8988/letter-request/0o5Fs0EELR0fUjHjbCnEtdUwQe4_0o5Fs0EELR0fUjHjbCnEtdUwQe5"
1111
status:

src/cloudevents/domains/digital-letters/2025-10-draft/defs/reporting.schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: https://json-schema.org/draft/2020-12/schema
2-
title: Request data
2+
title: Reporting data
33
description: Reusable types for NHS Notify payload schemas.
44
type: object
55
properties:

0 commit comments

Comments
 (0)