From d57c7a2c80fdd211ecb0f0a13b91a710180e9b33 Mon Sep 17 00:00:00 2001 From: Tim Stephenson <231503406+tstephen-nhs@users.noreply.github.com> Date: Tue, 23 Dec 2025 15:18:39 +0000 Subject: [PATCH 1/5] docs: meta.lastUpdated to denote post dated updates --- .../resources/UpdatePrescriptionStatusTask.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml index 04f4e3354..eaed4917c 100644 --- a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml +++ b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml @@ -8,6 +8,17 @@ properties: type: string description: The unique identifier for the Task resource. example: 4d70678c-81e4-4ff4-8c67-17596fd0aa46 + meta: + type: object + description: Metadata about the Task resource. + properties: + lastUpdated: + type: string + description: When the resource version last changed. + This denotes that lastModified is a predicted value in the future. + Updated predictions to lastModified must have a later value in this property. + format: date-time + example: 2024-01-30T12:01:24Z basedOn: type: array description: Short-form Prescription ID for the parent prescription. Should only contain one item. From 43f9b4384c5b7af95ab0d405e759cc46077160d3 Mon Sep 17 00:00:00 2001 From: Tim Stephenson <231503406+tstephen-nhs@users.noreply.github.com> Date: Tue, 23 Dec 2025 15:23:55 +0000 Subject: [PATCH 2/5] chore: trigger build From cafdb205a41a5c265733dc106a5e950b5cc9ad00 Mon Sep 17 00:00:00 2001 From: Tim Stephenson <231503406+tstephen-nhs@users.noreply.github.com> Date: Wed, 7 Jan 2026 11:26:50 +0000 Subject: [PATCH 3/5] docs: deprecate meta.lastUpdated --- .../schemas/resources/UpdatePrescriptionStatusTask.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml index eaed4917c..407923c42 100644 --- a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml +++ b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml @@ -19,6 +19,7 @@ properties: Updated predictions to lastModified must have a later value in this property. format: date-time example: 2024-01-30T12:01:24Z + deprecated: true basedOn: type: array description: Short-form Prescription ID for the parent prescription. Should only contain one item. From 06a1007c18447bab7e7b3b7148c3c36f16adb0ca Mon Sep 17 00:00:00 2001 From: Tim Stephenson <231503406+tstephen-nhs@users.noreply.github.com> Date: Wed, 7 Jan 2026 12:14:12 +0000 Subject: [PATCH 4/5] docs: rewording --- .../schemas/resources/UpdatePrescriptionStatusTask.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml index 407923c42..0d0b64993 100644 --- a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml +++ b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml @@ -14,7 +14,7 @@ properties: properties: lastUpdated: type: string - description: When the resource version last changed. + description: When the resource last changed. This denotes that lastModified is a predicted value in the future. Updated predictions to lastModified must have a later value in this property. format: date-time From b091e83fa1b7d3835d201c97d45b73b1bdcacd26 Mon Sep 17 00:00:00 2001 From: Tim Stephenson <231503406+tstephen-nhs@users.noreply.github.com> Date: Wed, 7 Jan 2026 12:24:24 +0000 Subject: [PATCH 5/5] docs: meta.lastUpdated for R2C only --- .../schemas/resources/UpdatePrescriptionStatusTask.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml index 0d0b64993..e86b9d41a 100644 --- a/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml +++ b/packages/specification/schemas/resources/UpdatePrescriptionStatusTask.yaml @@ -15,7 +15,8 @@ properties: lastUpdated: type: string description: When the resource last changed. - This denotes that lastModified is a predicted value in the future. + This denotes that lastModified of items with status 'Ready to collect' and + 'Ready to collect - partial' is a predicted value in the future. Updated predictions to lastModified must have a later value in this property. format: date-time example: 2024-01-30T12:01:24Z