| DESCRIPTION |
This with return information about an admission event. This RPC is a
wrapper around the IN5^VADPT API. If you pass in a date, then the data
related to that date and admission will be returned, If no date is
passed, then get inpatient status as of NOW.
For more detailed description, see IN^DSICDPT routine.
|
| INPUT PARAMETER |
-
- DFN
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 15
- REQUIRED: YES
- SEQUENCE NUMBER: 1
- DESCRIPTION:
This is the pointer value to the PATIENT file (i.e., DFN)
-
- DATE
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 13
- REQUIRED: NO
- SEQUENCE NUMBER: 2
- DESCRIPTION:
This is the Fileman format, date only, for which you wish to retrieve
inpatient movement information. If it is not passed, then the program
will use NOW as the date.
-
- LODGE
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 1
- REQUIRED: NO
- SEQUENCE NUMBER: 3
- DESCRIPTION:
This is a Boolean flag (1 or 0 or <null>). If LODGE=1 then allow for
lodger type admissions. If not, exclude lodger type admissions from the
search. The default value is <null>, exclude lodger admisssions.
|
| RETURN PARAMETER DESCRIPTION |
For return format see description in the routine at IN^DSICDPT2
in List[1]
List[1], List[2], List[3] may have no data and be equal to <null>
If problems, List[0] := -1^message
Summary of returned data
List[0] := data related the current admission
0^message if the patient is not currently an inpatient
List[1] : = data related to the movement for the date passed in
If no date was passed, then this is the current movement
List[2] := data related to the admission associated with the movement
in List[1]
List[3] := data related to the discharge associated with the movement
|