Builds a list of patients who are assigned to the selected team. format of the list is ^TMP($J,"SCTEAM",n)=DFN.