function get_patient_and_sample_data()
{
    echo '<table   style="background:light;"><form method=post>
					<tr  style="background:lightpink;">
						<td colspan=10 >Patient Name: <input  type=text name=name> MRD: SUR/' . date("y") . '/<input onblur="checkInp(\'mrd\')" type=number id=mrd name=mrd size=10 maxlength=8></td>
					</tr>
					<tr>
						<td   style="background:lightgreen;">Department</td>
						<td  style="background:lightgreen;">
							<input type=hidden readonly id="selected_department" name="selected_department"/>';
    list_department();
    echo '</td>
						<td   style="background:lightgray;">Sample Type</td>
						<td   style="background:lightgray;">
							<input type=hidden readonly id="selected_sample_details" name="selected_sample_details"/>';
    list_sample_details();
    echo '</tr><tr>
						<td   style="background:lightgray;">Profile</td>
						<td   colspan=10 style="background:lightgray;">';
    list_profile();
    echo '</tr>
						<tr>
							<td   colspan=10 style="background:lightgray;">';
    list_scope();
    echo '</td>
							<td   style="background:lightblue;"><h1><button type=input style="height:100%;width:100%;padding:0;margin:0;" type=submit name=action value=insert_new><h1>Submit</button></h1></td>
						</tr>
						</table></form>';
}
function get_sample_data()
{
    echo '<table   style="background:light;">
					<tr  style="background:lightpink;">';
    echo '<td   style="background:lightgray;">
							<input type=hidden readonly id="selected_sample_type" name="selected_sample_type"/>';
    list_sample_type();
    echo '</td>';
    echo '<td   style="background:lightpink;">
							<input type=hidden readonly id="selected_preservative" name="selected_preservative"/>';
    list_preservative();
    echo '</td>';
    echo '<td style="background:lightblue;">
							<input type=hidden readonly id="selected_sample_details" name="selected_sample_details"/>';
    list_sample_details();
    echo '</td>';
    echo '</tr><tr>';
    echo '</td>';
    echo '				<td   style="background:lightyellow;"><h1>
							<button type=input style="height:100%;width:100%;padding:0;margin:0;" 
							type=submit name=action value=insert_new_2><h1>Submit</button></h1></td>';
    echo '</tr></table>';
}