| PRM(.PARAM) | 
Returns site parameters from the FIM Parameter file
#783.9
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PARAM | 
Both | 
Array name, passed by reference, in which results
will be returned as:
PARAM(1) = InstitutionName ^ Station# ^ Mail
Group (#.03) ^ FSOD Note Title (#.04) ^ FSOD
Note Title name ^ NonFSOD Note Title (#.05) ^
NonFSOD Note Title name ^ Consult Title (#.06) ^
Consult Title name ^ # of Facility Codes (#10) ^
DTIME
PARAM(n) = Facility Code (#783.9001/.01) ^ Type
of Care (#.02)
 
 | 
 
 | 
LC(.LIST,PATIENT) | 
Returns a list of cases from the FIM file #783 for a
patient, at a given facility
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PATIENT | 
Input | 
String consisting of DFN^FAC where
DFN=Patient file #2 IEN
FAC=Facility Code, from FIM Parameters #783.9
 
 | 
LIST | 
Both | 
Array name, passed by reference, in which results
will be returned as:
LIST(1) = # of cases returned
LIST(n) = Case (#.02) ^ Patient (#.03) ^
Facility Code (#.06) ^ Admit Date (#.1) ^
Discharge Date (#.11)
 
 | 
 
 | 
GC(.RES,CASE) | 
Returns the details of a case from the FIM file #783
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
CASE | 
Input | 
Site Case Number (#.02)
 
 | 
RES | 
Both | 
Array name, passed by reference, in which results
will be returned as:
RES(1) = IEN (#.01) ^ Case Number (#.02) ^
Patient (#.03) ^ Pt ID (#.04) ^ Pt DOB (#.05) ^
Facility Code (#.06) ^ Type of Care (#.07) ^
Impairment Group (#.08) ^ Onset Date (#.09) ^
Admit Date (#.1) ^ Discharge (#.11) ^
Prog Note IEN (#.16) ^ Email ID (#.17)
RES(2) = ^RMIM(783,D0,1)
RES(3) = ^RMIM(783,D0,2)
RES(4) = ^RMIM(783,D0,3)
RES(5) = ^RMIM(783,D0,4)
RES(6) = ^RMIM(783,D0,5)
RES(7) = ^RMIM(783,D0,6)
RES(8) = ^RMIM(783,D0,7)
RES(9) = ^RMIM(783,D0,8)
RES(10)= Note (#100), first line of text
RES(n) = Note (#100), additional lines of text
 
 | 
 
 |