Ejemplo n.º 1
0
        //"StarSI" type="bh:AdmissionStarSIDef" minOccurs="0"/>
        //"FamilyReunification" type="bh:AdmissionFamilyReunificationDef" minOccurs="0"/>
        //"WomensProgram" type="bh:AdmissionWomensProgramDef" minOccurs="0"/>
        //"PayingBoard" type="bh:BoardNumberDef" minOccurs="1" maxOccurs="unbounded"/>
        //"GAF" type="integer" minOccurs="0" maxOccurs="1"/>
        //"MHSecondary" type="bh:AddMHSecondaryDef" minOccurs="0" maxOccurs="1"/>

        public void Initialize()
        {
            DateOfFirstContact       = DateTime.Now.Date.AddMonths(-5);
            AdmissionDate            = DateOfFirstContact.AddDays(1);
            CompletelyPaidByMedicaid = false;
            LevelOfCare = new LevelOfCare();
            //"NotConsistentWithAssessment" type="bh:NotConsistentWithAssessmentDef" minOccurs="0"/>
            //"GamblingDisorderScreen" type="boolean" minOccurs="0"/>
            //"GamblingDisorderAssessment" type="boolean" minOccurs="0"/>
            //"ProviderEpisodeNumber" type="bh:ProviderEpisodeNumberDef" minOccurs="0"/>
            ReferredBy                 = new ReferredBy();
            MaritalStatus              = new MaritalStatus();
            EducationLevel             = new EducationLevel();
            EducationEnrollment        = new EducationEnrollment();
            EmploymentStatus           = new EmploymentStatus();
            SourceOfIncomeSupport      = new SourceOfIncomeSupport();
            LivingArrangement          = new LivingArrangement();
            PriorAODTxtEpisodes        = new PriorAODTxtEpisodes();
            MentalHealthHistory        = true;
            Diagnoses                  = new Diagnoses();
            OpioidReplacementTherapy   = new OpioidReplacementTherapy();
            NumberOfChildrenUnder18    = 2;
            SpecialPopulation          = new SpecialPopulation();
            ChildBirthWithinLast5Years = true;
            NumberOfBirths             = 0;
            ClientPregnant             = false;
            StageOfPregnancy           = new StageOfPregnancy();
            MilitaryStatus             = new MilitaryStatus();
            ServedInIraq               = false;
            ServedInAfghanistan        = false;
            AlcoholAgeOfFirstIntox     = 15;
            DrugUse = new DrugUse();
            NumberOfArrestsPast30Days = 0;
            Reimbursement             = new Reimbursement();
            SelfHelp = new SelfHelp();
        }
Ejemplo n.º 2
0
        public Admission(int id, Client client, DateTime dateOfFirstContact, DateTime admissionDate, bool completelyPaidByMedicaid, LevelOfCare levelOfCare, ReferredBy referredBy, MaritalStatus maritalStatus, EducationLevel educationLevel, EducationEnrollment educationEnrollment, EmploymentStatus employmentStatus, SourceOfIncomeSupport sourceOfIncomeSupport, LivingArrangement livingArrangement, PriorAODTxtEpisodes priorAODTxtEpisodes, bool mentalHealthHistory, Diagnoses diagnoses, OpioidReplacementTherapy opioidReplacementTherapy, int numberOfChildrenUnder18, SpecialPopulation specialPopulation, bool childBirthWithinLast5Years, int numberOfBirths, bool clientPregnant, StageOfPregnancy stageOfPregnancy, MilitaryStatus militaryStatus, bool servedInIraq, bool servedInAfghanistan, int alcoholAgeOfFirstIntox, DrugUse drugUse, int numberOfArrestsPast30Days, Reimbursement reimbursement, SelfHelp selfHelp)
        {
            this.id = id;
            RaiseIfClientIsNull("Admission Client", client);
            RaiseIfTooOld("Date of First Contact", dateOfFirstContact, new DateTime(2000, 1, 1));
            RaiseIfTooOld("Admission Date", admissionDate, new DateTime(2000, 1, 1));
            RaiseIfDateTooEarly("Admission Date", admissionDate, "Date of First Contact", dateOfFirstContact);
            this.dateOfFirstContact       = dateOfFirstContact;
            this.admissionDate            = admissionDate;
            this.completelyPaidByMedicaid = completelyPaidByMedicaid;

            RaiseIfNull("Level of Care", levelOfCare);
            this.levelOfCare = levelOfCare;

            RaiseIfNull("Referred By", referredBy);
            this.referredBy = referredBy;

            RaiseIfNull("Marital Status", maritalStatus);
            this.maritalStatus = maritalStatus;

            RaiseIfNull("Education Level", educationLevel);
            this.educationLevel = educationLevel;

            RaiseIfNull("Education Enrollment", educationEnrollment);
            this.educationEnrollment = educationEnrollment;

            RaiseIfNull("Employment Status", employmentStatus);
            this.employmentStatus = employmentStatus;

            RaiseIfNull("Source of Income Support", sourceOfIncomeSupport);
            this.sourceOfIncomeSupport = sourceOfIncomeSupport;

            //RaiseIfNull("Living Arrangement", livingArrangement);
            this.livingArrangement = livingArrangement;

            //RaiseIfNull("Prior AOD Treatment Episodes", priorAODTxtEpisodes);
            this.priorAODTxtEpisodes = priorAODTxtEpisodes;

            //RaiseIfNull("", );
            this.mentalHealthHistory      = mentalHealthHistory;
            this.diagnoses                = diagnoses;
            this.opioidReplacementTherapy = opioidReplacementTherapy;

            RaiseIfNotInRange("Number of Children Under 18", numberOfChildrenUnder18, 0, 99);
            this.numberOfChildrenUnder18 = numberOfChildrenUnder18;

            this.specialPopulation = specialPopulation;

            RaiseIfChildbirthTrueAndClientIsMale("Childbirth Within Last 5 Years", childBirthWithinLast5Years, client.Gender);
            this.childBirthWithinLast5Years = childBirthWithinLast5Years;


            this.numberOfBirths         = numberOfBirths;
            this.clientPregnant         = clientPregnant;
            this.stageOfPregnancy       = stageOfPregnancy;
            this.militaryStatus         = militaryStatus;
            this.servedInIraq           = servedInIraq;
            this.servedInAfghanistan    = servedInAfghanistan;
            this.alcoholAgeOfFirstIntox = alcoholAgeOfFirstIntox;
            this.drugUse = drugUse;
            this.numberOfArrestsPast30Days = numberOfArrestsPast30Days;
            this.reimbursement             = reimbursement;
            this.selfHelp = selfHelp;
        }