Esempio n. 1
0
        public void addPatientClaimDiagnose()
        {
            PatientClaimDiagnose _PatientClaimDiagnose = new PatientClaimDiagnose
            {
                icdICDNumber   = "0020",
                PatientClaimID = 1
            };
            var _id = _patientRepository.addPatientClaimDiagnose(_PatientClaimDiagnose);

            Assert.IsTrue(_id > 0, "failed");
        }
Esempio n. 2
0
        public ActionResult SavePatientClaimDiagnose(PatientClaimDiagnose PatientClaimDiagnoseDetails)
        {
            var _Result = GlobalConst.ConstantChar.Zero;

            try
            {
                if (PatientClaimDiagnoseDetails.PatientClaimID != GlobalConst.ConstantChar.Zero)
                {
                    _Result = _iPatientService.addPatientClaimDiagnose(Mapper.Map <MMCService.PatientService.PatientClaimDiagnose>(PatientClaimDiagnoseDetails));
                }
            }
            catch
            {
                _Result = GlobalConst.ConstantChar.Zero;
            }
            return(Json(_Result));
        }
Esempio n. 3
0
 public int updatePatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose)
 {
     return(_patientRepository.updatePatientClaimDiagnose(Mapper.Map <DTO.PatientClaimDiagnose, MMC.Core.Data.Model.PatientClaimDiagnose>(_patientClaimDiagnose)));
 }
Esempio n. 4
0
 public int updatePatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose)
 {
     return(_patientClaimDiagnoseRepo.Update(_patientClaimDiagnose));
 }
Esempio n. 5
0
 public int addPatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose)
 {
     return(_patientClaimDiagnoseRepo.Add(_patientClaimDiagnose).PatientClaimDiagnosisID);
 }