public void Regis(ref trn_patient_regi pregis, APITrakcare.GetPTArrivedResult arrived) { try { pregis.tpr_appoint_type = islate(arrived.appointdate, arrived.arrivaldate) ? 'L' : 'T'; pregis.tpr_appointment_date = arrived.appointdate; pregis.tpr_arrive_date = arrived.arrivaldate; pregis.tpr_arrive_type = arrived.appointdate != null ? 'A' : 'W'; } catch (Exception ex) { Class.globalCls.MessageError("RegisterCls", "Regis", ex.Message); throw ex; } }
public void PatientByGetPTArrived(ref trn_patient patient, APITrakcare.GetPTArrivedResult arrived) { }