private void getNeonatalScreeningData(int PatientId) { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { screeningValue = 1; foreach (var value in screeningList) { neonatalscreeningvalue = neonatalscreeningvalue + 1; RadioButtonList rbl = (RadioButtonList)PHNeonatalHistory.FindControl(value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } } } var PCN = new PatientClinicalNotesLogic(); List <PatientClinicalNotes> neonatalNotesList = PCN.getPatientClinicalNotesById(PatientId, Convert.ToInt32(LookupLogic.GetLookupItemId("NeonatalNotes"))); if (neonatalNotesList.Any()) { screeningValue = 1; foreach (var value in neonatalNotesList) { immscreeningvalue = immscreeningvalue + 0; TextBox ntb = (TextBox)PHNeonatalHistoryNotes.FindControl(value.NotesCategoryId.ToString()); if (ntb != null) { ntb.Text = value.ClinicalNotes; } } } }
public void getPNSData() { var PCN = new PatientClinicalNotesLogic(); List <PatientClinicalNotes> notesList = PCN.getPatientClinicalNotes(PatientId); if (notesList.Any()) { foreach (var value in notesList) { //RefId = Convert.ToInt32(value.NotesCategoryId); TextBox ntb = (TextBox)PHNutritionScreeningNotes.FindControl("nutritionatb" + value.NotesCategoryId.ToString()); if (ntb != null) { ntb.Text = value.ClinicalNotes; } } } var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { foreach (var value in screeningList) { //RefId = Convert.ToInt32(value.ScreeningTypeId); RadioButtonList rbl = (RadioButtonList)PHNutritionScreeningNotes.FindControl("nutritionarb" + value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } } } }
public void getCageaidData(int PatientId) { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { foreach (var value in screeningList) { screenTypeId = Convert.ToInt32(value.ScreeningTypeId); RadioButtonList rblPC1Qs = (RadioButtonList)PHCageFrequency.FindControl("cage" + value.ScreeningCategoryId.ToString()); if (rblPC1Qs != null) { rblPC1Qs.SelectedValue = value.ScreeningValueId.ToString(); } } } var PCN = new PatientClinicalNotesLogic(); List <PatientClinicalNotes> notesList = PCN.getPatientClinicalNotes(PatientId); if (notesList.Any()) { foreach (var value in notesList) { TextBox ntb = (TextBox)PHCAGEAIDScore.FindControl("cage" + value.NotesCategoryId.ToString()); if (ntb != null) { ntb.Text = value.ClinicalNotes; } } } }
protected void getReferrals(int patientId, int patientMasterVisitId) { var PCN = new PatientClinicalNotesLogic(); List <PatientClinicalNotes> notesList = PCN.getPatientClinicalNotes(PatientId); if (notesList.Any()) { foreach (var value in notesList) { RefId = Convert.ToInt32(value.NotesCategoryId); TextBox ntb = (TextBox)QuestionsPlaceholder.FindControl(value.NotesCategoryId.ToString()); if (ntb != null) { ntb.Text = value.ClinicalNotes; } } } var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { foreach (var value in screeningList) { RefId = Convert.ToInt32(value.ScreeningTypeId); RadioButtonList rbl = (RadioButtonList)QuestionsPlaceholder.FindControl(value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } } } }
public void getPatientNotesandScreening() { var PCN = new PatientClinicalNotesLogic(); var PSM = new PatientScreeningManager(); //get screening data PatientScreening[] patientScreeningData = PSM.GetPatientScreening(PatientId).ToArray(); Session["patientScreeningData"] = patientScreeningData; //get notes data PatientClinicalNotes[] patientNotesData = PCN.getPatientClinicalNotes(PatientId).ToArray(); Session["patientNotesData"] = patientNotesData; }
private void getFrequencyData(int patientId) { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(patientId); if (screeningList != null) { foreach (var value in screeningList) { RadioButtonList rbl = (RadioButtonList)PHCageFrequency.FindControl("cage" + value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } } } }
private void getSocialHistory(int patientId) { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(patientId); if (screeningList != null) { foreach (var value in screeningList) { RadioButtonList rbl = (RadioButtonList)PlaceHolder1.FindControl(value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } } } }
protected void getUnderstanding(int patientId, int patientMasterVisitId) { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { foreach (var value in screeningList) { understandingId = Convert.ToInt32(value.ScreeningTypeId); RadioButtonList rbl = (RadioButtonList)QuestionsPlaceholder.FindControl(value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } } } }
public void getGbvScreeningData(int PatientId) { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { foreach (var value in screeningList) { screenTypeId = Convert.ToInt32(value.ScreeningTypeId); RadioButtonList rblPC1Qs = (RadioButtonList)PHgbvquestions.FindControl("gbv" + value.ScreeningCategoryId.ToString()); if (rblPC1Qs != null) { rblPC1Qs.SelectedValue = value.ScreeningValueId.ToString(); } } } }
protected void getRecordTannersStaging(int PatientId) { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { foreach (var value in screeningList) { tannersScreeningValue = tannersScreeningValue + 1; RadioButtonList rbl = (RadioButtonList)PHTannersStaging.FindControl(value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } } } }
public void getDisclosureData(int patientId) { var PSM = new PatientScreeningManager(); PatientScreening[] screeningList = PSM.GetPatientScreening(PatientId).ToArray(); if (screeningList != null) { foreach (var value in screeningList) { RadioButtonList rbl = (RadioButtonList)FindControl("disclosurerbl" + value.ScreeningCategoryId.ToString()); if (rbl != null) { rbl.SelectedValue = value.ScreeningValueId.ToString(); } DropDownList ddl = (DropDownList)FindControl("disclosureddl" + value.ScreeningCategoryId.ToString()); if (ddl != null) { ddl.SelectedValue = value.ScreeningValueId.ToString(); } } } }
public void getDepressionScreeningData() { var PSM = new PatientScreeningManager(); List <PatientScreening> screeningList = PSM.GetPatientScreening(PatientId); if (screeningList != null) { foreach (var value in screeningList) { depressionId = Convert.ToInt32(value.ScreeningTypeId); RadioButtonList rblPC1Qs = (RadioButtonList)PlaceHolder1.FindControl(value.ScreeningCategoryId.ToString()); if (rblPC1Qs != null) { rblPC1Qs.SelectedValue = value.ScreeningValueId.ToString(); } RadioButtonList rblPC2Qs = (RadioButtonList)PlaceHolder2.FindControl(value.ScreeningCategoryId.ToString()); if (rblPC2Qs != null) { rblPC2Qs.SelectedValue = value.ScreeningValueId.ToString(); } } } var PCN = new PatientClinicalNotesLogic(); List <PatientClinicalNotes> notesList = PCN.getPatientClinicalNotes(PatientId); if (notesList.Any()) { foreach (var value in notesList) { TextBox ntb = (TextBox)PlaceHolder2.FindControl(value.NotesCategoryId.ToString()); if (ntb != null) { ntb.Text = value.ClinicalNotes; } } } }