public MedicalRecord SetPatient(Patient.Patient patient) { var record = new MedicalRecord(this); record.Patient = patient; return(record); }
public void SelectPatient(Patient.Patient patient) { selectedPatient = patient; patientTxtBox.Text = patient.patient_name; contactNoTxtBox.Text = patient.contact_no; addressTxtBox.Text = patient.address; dobTxtBox.Text = patient.DOB; allergiesTxtBox.Text = patient.allergies; bloodTypeTxtBox.Text = patient.blood_type; }