Table of Contents |
---|
...
This WS allows to update existing medical program and add specific medical program settings for the program.
Key points
This is a graphQl method used in the Administration panel only.
Only authenticated and authorized NHS employee with an appropriate scope can update a Medical program.
This method allows to add/change medical program settings for the program.
Specification
Page Properties | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Logic
Update params submitted on input in the medical program entity. Also, set:
updated_by = current user (from token)
updated_at = current date and time.
Preconditions
API paragraph not found
...
Validate medical program ID
Check id exists in DB
in case of error - return 404 ('not_found').
Processing
API paragraph not found
...