Exemple #1
0
       // public PatientInsInfo insurance;

        public Patient()
        {
            if (PIMS.Program.currentUser is Doctor ||
               PIMS.Program.currentUser is MedStaff)
            {
                directory = new PatientDirInfo();
                treatment = new PatientTreatmentInfo();
                billing = new PatientBillingInfo();
                //insurance = new PatientInsInfo();
            }
            else if (PIMS.Program.currentUser is OfficeStaff)
            {
                directory = new PatientDirInfo();
                billing = new PatientBillingInfo();
               // insurance = new PatientInsInfo();
                treatment = null;
            }
            else
            {
                directory = new PatientDirInfo();
               // insurance = null;
                treatment = null;
                billing = null;
            }
        }
Exemple #2
0
        // public PatientInsInfo insurance;

        public Patient()
        {
            if (PIMS.Program.currentUser is Doctor ||
                PIMS.Program.currentUser is MedStaff)
            {
                directory = new PatientDirInfo();
                treatment = new PatientTreatmentInfo();
                billing   = new PatientBillingInfo();
                //insurance = new PatientInsInfo();
            }
            else if (PIMS.Program.currentUser is OfficeStaff)
            {
                directory = new PatientDirInfo();
                billing   = new PatientBillingInfo();
                // insurance = new PatientInsInfo();
                treatment = null;
            }
            else
            {
                directory = new PatientDirInfo();
                // insurance = null;
                treatment = null;
                billing   = null;
            }
        }