Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .markdownlint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"siblings_only": true
},
// https://github.com/DavidAnson/markdownlint/blob/main/doc/md033.md
"MD033": false
"MD033": false,
"MD041": false
}
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash}
1.3.1-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash}
6 changes: 0 additions & 6 deletions specification/.markdownlint.json

This file was deleted.

12 changes: 10 additions & 2 deletions specification/api/components/documentation/patchLetter.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,19 @@ Allowed `status` values that can be used to are:

It is not possible to update a letter to status of `PENDING`.

### Reason Codes

Optionally a `reasonCode` and `reasonText` explaining the status (for example, validation failures) can be included in the request body.

### Example Error Codes
With the exception of the `RETURNED` status, `reasonCode` and `reasonText` can be agreed on an individual basis

#### RETURNED Updates

NHS Notify uses a standardised set of reasons for the `RETURNED` status.

Both a `reasonCode` and `reasonText` <b>must</b> be provided for a `RETURNED` status update.

Examples of reason codes and text that may be returned include (but are not limited to)
The reason codes and expected text for the `RETURNED` status are as follows:

| Reason Code | Reason Text |
|-------------|----------------------------|
Expand Down
10 changes: 8 additions & 2 deletions specification/api/components/documentation/postLetters.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ The request should not contain multiple letter objects with the same ID.

Optionally a `reasonCode` and `reasonText` explaining the status (for example, validation failures) can be included in the request body for each update.

### Example Error Codes
With the exception of the `RETURNED` status, `reasonCode` and `reasonText` can be agreed on an individual basis based on supplier workflows.

Examples of reason codes and text that may be returned include (but are not limited to)
#### RETURNED Updates

NHS Notify uses a standardised set of reasons for the `RETURNED` status.

Both a `reasonCode` and `reasonText` <b>must</b> be provided for a `RETURNED` status update.

The reason codes and expected text for the `RETURNED` status are as follows:

| Reason Code | Reason Text |
|-------------|----------------------------|
Expand Down
Loading