Skip to content

Commit 202f7d9

Browse files
committed
RA-1747:Remove or hide admit button
1 parent 27573e6 commit 202f7d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: omod/src/main/webapp/pages/clinicianfacing/patient.gsp

+2
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ ${ ui.includeFragment("coreapps", "patientHeader", [ patient: patient.patient, a
118118
<h3 >${ ui.message("coreapps.clinicianfacing.activeVisitActions") }</h3>
119119
<% visitActions.each { ext -> %>
120120
<li class="float-left">
121+
<% if((ext.label) != "Admit to inpatient") %>
121122
<a href="${ ui.escapeJs(ext.url("/" + ui.contextPath(), appContextModel, ui.thisUrl())) }" id="${ ext.id }" class="float-left">
122123
<div class="row">
123124
<div class="col-1 col-lg-2">
@@ -128,6 +129,7 @@ ${ ui.includeFragment("coreapps", "patientHeader", [ patient: patient.patient, a
128129
</div>
129130
</div>
130131
</a>
132+
<% } %>
131133
</li>
132134
<% } %>
133135
</ul>

0 commit comments

Comments
 (0)