Immediately after a patient reserves a location, I would like to identify the “group” containing this location.
I have the following command for identifying a location reserved by a patient:
getname(tonode(get (first (var (patient, VAR_PatientDestination)))))
I would like to know if this command can be made more efficient and, secondly, how do I identify the group that the reserved location belongs to?
Tee Hiett
Tee H. Hiett, Ph.D.
Professor Emeritus
Department of Health Services Administration
University of Alabama at Birmingham