public ApiResult GetMyMemberDDL([FromUri] DoctorMemberCondition condition) { doctorMemberService = new DoctorMemberService(CurrentOperatorUserID); condition.DoctorID = CurrentOperatorDoctorID; var result = doctorMemberService.GetMyMemberDDL(condition); return(result.ToApiResultForList()); }
public ApiResult GetDoctorMemberEMRs([FromUri] UserMemeberQueryDTO dto) { doctorMemberService = new DoctorMemberService(CurrentOperatorUserID); var data = doctorMemberService.GetDoctorMemberEMRs(CurrentOperatorDoctorID, dto.MemberId, dto.DoctorMemberID, dto.CurrentPage, dto.PageSize, dto.Keyword); var ret = data.Data.ToApiResultForObject(); ret.Total = data.Total; return(ret); }
public ApiResult GetMyMemberInfo(string doctorMemberID) { doctorMemberService = new DoctorMemberService(CurrentOperatorUserID); var model = doctorMemberService.GetMyMemberInfo(doctorMemberID); if (model != null) { return(model.ToApiResultForObject()); } else { return(EnumApiStatus.BizError.ToApiResultForApiStatus()); } }
public ApiResult GetMyMemberVisitList([FromUri] DoctorMemberCondition condition) { doctorMemberService = new DoctorMemberService(CurrentOperatorUserID); condition.UserID = CurrentOperatorUserID; var model = doctorMemberService.GetMyMemberVisitList(condition); if (model != null) { return(model.ToApiResultForList()); } else { return new ApiResult() { Data = null } }; }
public ApiResult GetMemberInfo([FromUri] string MemberID, string UserID) { BLL.DoctorMemberService doctorPatientService = new DoctorMemberService(CurrentOperatorUserID); return(doctorPatientService.GetMemberInfo(CurrentOperatorDoctorID, UserID, MemberID).ToApiResultForObject()); }
public DoctorMemberController() { doctorMemberService = new DoctorMemberService(CurrentOperatorUserID); }