SROAPIMS ;BIR/ADM - PIMS Information Retrieval ;01/24/07
Source file <SROAPIMS.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| ADM | ; find date(s) of admission and discharge
|
|
| ADSS | ; find date of admission/transfer to surgical service
|
|
| DISSS | ; find date of discharge/transfer to chronic care
|
|
| FOLLOW | ||
| STAY | ; find length of post-operative hospital stay
|
|
| END | ||
| PRIOR | ; loop through previous movements
|
|
| SERV | ; find service associated with movement
|
|
| SPEC | ; find specialty associated with movement
|
|
| NACUTE | ; determine if non-acute care transfer
|
|
| MCAR | ||
| EMPLOY | ; employment status preoperatively
|
|
| ADM1 | ; get information related to admission
; determine if admission was for observation ; quit if no specialty defined for admission |