DSIC DPT INP INFO BRIEF

TITLEVALUE
NAMEDSIC DPT INP INFO BRIEF
DESCRIPTIONThis will return certain data related to a patient's current admission.
The data returned and the order that it is returned is controlled by the
FLAG parameter. For more detailed description, see routine INQ^DSICDPT
TAGINQ
ROUTINEDSICDPT
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDFN
DESCRIPTIONThis is a pointer to the PATIENT file.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERFLAG
DESCRIPTIONThis is 3 "^"- piece string of single character codes which dictate what
data will be returned and the order that that data is returned for a
patient's current admission.
1st ^-piece - flags related to the current patient movement
2nd ^-piece - flags related to the admission movement
3rd ^-piece - flags related to the discharge movement
Default FLAG = "MDWFPpAa^MD^MD"

Flag Code Description
--------- -----------------------------------------
M pointer to movement (#405)
D external movement date.time
d internal (Fileman movement date.time)
W external ward location
P name of Primary Care Physician
p DUZ of Primary Care Physician
Following only applicable to current movement
F pointer to PTF record (#45)
R external room-bed
A name of ATTENDING PHYSICIAN
a DUZ of ATTENDING PHYSICIAN
S external FACILITY TREATING SPECIALTY (#42.4)
s internal FACILITY TREATING SPECIALTY (#42.4)
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH26

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERLODGE
DESCRIPTIONThis boolean flag controls whether or not Lodger movements (admissions)
should be included in search. If LODGE = 1 then return lodger
movements. Else exclude them. Default value is 0, exclude them.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONIf problems or if the patient is not an inpatient, return -1^message

Else return a string, p1^p2^p3^p4^p5^... where the data returned in
each piece is controled by the FLAG parameter.
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED