From 2f3e6261de25f2c57d23e5f9d8d11f090e82c8f7 Mon Sep 17 00:00:00 2001 From: ruth Date: Sun, 28 Jul 2024 10:28:02 +0100 Subject: [PATCH] show issue type in 'add issue' form from encounter form (#7564) --- interface/patient_file/summary/add_edit_issue.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/patient_file/summary/add_edit_issue.php b/interface/patient_file/summary/add_edit_issue.php index 4299d8b8003..0edfd022783 100644 --- a/interface/patient_file/summary/add_edit_issue.php +++ b/interface/patient_file/summary/add_edit_issue.php @@ -812,7 +812,10 @@ function divclick(cb, divid) { $checked = ($index == $type_index) ? " checked" : ''; $disabled = (!AclMain::aclCheckIssue($key, '', ['write', 'addonly'])) ? " disabled" : ''; $str = ''; - echo vsprintf($str, [attr($index), attr_js($index), $checked, $disabled]); + if ($key != 'medical_device') { /* rm/brady millr - medical device does not work correctly */ + echo vsprintf($str, [attr($index), attr_js($index), $checked, $disabled]); + echo text($value[1] . " "); /*rm - display issue type name */ + } } ++$index;