Пример #1
0
        /// <summary>
        /// Default constructor for client, so no null values are returned on initial views.
        /// </summary>
        public Client()
        {
            raceID                     = 1;
            ethnicityID                = 1;
            clientStatusID             = 1;
            primaryLanguageID          = 1;
            schoolInfoID               = 1;
            communicationPreferencesID = 1;
            sexID              = 1;
            officeID           = 1;
            memberTypeID       = 1;
            altID              = "";
            accountingSystemID = "";
            TKIDcaseNumber     = 0;

            // Referral
            referralSource = "";
            agencyFrom     = "";

            // Demographics
            firstName     = "";
            middleInitial = "";
            lastName      = "";
            fullName      = "";
            ageInMonths   = 0;
            ssn           = 0;

            // Address
            clientAddress = new Address();

            // Contact
            phone = new AdditionalContactInfoModel();

            clientDiagnosis = new List <Diagnosis>();

            clientFamily = new List <Family>();
            guardian     = new Family();

            clientPhysicians = new List <Physician>();

            clientStaff        = new List <Staff>();
            intakeCoordinator  = new Models.Staff();
            serviceCoordinator = new Staff();
            caseManager        = new Staff();

            clientInsurance = new List <ClientInsurance>();

            clientComments = new List <Comments>();

            clientReferrals = new List <Referral>();

            caseManager = new Staff();

            insertClientComplete        = false;
            insertClientDetailsComplete = false;
            insertFamilyComplete        = false;
            insertReferralComplete      = false;
        }
Пример #2
0
 public Staff()
 {
     firstName        = "";
     lastName         = "";
     middleInitial    = "";
     fullName         = "";
     staffAltID       = "";
     deleted          = false;
     sexID            = 1;
     status           = 1;
     addressesID      = 1;
     memberType       = "";
     memberTypeID     = 3;
     staffTypeID      = 1;
     DOB              = (DateTime)System.Data.SqlTypes.SqlDateTime.MinValue;
     SSN              = 1;
     handicapped      = false;
     staffAddress     = new Address();
     staffContact     = new AdditionalContactInfoModel();
     staffContactList = new List <AdditionalContactInfoModel>();
 }