This RPC finds a list of patients that are currently admitted, as XML in ^TMP($J,"HMP",n).
Text array formatted XML