LOCATION (WARD or CLINIC) --> PATIENT --> TREATING SPECIALITY -->
PERSON (PROVIDER or NOT) --> PATIENT LIST --> CURRENT LIST.
Therefore, if the user wishes to produce Dr. James Doe's PROVIDER list,
and enters DOE,J and the search encounters a patient named DOE,JOHN, it
will ALWAYS return the patient first. Likewise, if the PATIENT LIST
names are prefixed with characters which exactly match Hospital locations,
then the WARD or CLINIC list will always be identified before the
corresponding PATIENT or TEAM list. We therefore recommend that you name
personal PATIENT LISTs by their owner's initials, followed by a number,
The precedence in which the Patient Look-up will search to determine what
and TEAM LISTs by the word "TEAM" followed by a location or speciality,
the user's input means may influence the way in which input is interpreted,
particularly if patient's, provider's, or person's names coincide, or if
team lists are named identically with Hospital Locations.
When input is received, the look-up will proceed to try to find a match
in the following sequence: