Analytics, machine learning aid hospice in helping patients