some changes for patient management service