コード例 #1
0
ファイル: export_config.php プロジェクト: jfurlong/BLIS
echo "<br><br>";
$specimen_id_list = get_lab_config_specimen_types($lab_config->id);
var_dump($specimen_id_list);
foreach($specimen_id_list as $specimen_id)
{
	$specimen = Specimen::getById($specimen_id);
	//echo $specimen->getName();
	echo "<br>";
}
echo "<hr>";
echo "<br>";
*/
# Fields used
echo "<b>" . $LANG_ARRAY['lab_config_home']['MENU_CUSTOM'] . "</b>";
echo "<br><br>";
$page_elems->getRegistrationFieldsSummary($lab_config);
echo "<br><br>";
echo "<b>" . $LANG_ARRAY['lab_config_home']['CUSTOMFIELDS'] . " - " . LangUtil::$generalTerms['PATIENTS'] . "</b>";
echo "<br><br>";
$custom_field_list = $lab_config->getPatientCustomFields();
foreach ($custom_field_list as $custom_field) {
    $field_name = $custom_field->fieldName;
    echo $field_name;
    echo "<br>";
}
echo "<br><br>";
echo "<b>" . $LANG_ARRAY['lab_config_home']['CUSTOMFIELDS'] . " - " . LangUtil::$generalTerms['SPECIMENS'] . "</b>";
echo "<br><br>";
$custom_field_list = $lab_config->getSpecimenCustomFields();
foreach ($custom_field_list as $custom_field) {
    $field_name = $custom_field->fieldName;