ANSWER:
Upon admission to the inpatient setting.
STEP-BY-STEP EXPLANATION:
An inpatient admission is generally appropriate when you're expected to need 2 or more midnights of medically necessary hospital care, but your doctor must order such admission and the hospital must formally admit you in order for you to become an inpatient.