<p ng-hide="opat" ng-show="episode.category == 'OPAT'">
  <button 
     ng-hide="profile.readonly"
     ng-click="dischargeEpisode(episode)"
     class="btn btn-primary btn-sm">
    <i class="glyphicon glyphicon-ok"></i>
    <span ng-show="episode.hasTag('opat_referrals')" >Accept / refuse</span>
    <span ng-show="episode.hasTag('opat_current')" >Completed IV</span>
    <span ng-show="episode.hasTag('opat_followup')" >Next</span> 
  </button>
</p>

<p ng-hide="ward_round" ng-show="episode.category == 'OPAT'">
  <button 
     ng-hide="profile.readonly"
     ng-click="dischargeEpisode(episode)"
     class="btn btn-primary btn-sm">
    <i class="glyphicon glyphicon-ok"></i>
    <span ng-show="episode.hasTag('opat_referrals')" >Accept / refuse</span>
    <span ng-show="episode.hasTag('opat_current')" >Completed IV</span>
    <span ng-show="episode.hasTag('opat_followup')" >Next</span> 
  </button>
</p>

Use the real variable name please
Use the real variable name please
