public ConsultAppDoctorsViewModel(INavigationService navigationService, ISetStatusBarColor setStatusBarColor) : base(navigationService)
 {
     this.navigationService = navigationService;
     this.setStatusBarColor = setStatusBarColor;
     this.setStatusBarColor.SetStatusBarColor(Color.White);
     SelectedIndex = -1;
 }
Exemple #2
0
 public PendingConsultationPageViewModel(INavigationService navigationService, IToast toast, ISetStatusBarColor setStatusBarColor) : base(navigationService)
 {
     this.navigationService = navigationService;
     this.setStatusBarColor = setStatusBarColor;
     this.toast             = toast;
     this.setStatusBarColor.SetStatusBarColor(Color.White);
 }
        public DiagnosisPageViewModel(INavigationService navigationService, ISetStatusBarColor setStatusBarColor, ILocation location) : base(navigationService)
        {
            this.setStatusBarColor = setStatusBarColor;
            this.setStatusBarColor.SetStatusBarColor(Color.White);

            this.location = location;

            this.navigationService = navigationService;
        }
        public RegisterViewModel(INavigationService navigationService, ISetStatusBarColor setStatusBarColor) : base(navigationService)
        {
            this.navigationService = navigationService;
            this.setStatusBarColor = setStatusBarColor;
            setStatusBarColor.SetStatusBarColor(Color.White);
            RegisterCommand = new DelegateCommand(async() => await Register());

            NameError   = true;
            GenderError = true;

            MaxDate = DateTime.Now;
        }
        public HomePageViewModel(INavigationService navigationService, ISetStatusBarColor setStatusBarColor, ILocation location) : base(navigationService)
        {
            this.setStatusBarColor = setStatusBarColor;
            this.setStatusBarColor.SetStatusBarColor(Color.FromHex("E6EDFF"));
            this.location = location;

            this.navigationService = navigationService;

            Buttons = new ObservableCollection <ButtonsModel>()
            {
                new ButtonsModel
                {
                    Title    = "Diagnostic",
                    FontIcon = "\uf0f1",
                    Commands = new DelegateCommand(async() => await this.navigationService.NavigateAsync("ConsultPage")),
                },
                new ButtonsModel
                {
                    Title    = "Shots",
                    FontIcon = "\uf48e",
                    Commands = new DelegateCommand(async() => await this.navigationService.NavigateAsync("")),
                },
                new ButtonsModel
                {
                    Title    = "Consultation",
                    FontIcon = "\uf095",
                    Commands = new DelegateCommand(async() => await navigationService.NavigateAsync(""))
                },
                new ButtonsModel
                {
                    Title    = "Ambulance",
                    FontIcon = "\uf0f9",
                    Commands = new DelegateCommand(async() => await navigationService.NavigateAsync(""))
                },
                new ButtonsModel
                {
                    Title    = "Nurse",
                    FontIcon = "\uf0f0",
                    Commands = new DelegateCommand(async() => await navigationService.NavigateAsync(""))
                },
                new ButtonsModel
                {
                    Title    = "Lab Work",
                    FontIcon = "\uf0f8",
                    Commands = new DelegateCommand(async() => await navigationService.NavigateAsync(""))
                },
            };
        }
Exemple #6
0
 public OnboardingViewModel(INavigationService navigationService, ISetStatusBarColor setStatusBarColor) : base(navigationService)
 {
     this.navigationService = navigationService;
     setStatusBarColor.SetStatusBarColor(Color.White);
     Onboarding = new ObservableCollection <OnboardingModel>
     {
         new OnboardingModel
         {
             Title    = "Stay Home! Consult virtually via ConsultApp",
             Contents = "Use ConsultApp to virtually diagnose what you feel today.",
             Image    = ImageSource.FromResource("ConsultApp.Helpers.Images.doc1.png", typeof(ImageResourceExtension).GetTypeInfo().Assembly),
             NextPage = new DelegateCommand(async() => await NextPosition()),
         },
         new OnboardingModel
         {
             Title    = "Stay Home, Stay Safe, Stay Strong!",
             Contents = "Avoid crowded medical centers and gain ease of mind amidst of dangers nowadays.",
             Image    = ImageSource.FromResource("ConsultApp.Helpers.Images.doc2.png", typeof(ImageResourceExtension).GetTypeInfo().Assembly),
             NextPage = new DelegateCommand(async() => await NextPosition()),
         },
         new OnboardingModel
         {
             Title    = "Stay Bright!",
             Contents = "ConsultApp offers an array of informations about different diseases.",
             Image    = ImageSource.FromResource("ConsultApp.Helpers.Images.doc3.png", typeof(ImageResourceExtension).GetTypeInfo().Assembly),
             NextPage = new DelegateCommand(async() => await NextPosition()),
         },
         new OnboardingModel
         {
             Title    = "Stay Calm!",
             Contents = "Schedule an e-visit and discuss the plan with a doctor.",
             Image    = ImageSource.FromResource("ConsultApp.Helpers.Images.doc4.png", typeof(ImageResourceExtension).GetTypeInfo().Assembly),
             NextPage = new DelegateCommand(async() => await NextPosition()),
         },
     };
 }
        public DoctorsPageViewModel(INavigationService navigationService, ISetStatusBarColor setStatusBarColor) : base(navigationService)
        {
            this.setStatusBarColor = setStatusBarColor;
            this.setStatusBarColor.SetStatusBarColor(Color.White);

            Triage = new ObservableCollection <DoctorsAndSpecializationsModel>()
            {
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. ALCANTARA, Danilo M",
                    Specialization = "Cardiology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = " Dr. DE JESUS, Olivia G.",
                    Specialization = "Acupuncture",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. FRAN, Mary Anne S.",
                    Specialization = "Allergology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. ANTOLIN, Marco",
                    Specialization = "Anesthesia",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = " Dr. CACAS, Rowena G.",
                    Specialization = "Angiology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. MANUEL, Ronald C.",
                    Specialization = "Anthroposophical medicine",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. ARANDIA, Christene Pearl",
                    Specialization = "Child psychiatry",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AVECILLA, Guia",
                    Specialization = "Plastic surgery",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. DEL MORAL",
                    Specialization = "Dermatology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. BACCAY, Michael Martin C.",
                    Specialization = "Endocrinology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. CERCADO, Ephraim",
                    Specialization = "Forensic medicine",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. DELA CRUZ, Juan",
                    Specialization = "Gastroenterology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. DESALES, Rey A.",
                    Specialization = "General practice",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr.ESTIOCO, Francis Irving S.",
                    Specialization = "Geriatric medicine",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "BAYLON, HONORATA G.",
                    Specialization = "Gynecology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. BONIFACIO, LYNN BAQUIRAN",
                    Specialization = "Internal medicine",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. BAYLON, HONORATA G.",
                    Specialization = "Hand surgery",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. CAGUIOA, LESLIE G.",
                    Specialization = "Hematology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. ALCANTARA, DANILO G.",
                    Specialization = "Homeopathy",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. SELUDO, BERNADETTE T.",
                    Specialization = "Infectiology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. VERGARA, NONILON",
                    Specialization = "Manual medicine",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AMPARO, JOSE ROBERT",
                    Specialization = "Maxillo Surgery"
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AGRAVA, MA. AMPARO C.",
                    Specialization = "Nephrology"
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. CRUZ, ROMULUS EMMANUEL",
                    Specialization = "Neurology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. CRUZ, ROMULUS EMMANUEL",
                    Specialization = "Occupational medicine"
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. MORA, JOSELITO A.",
                    Specialization = "Oncology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. PINE, FLORENCIO J.",
                    Specialization = "Ophthalmology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. RENALES, MA. LINA",
                    Specialization = "Orthopedics",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. VILLANUEVA, MARLENE E.",
                    Specialization = "Otolaryngology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AGNO, MAY N.",
                    Specialization = "Pathology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AYUYAO, FERNANDO",
                    Specialization = "Pediatrics",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AYUYAO, FERNANDO",
                    Specialization = "Pulmonology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. VERGARA, NONILON",
                    Specialization = "Psychiatry",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AMPARO, JOSE ROBERT",
                    Specialization = "Tropical medicine"
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AGRAVA, MA. AMPARO C.",
                    Specialization = "Sports medicine"
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. CRUZ, ROMULUS EMMANUEL",
                    Specialization = "Surgery",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. CRUZ, ROMULUS EMMANUEL",
                    Specialization = "Radiology"
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. MORA, JOSELITO A.",
                    Specialization = "Rheumatology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. PINE, FLORENCIO J.",
                    Specialization = "Urology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. RENALES, MA. LINA",
                    Specialization = "Dentistry",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. VILLANUEVA, MARLENE E.",
                    Specialization = "Orthodontics",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AGNO, MAY N.",
                    Specialization = "Oral surgery",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AYUYAO, FERNANDO",
                    Specialization = "Periodontology",
                },
                new DoctorsAndSpecializationsModel
                {
                    Doctor         = "Dr. AYUYAO, FERNANDO",
                    Specialization = "Reconstructive dentistry",
                },
            };
            AssignAvailabilityAndHospital();
        }
 public DoctorsPageViewModel(INavigationService navigationService, ISetStatusBarColor setStatusBarColor) : base(navigationService)
 {
     this.navigationService = navigationService;
     setStatusBarColor.SetStatusBarColor(Color.White);
 }