Beispiel #1
0
        public override void BindControls()
        {
            DataSet dsHealthHomeDocuments = new DataSet();

            dsHealthHomeDocuments = BaseCommonFunctions.GetScreenInfoDataSet();

            DataView dataViewClinician = SHS.BaseLayer.SharedTables.GetSharedTableStaff();

            dataViewClinician.RowFilter = "Clinician='Y' and Active='Y' and ISNULL(RecordDeleted,'N')<>'Y'";
            dataViewClinician.Sort      = "StaffName ASC";
            DropDownList_CustomDocumentHealthHomeCrisisPlans_ClinicianFacilitatingDischarge.DataTextField  = "StaffName";
            DropDownList_CustomDocumentHealthHomeCrisisPlans_ClinicianFacilitatingDischarge.DataValueField = "StaffId";
            DropDownList_CustomDocumentHealthHomeCrisisPlans_ClinicianFacilitatingDischarge.DataSource     = dataViewClinician;
            DropDownList_CustomDocumentHealthHomeCrisisPlans_ClinicianFacilitatingDischarge.DataBind();
            DropDownList_CustomDocumentHealthHomeCrisisPlans_ClinicianFacilitatingDischarge.Items.Insert(0, new ListItem("", "0"));
            DropDownList_CustomDocumentHealthHomeCrisisPlans_ClinicianFacilitatingDischarge.SelectedIndex = 0;
            CustomGrid_CustomDocumentHealthHomeCommPlanFamilyMembers.Bind(ParentDetailPageObject.ScreenId);
            CustomGrid_CustomDocumentHealthHomeMentalHealthCrisisPlanSteps.Bind(ParentDetailPageObject.ScreenId);
            CustomGrid_CustomDocumentHealthHomeCrisisPlanTypes.Bind(ParentDetailPageObject.ScreenId);
            CustomGrid_CustomDocumentHealthHomeCarePlanDiagnoses.Bind(ParentDetailPageObject.ScreenId);

            using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XDIAGNOSISSOURCE", true, "", "", false))
            {
                if (DataViewGlobalCodes != null)
                {
                    DataViewGlobalCodes.Sort = "SortOrder asc";
                    DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataTextField  = "CodeName";
                    DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataValueField = "GlobalCodeID";
                    DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataSource     = DataViewGlobalCodes;
                    DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataBind();
                    DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.Items.Insert(0, new ListItem("", "0"));
                }
            }
        }
Beispiel #2
0
 public override void BindControls()
 {
     CustomGrid_CustomDocumentHealthHomeCarePlanDiagnoses.Bind(ParentDetailPageObject.ScreenId);
     using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XENCOUNTERREASON", true, "", "", false))
     {
         if (DataViewGlobalCodes != null)
         {
             DataViewGlobalCodes.Sort = "SortOrder asc";
             DropDownList_CustomDocumentHealthHomeServiceNotes_ReasonTodaysEncounter.DataTextField  = "CodeName";
             DropDownList_CustomDocumentHealthHomeServiceNotes_ReasonTodaysEncounter.DataValueField = "GlobalCodeID";
             DropDownList_CustomDocumentHealthHomeServiceNotes_ReasonTodaysEncounter.DataSource     = DataViewGlobalCodes;
             DropDownList_CustomDocumentHealthHomeServiceNotes_ReasonTodaysEncounter.DataBind();
             DropDownList_CustomDocumentHealthHomeServiceNotes_ReasonTodaysEncounter.Items.Insert(0, new ListItem("", "0"));
             DropDownList_CustomDocumentHealthHomeServiceNotes_ReasonTodaysEncounter.SelectedIndex = 0;
         }
     }
     using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XDIAGNOSISSOURCE", true, "", "", false))
     {
         if (DataViewGlobalCodes != null)
         {
             DataViewGlobalCodes.Sort = "SortOrder asc";
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataTextField  = "CodeName";
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataValueField = "GlobalCodeID";
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataSource     = DataViewGlobalCodes;
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataBind();
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.Items.Insert(0, new ListItem("", "0"));
         }
     }
 }
Beispiel #3
0
 public override void BindControls()
 {
     DynamicFormsDiagnosticRiskAssessment.FormId = 95;
     DynamicFormsDiagnosticRiskAssessment.Activate();
     CustomGrid_CustomDocumentHealthHomeCarePlanDiagnoses.Bind(10977);
     CustomGrid_CustomDocumentHealthHomeCarePlanPESNeeds.Bind(ParentDetailPageObject.ScreenId);
     using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XDIAGNOSISSOURCE", true, "", "", false))
     {
         if (DataViewGlobalCodes != null)
         {
             DataViewGlobalCodes.Sort = "SortOrder asc";
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataTextField  = "CodeName";
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataValueField = "GlobalCodeID";
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataSource     = DataViewGlobalCodes;
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataBind();
             DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.Items.Insert(0, new ListItem("", "0"));
         }
     }
     using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XICPNEEDS", true, "", "", false))
     {
         DataViewGlobalCodes.Sort = "SortOrder asc";
         DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataTextField  = "CodeName";
         DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataValueField = "GlobalCodeID";
         DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataSource     = DataViewGlobalCodes;
         DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataBind();
         DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.Items.Insert(0, new ListItem("", "0"));
     }
 }
Beispiel #4
0
        public override void BindControls()
        {
            IntegratedCarePlanCreatedBy = BaseCommonFunctions.ApplicationInfo.LoggedInUser.UserCode;
            // Bind Screen Id to each Custom Grid
            CustomGrid_CustomDocumentHealthHomeCarePlanBHGoals.Bind(ParentDetailPageObject.ScreenId);
            CustomGrid_CustomDocumentHealthHomeCarePlanOutcomes.Bind(ParentDetailPageObject.ScreenId);
            CustomGrid_CustomDocumentHealthHomeCarePlanDiagnoses.Bind(ParentDetailPageObject.ScreenId);
            CustomGrid_CustomDocumentHealthHomeCarePlanLongTermCareOutcomes.Bind(ParentDetailPageObject.ScreenId);
            CustomGrid_CustomDocumentHealthHomeCarePlanPESNeeds.Bind(ParentDetailPageObject.ScreenId);
            // Bind Dropdowns
            using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XICPNEEDS", true, "", "", false))
            {
                DataViewGlobalCodes.Sort = "SortOrder asc";
                DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataTextField  = "CodeName";
                DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataValueField = "GlobalCodeID";
                DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataSource     = DataViewGlobalCodes;
                DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.DataBind();
                DropDownList_CustomDocumentHealthHomeCarePlanPESNeeds_PsychosocialSupportNeedType.Items.Insert(0, new ListItem("", "0"));
            }

            using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XICPLTTYPES", true, "", "", false))
            {
                DataViewGlobalCodes.Sort = "SortOrder asc";
                DropDownList_CustomDocumentHealthHomeCarePlans_AdmitToFacilityType.DataTextField  = "CodeName";
                DropDownList_CustomDocumentHealthHomeCarePlans_AdmitToFacilityType.DataValueField = "GlobalCodeID";
                DropDownList_CustomDocumentHealthHomeCarePlans_AdmitToFacilityType.DataSource     = DataViewGlobalCodes;
                DropDownList_CustomDocumentHealthHomeCarePlans_AdmitToFacilityType.DataBind();
                DropDownList_CustomDocumentHealthHomeCarePlans_AdmitToFacilityType.Items.Insert(0, new ListItem("", "0"));
            }

            using (DataView DataViewGlobalCodes = BaseCommonFunctions.FillDropDown("XDIAGNOSISSOURCE", true, "", "", false))
            {
                DataViewGlobalCodes.Sort = "SortOrder asc";
                DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataTextField  = "CodeName";
                DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataValueField = "GlobalCodeID";
                DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataSource     = DataViewGlobalCodes;
                DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.DataBind();
                DropDownList_CustomDocumentHealthHomeCarePlanDiagnoses_DiagnosisSource.Items.Insert(0, new ListItem("", "0"));
            }
        }