To determine the time needed for a caregiver in a hospital to reach a patient using CMX API is possible by doing the following.
You can get the coordinates of a wireless device using CMX API
api/location/v2/clients?macAddress=<MAC-Id> would return the MapCoordinates in the response.
You want to query this API and get the location of both caregiver and patient. Using their coordinates, You can calculate the distance between them and can estimate the time required to reach the patient.
Also, you want to consider in which Campus/Building/Floor the caregiver and patient is, while calculating the distance to travel.
Please sign in to leave a comment.