https://kescape.com/algorithms-for-hospice