add flow for view patient