PrintLetterTransitioned.Bundle

2025-01-01 | ๐Ÿ“‘ 744 words | โฑ 8 mins | ๐Ÿงพ History | โœ NHS Notify | ๐Ÿ”‘ NHS Notify

No description available.

Known Issues / Todo

  • โ›… This page is draft and is subject to rapid change, and may not be fully accurate or complete

PrintLetterTransitioned.Bundle

No description available.

Schema Information

  • Schema ID: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.print.letter.transitioned.v1.bundle.schema.json
  • Schema Version: https://json-schema.org/draft/2020-12/schema
  • Source File: digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.print.letter.transitioned.v1.bundle.schema.yaml

Properties

type

Type: string

Concrete versioned event type string for this event (.vN suffix).

Constant value: uk.nhs.notify.digital.letters.print.letter.transitioned.v1

source

Type: string

Event source for digital letters.

Pattern: ^/nhs/england/notify/(production|staging|development|uat)/(primary|secondary|dev-[0-9]+)/data-plane/digitalletters/print

dataschema

Type: string

Canonical URI of the eventโ€™s data schema.

Constant value: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/data/digital-letters-print-letter-transitioned-data.schema.json Examples: digital-letters-print-letter-transitioned-data.schema.json

data

Type: object

Base data of the PrintLetterTransitioned event

Comment: Dereferenced from: ../data/digital-letters-print-letter-transitioned-data.schema.json

Properties of data

senderId

Type: string

Identifier that the sender provided during onboarding. Provided in the body of each FHIR resource submitted by the sender.

messageReference

Type: string

Globally unique reference for each message, provided by the sender

status

Type: string

Number of times that PDM has been polled while waiting for document processing to complete

Allowed values: ACCEPTED, REJECTED, PRINTED, DISPATCHED, FAILED, RETURNED

supplierId

Type: string

Identifier of the print supplier handling the print job

time

Type: string

Timestamp when the event occurred (RFC 3339).

Format: date-time Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

Inheritance

This schema extends the following schemas:

  • https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/digital-letters-print-profile.schema.json

Type

object

Raw Schema

$id: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.print.letter.transitioned.v1.bundle.schema.json
$schema: https://json-schema.org/draft/2020-12/schema
title: PrintLetterTransitioned
type: object
allOf:
- $ref: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/digital-letters-print-profile.schema.json
properties:
  type:
    type: string
    const: uk.nhs.notify.digital.letters.print.letter.transitioned.v1
    description: Concrete versioned event type string for this event (.vN suffix).
  source:
    type: string
    pattern: ^/nhs/england/notify/(production|staging|development|uat)/(primary|secondary|dev-[0-9]+)/data-plane/digitalletters/print
    description: Event source for digital letters.
  dataschema:
    type: string
    const: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/data/digital-letters-print-letter-transitioned-data.schema.json
    description: Canonical URI of the event's data schema.
    examples:
    - digital-letters-print-letter-transitioned-data.schema.json
  data:
    $schema: https://json-schema.org/draft/2020-12/schema
    title: PrintLetterTransitioned Data
    description: Base data of the PrintLetterTransitioned event
    type: object
    additionalProperties: false
    properties:
      senderId:
        type: string
        description: Identifier that the sender provided during onboarding. Provided
          in the body of each FHIR resource submitted by the sender.
        examples:
        - Trust-12345
        $comment: 'Dereferenced from: ../defs/requests.schema.json#/properties/senderId'
      messageReference:
        type: string
        description: Globally unique reference for each message, provided by the sender
        examples:
        - 19cd1d01-98c3-4ab8-a7b8-c1adabda7641
        $comment: 'Dereferenced from: ../defs/requests.schema.json#/properties/messageReference'
      status:
        type: string
        minimum: 1
        description: Number of times that PDM has been polled while waiting for document
          processing to complete
        enum:
        - ACCEPTED
        - REJECTED
        - PRINTED
        - DISPATCHED
        - FAILED
        - RETURNED
        examples:
        - ACCEPTED
        - DISPATCHED
        - PRINTED
        $comment: 'Dereferenced from: ../defs/print.schema.json#/properties/status'
      supplierId:
        type: string
        description: Identifier of the print supplier handling the print job
        examples:
        - supplier-12345
        $comment: 'Dereferenced from: ../defs/print.schema.json#/properties/supplierId'
      time:
        title: Event Time
        description: Timestamp when the event occurred (RFC 3339).
        examples:
        - '2025-10-01T10:15:30.000Z'
        type: string
        format: date-time
        pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        $comment: 'Dereferenced from: ../defs/core.schema.json#/properties/time'
    required:
    - senderId
    - messageReference
    - status
    - supplierId
    - time
    $comment: 'Dereferenced from: ../data/digital-letters-print-letter-transitioned-data.schema.json'
$comment: Bundled (allOf preserved, property $refs dereferenced).