Skip to content

Commit

Permalink
show issue type in 'add issue' form from encounter form (openemr#7564)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthkonyn authored Jul 28, 2024
1 parent 6f89f4b commit 2f3e626
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion interface/patient_file/summary/add_edit_issue.php
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,10 @@ function divclick(cb, divid) {
$checked = ($index == $type_index) ? " checked" : '';
$disabled = (!AclMain::aclCheckIssue($key, '', ['write', 'addonly'])) ? " disabled" : '';
$str = '<input type="radio" name="form_type" value="%s" onclick="newtype(%s)" %s %s>';
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;
Expand Down

0 comments on commit 2f3e626

Please sign in to comment.