acute pain management in hospitalized patients