rehab appointment api