case_get_task_calendar ()
Function prototype | case_get_task_calendar ( session , case , [filter = null]) |
---|---|
API Version | 2.6.4 and higher |
Returns a calendar of TASKS and/or EVENTS of all ADMISSIONS of a specific CASE This operation is restricted by privileges granted to the session's user. It is only allowed if:
Note: if the session's user is not a PROFESSIONAL, any role specified as a filter (if any) different that PATIENT will return an error, because in this situation only TASKS with role PATIENT can be returned | |
Input parameters: |
|
Output parameters: |
|
Request sample: | case_get_task_calendar ( “LCAAAAAAAAAAAA”, 32131, filter = '{from_date : "2017-04-01", "role" : "39"}') |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <result> <dates> <total> <events> <closed>5</closed> <open>4</open> <not_read>0</open> <flagged>0</flagged> </events> <tasks> <closed>5</closed> <open>4</open> </tasks> </total> <date> <value>2017-04-01</date> <events> <closed>5</closed> <open>4</open> <not_read>0</open> <flagged>0</flagged> </events> <tasks> <closed>5</closed> <open>4</open> </tasks> </date> <date>..</date> </dates> </result> <ErrorMsg></ErrorMsg> |
Notes: |
|
, multiple selections available,