//Appointment Model to be used in all the appointment based pages & components class AppointmentModel { static var SHARED_DATA = 'appointment-model'; static var PATIENT_DATA = 'patient-model'; var DoctorSpeciality = []; var List_HIS_GetContactLensPerscription = []; var List_HIS_GetGlassPerscription = []; var SetupID; var ProjectID; var AppointmentNo; var AppointmentDate; var AppointmentDateN; var AppointmentType; var BookDate; var PatientType; var PatientID; var ClinicID; var DoctorID; var EndDate; var StartTime; var EndTime; var Status; var VisitType; var VisitFor; var PatientStatusType; var CompanyID; var BookedBy; var BookedOn; var ConfirmedBy; var ConfirmedOn; var ArrivalChangedBy; var ArrivedOn; var EditedBy; var EditedOn; var DoctorName; var DoctorNameN; var StatusDesc; var StatusDescN; var VitalStatus; var VitalSignAppointmentNo; var ClinicName; var ComplainExists; var DoctorImageURL; var DoctorNameObj; var DoctorRate; var DoctorTitle; var Gender; var GenderDescription; var IsActiveDoctor; var IsActiveDoctorProfile; var IsExecludeDoctor; var IsMedicalReportRequested; var ProjectName; var QR; var SMSButtonVisable; var DoctorRatingDetailsList; var AvgDoctorRatingList; var IsLiveCareAppointment; var OriginalClinicID; var OriginalProjectID; var StrAppointmentDate; /* the check in parameters */ // if onlince checked in mean user paid the appointment var IsOnlineCheckedIN; // if user is allowed to pay for the appointment var ISAllowOnlineCheckedIN; var PatientShare; var CompanyName; var PatientTaxAmount; var PatientShareWithTax; var IsFollowup; var IsDoctorAllowVedioCall; static String getAppointmentTransID(appo) { return appo.ProjectID + '-' + appo.ClinicID + '-' + appo.AppointmentNo; } }