"; foreach ($data as $key => $value) { // here we check for current ???? what ? session ? if ( $key == "id" || $key == "pid" || $key == "user" || $key == "groupname" || $key == "authorized" || $key == "activity" || $key == "date" || $value == "" || $value == "0000-00-00 00:00:00" ) { continue; } // larry :: ??? - is this for check box or select or what ? if ($value == "on") { $value = "yes"; } // Intakedatum if ($key == "intakedatum") { print "" . xlt('Intake Date') . ": " . nl2br(text($value)) . ""; } // Reden van aanmelding if ($key == "reden_van_aanmelding") { print "" . xlt('Reason for Visit') . ": " . nl2br(text($value)) . ""; } // Klachten/Probleemgebieden if ($key == "klachten_probleemgebieden") { print "" . xlt('Problem List') . ": " . nl2br(text($value)) . ""; } // Hulpverlening en/of onderzoek tot nu toe if ($key == "hulpverlening_onderzoek") { print "" . xlt('Psychiatric History') . ": " . nl2br(text($value)) . ""; } // Hulpvraag en doelen if ($key == "hulpvraag_en_doelen") { print "" . xlt('Treatment Goals') . ": " . nl2br(text($value)) . ""; } // Bijzonderheden systeem if ($key == "bijzonderheden_systeem") { print "" . xlt('Specialty Systems') . ": " . nl2br(text($value)) . ""; } // Werk/ opleiding/ vrije tijdsbesteding if ($key == "werk_opleiding_vrije_tijdsbesteding") { print "" . xlt('Work/ Education/ Hobbies') . ": " . nl2br(text($value)) . ""; } // Relatie(s)/ kinderen if ($key == "relatie_kinderen") { print "" . xlt('Relation(s) / Children') . ": " . nl2br(text($value)) . ""; } // Somatische context if ($key == "somatische_context") { print "" . xlt('Somatic Context') . ": " . nl2br(text($value)) . ""; } ///////////////////////////////////////////////////// // - one line entry forms // alcohol if ($key == "alcohol") { print "" . xlt('Alcohol') . ": " . nl2br(text($value)) . ""; } // drugs if ($key == "drugs") { print "" . xlt('Drugs') . ": " . nl2br(text($value)) . ""; } // roken if ($key == "roken") { print "" . xlt('Tobacco') . ": " . nl2br(text($value)) . ""; } //////////////////////////////////////////////////////// // Medicatie if ($key == "medicatie") { print "" . xlt('Medications') . ": " . nl2br(text($value)) . ""; } // Familieanamnese if ($key == "familieanamnese") { print "" . xlt('Family History') . ": " . nl2br(text($value)) . ""; } // Indruk/observaties if ($key == "indruk_observaties") { print "" . xlt('Assessment') . ": " . nl2br(text($value)) . ""; } // Beschrijvende conclusie if ($key == "beschrijvende_conclusie") { print "" . xlt('Conclusions') . ": " . nl2br(text($value)) . ""; } // Behandelvoorstel if ($key == "behandelvoorstel") { print "" . xlt('Treatment Plan') . ": " . nl2br(text($value)) . ""; } // increment records counter $count++; // check if not at the end close/open new row if ($count == $cols) { $count = 0; print "\n"; } } } print ""; }