Skip to content

Commit c65a98a

Browse files
committed
NPA-4610 Add Status Reason to example
1 parent 7384eae commit c65a98a

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
StatusUpdate:
2+
summary: Update consent status
3+
description: Example status change to inactive. Along with reason for the status change.
4+
value:
5+
- op: replace
6+
path: /status
7+
value: inactive
8+
- op: replace
9+
path: /extension
10+
value:
11+
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
12+
valueCodeableConcept:
13+
coding:
14+
- system: http://terminology.hl7.org/CodeSystem/consent-reason
15+
code: TBC
16+
display: TBC
17+

specification/validated-relationships-service-api.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -752,13 +752,7 @@ paths:
752752
$ref: "#/components/schemas/PatchOperation"
753753
examples:
754754
statusUpdate:
755-
summary: Update consent status
756-
description: |
757-
Example status change to inactive.
758-
value:
759-
- op: replace
760-
path: /status
761-
value: inactive
755+
$ref: "./examples/requests/PATCH_Consent/replace_status.yaml#/StatusUpdate"
762756
updateProvision:
763757
summary: Set an end date for a role
764758
description: |

0 commit comments

Comments
 (0)