public IActionResult GetExamination(int id) { var jmbg = HttpContext.User.FindFirst("Jmbg").Value; return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.PatientServiceUrl, "/api/patient/" + jmbg + "/examination/" + id, Method.GET)); }
public IActionResult GetSurveyResultAboutDoctor(string jmbg) { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.FeedbackAndSurveyServiceUrl, "/api/survey/report/doctor/" + jmbg, Method.GET)); }
public ActionResult GetPermissions() { var patientJmbg = HttpContext.User.FindFirst("Jmbg").Value; return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.FeedbackAndSurveyServiceUrl, "/api/survey/patient/" + patientJmbg + "/permission", Method.GET)); }
public IActionResult GetPatientMedicalInfo() { var jmbg = HttpContext.User.FindFirst("Jmbg").Value; return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.PatientServiceUrl, "/api/patient/" + jmbg + "/medical-info", Method.GET)); }
public IActionResult GetPatientByJmbg() { var jmbg = HttpContext.User.FindFirst("Jmbg").Value; return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/patient/" + jmbg, Method.GET)); }
public ActionResult PublishFeedback(int id) { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.FeedbackAndSurveyServiceUrl, "/api/feedback/" + id + "/publish", Method.POST)); }
public IActionResult GetSpecialities() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/specialty", Method.GET)); }
public IActionResult GetActionBenefits() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/action", Method.GET)); }
public ActionResult ActivatePatient(string jmbg) { string decryptedJmbg = _encryptionService.DecryptString(jmbg); return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/patient/" + decryptedJmbg + "/activate", Method.POST)); }
public ActionResult GetPreviousExaminationsByPatient() { var patientJmbg = HttpContext.User.FindFirst("Jmbg").Value; return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.ScheduleServiceUrl, "/api/examination/finished/patient/" + patientJmbg, Method.GET)); }
public ActionResult CancelExamination(int id) { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.ScheduleServiceUrl, "/api/examination/" + id + "/cancel", Method.POST)); }
public ActionResult Get(int id) { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.ScheduleServiceUrl, "/api/examination/" + id, Method.GET)); }
public IActionResult GetCitiesByCountryId(int countryId) { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/city/country/" + countryId, Method.GET)); }
public IActionResult GetSpecialistDoctorsBySpecialtyId(int id) { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/doctor/specialty/" + id, Method.GET)); }
public ActionResult GetAllDoctors() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/doctor", Method.GET)); }
public IActionResult GetSurveyResultAboutHospital() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.FeedbackAndSurveyServiceUrl, "/api/survey/report/hospital", Method.GET)); }
public IActionResult GetAll() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.EventSourcingServiceUrl, "/api/patientSchedulingEvent", Method.GET)); }
public IActionResult GetMaliciousPatients() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/patient/malicious", Method.GET)); }
public ActionResult GetTherapiesByPatient() { var patientJmbg = HttpContext.User.FindFirst("Jmbg").Value; return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.PatientServiceUrl, "/api/patient/" + patientJmbg + "/therapy", Method.GET)); }
public ActionResult BlockPatient(string jmbg) { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/patient/" + jmbg + "/block", Method.POST)); }
public IActionResult GetCountries() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.UserServiceUrl, "/api/country", Method.GET)); }
public ActionResult GetUnpublishedFeedbacks() { return(RequestAdapter.SendRequestWithoutBody(_serviceSettings.FeedbackAndSurveyServiceUrl, "/api/feedback/unpublished", Method.GET)); }