Beispiel #1
0
 function showRespondentFieldDBSReceived($primkey)
 {
     $respondent = new Respondent($primkey);
     $lab = new Lab($primkey);
     $lab->setFieldDBSCollectedDate(loadvar('dbsdate'));
     $lab->setFieldDBSReceivedDate(date('Y-m-d'));
     $lab->setFieldDBSStatus(1);
     $lab->saveChanges();
     $displayNurse = new DisplayNurse();
     $message = $displayNurse->displayInfo(Language::labelNurseDBSCollectionDateAdded());
     return $displayNurse->showRespondentInfo($respondent, $message);
 }