After the effective treatment dose of PecFent has been established patients will enter stage 2. Patients will not move to stage 2 if the treatment dose of PecFent is not deemed effective. Stage 2 will test a range of doses of Epistatus in terms of efficacy in treating agitation alone instead of subcutaneous midazolam (or in combination with the effective treatment dose of PecFent for pain and agitation).