public NewLabOrder(int patientID, string providerID, string providerName) { InitializeComponent(); this.thisPatientID = patientID; this.thisProviderID = providerID; this.thisProviderName = providerName; LabNameBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; LabNameBox.AutoCompleteSource = AutoCompleteSource.CustomSource; LabNameBox.AutoCompleteCustomSource = AutoComplete.LabNameCollection(); }
public UpdateProblem(int problemID, string problemName, string problemDescription, int patientID) { InitializeComponent(); this.thisProblemID = problemID; this.ProblemBox.Text = problemName; this.DescriptionBox.Text = problemDescription; this.thisPatientID = patientID; ProblemBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; ProblemBox.AutoCompleteSource = AutoCompleteSource.CustomSource; ProblemBox.AutoCompleteCustomSource = AutoComplete.ProblemAutoComplete(); }
public NewPrescriptionForm(int patientID, string providerName, string providerID) { InitializeComponent(); this.thisPatientID = patientID; this.thisProviderName = providerName; this.thisProviderID = providerID; MedicationBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; MedicationBox.AutoCompleteSource = AutoCompleteSource.CustomSource; MedicationBox.AutoCompleteCustomSource = AutoComplete.PrescriptionNameAutoComplete(); }
public NewProblem(int patientID, string providerName, string providerID) { this.thisPatientID = patientID; this.thisProviderName = providerName; this.thisProviderID = providerID; InitializeComponent(); ProblemBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; ProblemBox.AutoCompleteSource = AutoCompleteSource.CustomSource; ProblemBox.AutoCompleteCustomSource = AutoComplete.ProblemAutoComplete(); }
public NewAllergie(int patientID, string providerID, string providerName) { InitializeComponent(); this.thispatientID = patientID; this.thisProviderID = providerID; this.thisProviderName = providerName; this.WindowState = FormWindowState.Normal; AllergyNameBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; AllergyNameBox.AutoCompleteSource = AutoCompleteSource.CustomSource; AllergyNameBox.AutoCompleteCustomSource = AutoComplete.AllergyNameAutoComplete(); }
public UpdatePrescription(string prescriptionName, string amount, string strength, string frequency, double?numberOfRefills, string route, int prescriptionID, int patientID) { InitializeComponent(); this.MedicationBox.Text = prescriptionName; this.AmountBox.Text = amount; this.StrengthBox.Text = strength; this.FrequencyBox.Text = frequency; this.RefillsBox.Text = numberOfRefills.ToString(); this.RouteBox.Text = route; this.thisPrescriptionID = prescriptionID; this.thisPatientID = patientID; MedicationBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; MedicationBox.AutoCompleteSource = AutoCompleteSource.CustomSource; MedicationBox.AutoCompleteCustomSource = AutoComplete.PrescriptionNameAutoComplete(); }
private void NewAppointment_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'eMRDatabaseDataSet.PatientProviderRelation' table. You can move, or remove it, as needed. this.patientProviderRelationTableAdapter.Fill(this.eMRDatabaseDataSet.PatientProviderRelation); this.Visible = true; this.patientTableAdapter.Fill(this.eMRDatabaseDataSet.Patient); this.WindowState = FormWindowState.Normal; this.PatientListView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; this.PatientListView.MultiSelect = false; PatientIDNum.AutoCompleteMode = AutoCompleteMode.SuggestAppend; PatientIDNum.AutoCompleteSource = AutoCompleteSource.CustomSource; PatientIDNum.AutoCompleteCustomSource = AutoComplete.PatientIDAutoComplete(); FirstName.AutoCompleteMode = AutoCompleteMode.SuggestAppend; FirstName.AutoCompleteSource = AutoCompleteSource.CustomSource; FirstName.AutoCompleteCustomSource = AutoComplete.PatientFirstNameAutoComplete(); LastName.AutoCompleteMode = AutoCompleteMode.SuggestAppend; LastName.AutoCompleteSource = AutoCompleteSource.CustomSource; LastName.AutoCompleteCustomSource = AutoComplete.PatientLastNameAutoComplete(); this.dateTimePicker1.Value = calendarItem.StartDate; this.dateTimePicker2.Value = calendarItem.EndDate; if (isUpdated) { } }