Table of Contents |
---|
...
Check exist Medication by $.id.
if invalid - return 404 error (message: "Medication is not found!")
...
Purpose validation: Medication should be active (is_active == TRUE) necessary type
Validate `type` == MEDICATION
- if invalid - return 409 eror (message: "Type of record by id is not MEDICATION !")