mindfulness

Modifies an existing mindfulness activity

put/patients/{patient_id}/mindfulness/{patient_mindfulness_id}

Path parameters

patient_idinteger required
patient_mindfulness_idinteger required

Request body

mindfulness_activity_typestring nullable

selected activity type of mindfulness

mindfulness_datestring required

calendar date in format YYYY-MM-DD

mindfulness_end_timestring required

time in format hh:mm:ss

mindfulness_start_timestring required

time in format hh:mm:ss

notestring nullable

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

sourcestring nullable

source of mindfulness data

source_idstring nullable

id of mindfulness from source

Example request

{
  "mindfulness_activity_type": "breathing",
  "mindfulness_date": "2019-01-02",
  "mindfulness_end_time": "17:30:00",
  "mindfulness_start_time": "17:30:00"
}

Response

successful operation

idinteger required
mindfulness_activity_typestring nullable

selected activity type of mindfulness

mindfulness_datestring required

calendar date in format YYYY-MM-DD

mindfulness_end_timestring required

time in format hh:mm:ss

mindfulness_start_timestring required

time in format hh:mm:ss

notestring nullable

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

sourcestring nullable

source of mindfulness data

source_idstring nullable

id of mindfulness from source

Example response

{
  "mindfulness_activity_type": "breathing",
  "mindfulness_date": "2019-01-02",
  "mindfulness_end_time": "17:30:00",
  "mindfulness_start_time": "17:30:00"
}

Changes