Skip to content

Commit 063797c

Browse files
committed
NPA-4706: Mark POST Consent Keys As Required
1 parent 2dc8d18 commit 063797c

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
@@ -2034,6 +2034,14 @@ components:
20342034

20352035
Consent:
20362036
type: object
2037+
required:
2038+
- id
2039+
- status
2040+
- scope
2041+
- category
2042+
- patient
2043+
- dateTime
2044+
- performer
20372045
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.
20382046
properties:
20392047
resourceType:
@@ -2047,7 +2055,7 @@ components:
20472055
description: Unique identifier of the Consent resource
20482056
status:
20492057
type: string
2050-
description: "The status of the consent, following the ConsentStateCodes value set ."
2058+
description: "The status of the consent, following the ConsentStateCodes value set."
20512059
enum:
20522060
- draft
20532061
- proposed
@@ -2199,6 +2207,8 @@ components:
21992207

22002208
Reference:
22012209
type: object
2210+
required:
2211+
- identifier
22022212
properties:
22032213
type:
22042214
type: string
@@ -2208,6 +2218,9 @@ components:
22082218

22092219
Identifier:
22102220
type: object
2221+
required:
2222+
- system
2223+
- value
22112224
properties:
22122225
system:
22132226
type: string

0 commit comments

Comments
 (0)