medication

Post a new medication

post/patients/{patient_id}/medications

Path parameters

patient_idinteger required

Request body

medication_datestring required

calendar date in format YYYY-MM-DD

medication_timestring required

time in HH:MM:SS

namestring required

indicate the name of the medication

notestring nullable

note that can be added to provide additional description Max 1024 char

quantitynumber required

typical qty of medication taken

side_effectsstring nullable

side effects of the medication Max 1024 char

unitstring required

Example request

{
  "medication_date": "2019-01-02",
  "medication_time": "08:00:00"
}

Response

successful operation

idinteger required
medication_datestring

calendar date in format YYYY-MM-DD

medication_timestring

time in HH:MM:SS

namestring required

indicate the name of the medication

notestring nullable

note that can be added to provide additional description Max 1024 char

quantitynumber

typical qty of medication taken

side_effectsstring nullable

side effects of the medication Max 1024 char

unitstring

Example response

{
  "medication_date": "2019-01-02",
  "medication_time": "08:00:00"
}

Changes

No recorded changes to this endpoint across all 15 revisions of this API.