DSIC DPT INP INFO

TITLEVALUE
NAMEDSIC DPT INP INFO
DESCRIPTIONThis 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.
TAGIN
ROUTINEDSICDPT
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDFN
DESCRIPTIONThis is the pointer value to the PATIENT file (i.e., DFN)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDATE
DESCRIPTIONThis 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.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH13

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERLODGE
DESCRIPTIONThis is a Boolean flag (1 or 0 or ). If LODGE=1 then allow for
lodger type admissions. If not, exclude lodger type admissions from the
search. The default value is , exclude lodger admisssions.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONFor return format see description in the routine at IN^DSICDPT2
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
in List[1]

List[1], List[2], List[3] may have no data and be equal to

If problems, List[0] := -1^message
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED