TITLE | VALUE | |
---|---|---|
NAME | DSIC DPT INP INFO BRIEF | |
DESCRIPTION | This 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 | |
TAG | INQ | |
ROUTINE | DSICDPT | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | DFN | |
DESCRIPTION | This is a pointer to the PATIENT file. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 15 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | FLAG | |
DESCRIPTION | This 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 TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 26 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | LODGE | |
DESCRIPTION | This 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 TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 1 | |
RETURN VALUE TYPE | SINGLE VALUE | |
RETURN PARAMETER DESCRIPTION | If 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. | |
AVAILABILITY | AGREEMENT | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |