From: Donald Harrison on
Howdy, I'm seeking to get an answers for my next piece of analysis which
is identifying patients who made visits to each of the hospital and flag
them as follow

Pat_id ST-JO NEPEA PRINC WESTM
1 1 . . .
2 1 . 1 .
3 . . . 1
4 . 1 . .
5 1 . 1 1
6 . 1 1 .
7 . . . 1
8 . 1 . 1
9 . 1 . .
10 1 . . .
11 . 1 . .
12 1 . . .
13 . 1 . .
14 . . 1 .
15 1 1 1 .

Pat_id only_at_St_John only_at_Nepean only_at_PRINC only_at_WESTM
1 ONLY VISITED NEVER VISITED NEVER VISITED NEVER VISITED
2 MULTI MULTI MULTI MULTI
3 NEVER VISITED NEVER VISITED NEVER VISITED ONLY VISITED
4 NEVER VISITED ONLY VISITED NEVER VISITED NEVER VISITED
5 MULTI MULTI MULTI MULTI
6 MULTI MULTI MULTI MULTI
7 NEVER VISITED NEVER VISITED NEVER VISITED ONLY VISITED
8 MULTI MULTI MULTI MULTI
9 NEVER VISITED ONLY VISITED NEVER VISITED NEVER VISITED
10 ONLY VISITED NEVER VISITED NEVER VISITED NEVER VISITED
11 NEVER VISITED ONLY VISITED NEVER VISITED NEVER VISITED
12 ONLY VISITED NEVER VISITED NEVER VISITED NEVER VISITED
13 NEVER VISITED ONLY VISITED NEVER VISITED NEVER VISITED
14 NEVER VISITED NEVER VISITED ONLY VISITED NEVER VISITED
15 MULTI MULTI MULTI MULTI

hopefully this will come out right.

Many Thanks