refactored home patient scheduling into directive