Download Health Care Personal
Transcript
HCP – Final Report v1.1 Visibility: public Purpose: Reset all the edit text, radio button and spinner to default values Parameters and return: No Parameter Type In/Out Description 01 view View In The View which is needed 4.2.1.1.5 DetailPatient Attributes Attributes Type Visibility Description btnDelete Button private The button to delete a Patient btnEdit Button private The button to pass to the Edit Patient screen bundle Bundle private The bundle which need to get the variable pass from the last screen intent Intent private The Intent which need to get the variable pass from the last screen patient Patient private The patient’s instance to get the patient pass from the last screen patientDAO PatientDAO private The PatientDAO to work with database patientID int private The Is of the patient tvBirthYear TextView private The TextView to display patient’s Year Of Birth tvPatientName TextView private The TextView to display patient’s Name tvPersonType TextView private The TextView to display patient’s Person Type tvGender TextView private The TextView to display patient’s Gender Methods Name: patientDelete () Return: none Visibility: public Purpose: Display a dialog with 2 choices : “Xóa” and “Hủy”. The Patient will be remove from database when user choose “Xóa”, or return to Detail Patient screen when user choose “Hủy” Parameters and return: No Parameter Type In/Out 63/195 Description