admit($_POST); header("Location: view.php?pid=".$_POST["pid"]); exit(); } if(!empty($_GET["pid"])){ $pid=$_GET["pid"]; if(!empty($_POST["diagnosis"]) || !empty($_POST["summary"])){ $db->editCase($pid, $_POST["diagnosis"], $_POST["summary"]); } $form=schema2form("forms/admission.schema.json", $pid); } else{ $form=schema2form("forms/admission.schema.json"); } ?> Admission

Patient Information

> ">
Admission ID can NOT be changed after entry. Hence, make abolutely sure that you enter the correct admission ID before saving.