Esempio n. 1
0
        public YellowstonePathology.YpiConnect.Contract.Billing.BillingAccessionCollection GetBillingAccessionsByBirthdate(DateTime birthdate, YellowstonePathology.YpiConnect.Contract.Identity.WebServiceAccount webServiceAccount)
        {
            BillingGateway gateway = new BillingGateway();

            YellowstonePathology.YpiConnect.Contract.Billing.BillingAccessionCollection billingAccessionCollection = null;
            if (webServiceAccount.PrimaryClientId == 0)
            {
                billingAccessionCollection = gateway.GetBillingAccessionsByBirthdate(birthdate, webServiceAccount);
            }
            else
            {
                billingAccessionCollection = gateway.GetBillingAccessionsByBirthdateClient(birthdate, webServiceAccount);
            }
            return(billingAccessionCollection);
        }
Esempio n. 2
0
        public YellowstonePathology.YpiConnect.Contract.Billing.BillingAccessionCollection GetBillingAccessionsByLastNameAndFirstName(string lastName, string firstName, YellowstonePathology.YpiConnect.Contract.Identity.WebServiceAccount webServiceAccount)
        {
            BillingGateway gateway = new BillingGateway();

            YellowstonePathology.YpiConnect.Contract.Billing.BillingAccessionCollection billingAccessionCollection = null;
            if (webServiceAccount.PrimaryClientId == 0)
            {
                billingAccessionCollection = gateway.GetBillingAccessionsByLastNameAndFirstName(lastName, firstName, webServiceAccount);
            }
            else
            {
                billingAccessionCollection = gateway.GetBillingAccessionsByLastNameAndFirstNameClient(lastName, firstName, webServiceAccount);
            }
            return(billingAccessionCollection);
        }
Esempio n. 3
0
        public YellowstonePathology.YpiConnect.Contract.Billing.BillingAccessionCollection GetBillingAccessionsByReportNo(string reportNo, YellowstonePathology.YpiConnect.Contract.Identity.WebServiceAccount webServiceAccount)
        {
            BillingGateway gateway = new BillingGateway();

            YellowstonePathology.YpiConnect.Contract.Billing.BillingAccessionCollection billingAccessionCollection = null;
            if (webServiceAccount.PrimaryClientId == 0)
            {
                billingAccessionCollection = gateway.GetBillingAccessionsByReportNo(reportNo, webServiceAccount);
            }
            else
            {
                billingAccessionCollection = gateway.GetBillingAccessionsByReportNoClient(reportNo, webServiceAccount);
            }
            return(billingAccessionCollection);
        }
Esempio n. 4
0
        public YellowstonePathology.YpiConnect.Contract.Billing.BillingDetail GetBillingDetail(string reportNo, bool getMemoryStream, YellowstonePathology.YpiConnect.Contract.Identity.WebServiceAccount webServiceAccount)
        {
            BillingGateway gateway = new BillingGateway();

            return(gateway.GetBillingDetail(reportNo, getMemoryStream, webServiceAccount));
        }