Exemplo n.º 1
0
 public void DoClientRecentCaseSearch()
 {
     YellowstonePathology.YpiConnect.Contract.Search.Search search = new YellowstonePathology.YpiConnect.Contract.Search.Search();
     search.SearchType       = YellowstonePathology.YpiConnect.Contract.Search.SearchTypeEnum.RecentCases;
     search.SearchParameters = new List <object>();
     search.SearchParameters.Add(DateTime.Today.AddDays(-30));
     search.WebServiceAccount = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount;
     this.m_SearchResults     = this.m_SearchServiceProxy.ExecuteClientSearch(search);
     this.NotifyPropertyChanged("");
 }
Exemplo n.º 2
0
 public void DoClientLastNameSearch(string lastName)
 {
     YellowstonePathology.YpiConnect.Contract.Search.Search search = new YellowstonePathology.YpiConnect.Contract.Search.Search();
     search.SearchType       = YellowstonePathology.YpiConnect.Contract.Search.SearchTypeEnum.PatientLastNameSearch;
     search.SearchParameters = new List <object>();
     search.SearchParameters.Add(lastName);
     search.WebServiceAccount = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount;
     this.m_SearchResults     = this.m_SearchServiceProxy.ExecuteClientSearch(search);
     this.NotifyPropertyChanged("");
 }
Exemplo n.º 3
0
 public void DoPathologistDateOfBirthSearch(DateTime dateOfBirth)
 {
     YellowstonePathology.YpiConnect.Contract.Search.Search search = new YellowstonePathology.YpiConnect.Contract.Search.Search();
     search.SearchType       = YellowstonePathology.YpiConnect.Contract.Search.SearchTypeEnum.DateOfBirth;
     search.SearchParameters = new List <object>();
     search.SearchParameters.Add(dateOfBirth);
     search.SearchParameters.Add(YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.SystemUserId);
     search.WebServiceAccount = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount;
     this.m_SearchResults     = this.m_SearchServiceProxy.ExecutePathologistSearch(search);
     this.NotifyPropertyChanged("");
 }
Exemplo n.º 4
0
 public void DoPathologistSSNSearch(string ssn)
 {
     YellowstonePathology.YpiConnect.Contract.Search.Search search = new YellowstonePathology.YpiConnect.Contract.Search.Search();
     search.SearchType       = YellowstonePathology.YpiConnect.Contract.Search.SearchTypeEnum.SocialSecurityNumber;
     search.SearchParameters = new List <object>();
     search.SearchParameters.Add(ssn);
     search.SearchParameters.Add(YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.SystemUserId);
     search.WebServiceAccount = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount;
     this.m_SearchResults     = this.m_SearchServiceProxy.ExecutePathologistSearch(search);
     this.NotifyPropertyChanged("");
 }
Exemplo n.º 5
0
 public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection ExecutePathologistSearch(YellowstonePathology.YpiConnect.Contract.Search.Search search)
 {
     return(this.m_Channel.ExecutePathologistSearch(search));
 }
Exemplo n.º 6
0
        public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection GetClientCasesByPatientLastNameAndFirstName(YellowstonePathology.YpiConnect.Contract.Search.Search search)
        {
            SearchGateway gateway = new SearchGateway();

            return(gateway.GetClientCasesByPatientLastNameAndFirstName(search));
        }
Exemplo n.º 7
0
        public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection GetClientCasesNotAcknowledged(YellowstonePathology.YpiConnect.Contract.Search.Search search)
        {
            SearchGateway gateway = new SearchGateway();

            return(gateway.GetClientCasesNotAcknowledged(search));
        }
Exemplo n.º 8
0
        public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection GetClientRecentCases(YellowstonePathology.YpiConnect.Contract.Search.Search search)
        {
            SqlCommand cmd = new SqlCommand();

            cmd.CommandText = "ws_GetClientRecentCases";
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.Parameters.Add("@ClientIdString", SqlDbType.VarChar).Value = search.WebServiceAccount.WebServiceAccountClientCollection.ToIdString();
            cmd.Parameters.Add("@StartDate", SqlDbType.DateTime).Value     = search.SearchParameters[0];
            return(this.BuildSearchResultCollection(cmd));
        }
Exemplo n.º 9
0
        public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection GetClientCasesByPhysicianId(YellowstonePathology.YpiConnect.Contract.Search.Search search)
        {
            SqlCommand cmd = new SqlCommand();

            cmd.CommandText = "ws_GetClientCasesByPhysicianId";
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.Parameters.Add("@PhysicianId", SqlDbType.Int).Value = search.SearchParameters[0];
            return(this.BuildSearchResultCollection(cmd));
        }
Exemplo n.º 10
0
        public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection GetRecentProfessionalCasesByFacilityId(YellowstonePathology.YpiConnect.Contract.Search.Search search)
        {
            SqlCommand cmd = new SqlCommand();

            cmd.CommandText = "ws_GetRecentProfessionalCasesByFacilityId";
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.Parameters.Add("@FacilityId", SqlDbType.VarChar).Value = search.SearchParameters[1];
            cmd.Parameters.Add("@StartDate", SqlDbType.DateTime).Value = search.SearchParameters[0];
            return(this.BuildSearchResultCollection(cmd));
        }
Exemplo n.º 11
0
        public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection GetPathologistCasesByPBirthDate(YellowstonePathology.YpiConnect.Contract.Search.Search search)
        {
            SqlCommand cmd = new SqlCommand();

            cmd.CommandText = "ws_GetPathologistCasesByPBirthDate";
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.Parameters.Add("@PathologistId", SqlDbType.Int).Value   = search.SearchParameters[1];
            cmd.Parameters.Add("@PBirthdate", SqlDbType.DateTime).Value = search.SearchParameters[0];
            return(this.BuildSearchResultCollection(cmd));
        }
Exemplo n.º 12
0
        public YellowstonePathology.YpiConnect.Contract.Search.SearchResultCollection GetPathologistCasesByPatientLastNameAndFirstName(YellowstonePathology.YpiConnect.Contract.Search.Search search)
        {
            SqlCommand cmd = new SqlCommand();

            cmd.CommandText = "ws_GetPathologistCasesByPatientLastNameAndFirstName";
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.Parameters.Add("@PathologistId", SqlDbType.Int).Value  = search.SearchParameters[2];
            cmd.Parameters.Add("@PLastName", SqlDbType.VarChar).Value  = search.SearchParameters[0];
            cmd.Parameters.Add("@PFirstName", SqlDbType.VarChar).Value = search.SearchParameters[1];
            return(this.BuildSearchResultCollection(cmd));
        }