Skip to content

Commit 75f3f39

Browse files
authored
Merge pull request #170 from NHSDigital/bug/NPA-4706/mark-post-consent-keys-as-required
NPA-4706: Mark POST Consent Keys As Required
2 parents fc0c2ae + 7792b75 commit 75f3f39

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

specification/validated-relationships-service-api.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2040,6 +2040,14 @@ components:
20402040

20412041
Consent:
20422042
type: object
2043+
required:
2044+
- id
2045+
- status
2046+
- scope
2047+
- category
2048+
- patient
2049+
- dateTime
2050+
- performer
20432051
description: The details of the consent including who the patient and care "performer" are, status of the relationship and whether consent was given by a patient with capacity.
20442052
properties:
20452053
resourceType:
@@ -2053,7 +2061,7 @@ components:
20532061
description: Unique identifier of the Consent resource
20542062
status:
20552063
type: string
2056-
description: "The status of the consent, following the ConsentStateCodes value set ."
2064+
description: "The status of the consent, following the ConsentStateCodes value set."
20572065
enum:
20582066
- draft
20592067
- proposed
@@ -2205,6 +2213,8 @@ components:
22052213

22062214
Reference:
22072215
type: object
2216+
required:
2217+
- identifier
22082218
properties:
22092219
type:
22102220
type: string
@@ -2214,6 +2224,9 @@ components:
22142224

22152225
Identifier:
22162226
type: object
2227+
required:
2228+
- system
2229+
- value
22172230
properties:
22182231
system:
22192232
type: string

0 commit comments

Comments
 (0)