private void p_searchPage(){
		p_searchPane = new JPanel();
		p_searchPane.setBackground(SystemColor.activeCaption);
		p_searchPane.setLayout(null);
		
		JLabel lbl_searchPatient = new JLabel("Search Patient");
		lbl_searchPatient.setFont(new Font("Arial", Font.BOLD, 30));
		lbl_searchPatient.setBounds(376, 20, 221, 41);
		p_searchPane.add(lbl_searchPatient);
		JLabel lbl_HKID = new JLabel("HKID:");
		lbl_HKID.setFont(new Font("Arial", Font.PLAIN, 25));
		lbl_HKID.setBounds(343, 253, 80, 41);
		p_searchPane.add(lbl_HKID);
		
		JButton B_clear = new JButton("Clear");
		B_clear.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				SPT_HKID.setValue(null);
			}
		});
		B_clear.setFont(new Font("Arial", Font.PLAIN, 25));
		B_clear.setBounds(416, 366, 142, 70);
		p_searchPane.add(B_clear);
		
		JButton B_search = new JButton("Search");
		B_search.setBackground(new Color(245, 222, 179));
		B_search.addActionListener(new ActionListener() {
			
			public void actionPerformed(ActionEvent e) {
				int index = Patient.patientSearch(db, (String) SPT_HKID.getValue());
				if (index > -1){
					patient = db.getPatient(index);
					if (patient.getAge()>50)
						elderly = true;
					else
						elderly = false;
					SPT_HKID.setValue(null);
					PB_save.setEnabled(false);
					PB_update.setEnabled(true);
					cardLayout.show(contentPane, "Patient");
					try {
						patientPage();
					} catch (ParseException e1) {
						e1.printStackTrace();
					}
				} else if (index == -1){
					JOptionPane.showMessageDialog(null, "Patient cannot be found.","Search", JOptionPane.ERROR_MESSAGE);
				}
			}
		});
		B_search.setFont(new Font("Arial", Font.PLAIN, 25));
		B_search.setBounds(230, 366, 142, 70);
		p_searchPane.add(B_search);
		
		JButton B_menu = new JButton("Menu");
		B_menu.setBackground(new Color(255, 192, 203));
		B_menu.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				SPT_HKID.setValue(null);
				cardLayout.show(contentPane, "Menu");
			}
		});
		B_menu.setFont(new Font("Arial", Font.PLAIN, 25));
		B_menu.setBounds(602, 366, 142, 70);
		p_searchPane.add(B_menu);
	}