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

            Assert.IsTrue(_id > 0, "failed");
        }
Ejemplo 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));
        }
Ejemplo n.º 3
0
 public int updatePatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose)
 {
     return(_patientRepository.updatePatientClaimDiagnose(Mapper.Map <DTO.PatientClaimDiagnose, MMC.Core.Data.Model.PatientClaimDiagnose>(_patientClaimDiagnose)));
 }
Ejemplo n.º 4
0
 public int updatePatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose)
 {
     return(_patientClaimDiagnoseRepo.Update(_patientClaimDiagnose));
 }
Ejemplo n.º 5
0
 public int addPatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose)
 {
     return(_patientClaimDiagnoseRepo.Add(_patientClaimDiagnose).PatientClaimDiagnosisID);
 }