Esempio n. 1
0
        public SpecimenReport RetriveIndividualSubjectForSpecimenTestReports(MolLabReportIndividualRequest rData)
        {
            string stProc = FetchMolecularLabSpecimenTestReportIndividual;
            var    pList  = new List <SqlParameter>()
            {
                new SqlParameter("@MolecularLabId", rData.molecularLabId),
                new SqlParameter("@Input", rData.input),
            };
            var awDetail     = UtilityDL.FillData <MolecularLabSpecimenReport>(stProc, pList);
            var foetusDetail = UtilityDL.FillData <MolecularLabFoetusResult>(stProc, pList);
            var report       = new SpecimenReport();

            report.anwDetail    = awDetail;
            report.foetusDetail = foetusDetail;
            return(report);
        }
Esempio n. 2
0
        public SpecimenReport RetriveSubjectForMolecularSpecimenTestReports(MolecularLabReportRequest rData)
        {
            string stProc = FetchMolecularLabSpecimenTestReports;
            var    pList  = new List <SqlParameter>()
            {
                new SqlParameter("@MolecularLabId", rData.molecularLabId),
                new SqlParameter("@FromDate", rData.fromDate),
                new SqlParameter("@ToDate", rData.toDate),
                new SqlParameter("@DistrictID", rData.districtId),
                new SqlParameter("@CHCID", rData.chcId),
            };
            var awDetail     = UtilityDL.FillData <MolecularLabSpecimenReport>(stProc, pList);
            var foetusDetail = UtilityDL.FillData <MolecularLabFoetusResult>(stProc, pList);
            var report       = new SpecimenReport();

            report.anwDetail    = awDetail;
            report.foetusDetail = foetusDetail;
            return(report);
        }