{% load opalplugins %}
<p
   ng-hide="episode.category != 'inpatient' || hide_discharge_action == true")
   >
  <button 
     ng-hide="profile.readonly"
     ng-click="dischargeEpisode(episode)"
     class="btn btn-primary btn-sm">
      <i class="fa fa-home"></i>
      <span ng-show="episode.discharge_date">Confirm</span>
      Discharge
  </button>
</p>
{% application_actions %}
