ORWPT16 ; SLC/KCM - Patient Lookup Functions - 16bit ;7/20/96 15:43
Source file <ORWPT16.m>
Package | Total | Call Graph |
---|---|---|
VA FileMan | 2 | DD^%DT FIND^DIC |
PCE Patient Care Encounter | 1 | ^VSIT |
Registration | 1 | ELIG^VADPT |
Text Integration Utility | 1 | GETAPPT^TIUVSIT |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
IDINFO(ORY,DFN) | ; Return identifying information for a patient
; PID^DOB^AGE^SEX^SC%^TYPE^WARD^RM-BED^NAME |
|
DEMOG(VAL,DFN) | ; procedure
; Return common patient demographic info ; NAME^SEX^DOB^SSN^WARDID^WARDNAME^RMBED^ADMITTIME^DIED ;^SC%^ELIGTYPE |
|
PSCNVT(VAL,DFN) | ; procedure
; Call conversion routine for pharmacy (both inpatient and outpatient) |
|
LISTALL(Y,DIR,FROM) | ; Return a bolus of patient names
|
|
LOOKUP(Y,FROM) | ; Return a set of patient names
|
|
GETVSIT(Y,DFN,LOC,ADATE) | ; procedure
; Return a visit given a patient, location, and date/time |
|
APPTLST(LST,DFN) | ; procedure
; Return a list of appointments |
|
ADMITLST(LST,DFN) | ; procedure
; Return a list of admissions |
RPC Name | Call Tags |
---|---|
ORWPT16 ID INFO | IDINFO |
ORWPT16 LIST ALL | LISTALL |
ORWPT16 LOOKUP | LOOKUP |
ORWPT16 DEMOG | DEMOG |
ORWPT16 GETVSIT | GETVSIT |
ORWPT16 APPTLST | APPTLST |
ORWPT16 ADMITLST | ADMITLST |
ORWPT16 PSCNVT | PSCNVT |
FileNo | Call Tags |
---|---|
^DPT - [#2] | FIND^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DG(405.1 - [#405.1] | ADMITLST+7 |
^DGPM - [#405] | DEMOG+5, ADMITLST+5 |
^DGPM("ATID1" | ADMITLST+3, ADMITLST+4 |
^DIC(42 - [#42] | ADMITLST+8 |
^DPT - [#2] | IDINFO+3, DEMOG+3, DEMOG+5, DEMOG+6 |
^DPT("B" | LISTALL+4, LISTALL+5, LISTALL+13, LISTALL+14 |
^SC - [#44] | GETVSIT+7 |
^SC("B" | DEMOG+4 |
^TMP("DILIST" | LOOKUP+4, LOOKUP+5, LOOKUP+7, LOOKUP+8! |
^TMP("TIUVN" | APPTLST+6, APPTLST+7! |
^TMP("TIUVNI" | APPTLST+4, APPTLST+6, APPTLST+7! |
Name | Field # of Occurrence |
---|---|
^( | IDINFO+3, DEMOG+3, DEMOG+6 |
^(44 | ADMITLST+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADATE | GETVSIT~, GETVSIT+3 |
CNT | LISTALL+1~*, LISTALL+4, LISTALL+5, LISTALL+10, LISTALL+13, LISTALL+14 |
DFN | IDINFO~, IDINFO+3, DEMOG~, DEMOG+3, DEMOG+5, DEMOG+6, PSCNVT~, GETVSIT~, GETVSIT+3, APPTLST~ , APPTLST+3, ADMITLST~, ADMITLST+3, ADMITLST+4 |
DIR | LISTALL~, LISTALL+3, LISTALL+12 |
DT | IDINFO+7 |
FROM | LISTALL~, LISTALL+4*, LISTALL+5, LISTALL+9, LISTALL+13*, LISTALL+14, LISTALL+18, LOOKUP~, LOOKUP+2 |
HLOC | ADMITLST+2~, ADMITLST+8*, ADMITLST+9 |
I | LISTALL+1~*, LISTALL+4, LISTALL+5, LISTALL+9*, LISTALL+10*, LISTALL+13, LISTALL+14, LISTALL+18*, LOOKUP+1~, LOOKUP+3* , LOOKUP+4*, LOOKUP+5, LOOKUP+7, APPTLST+2~, APPTLST+4*, APPTLST+6 |
IEN | LISTALL+1~, LISTALL+5*, LISTALL+9, LISTALL+14*, LISTALL+18 |
ILST | APPTLST+2~*, APPTLST+5*, APPTLST+6, ADMITLST+2~*, ADMITLST+9* |
LOC | GETVSIT~, GETVSIT+3 |
LST | APPTLST~, ADMITLST~ |
LST( | APPTLST+6*, ADMITLST+9* |
MOV | ADMITLST+2~, ADMITLST+4*, ADMITLST+5 |
MTIM | ADMITLST+2~, ADMITLST+6*, ADMITLST+9 |
OR0 | IDINFO+2~, IDINFO+3*, IDINFO+5, IDINFO+7, IDINFO+9, IDINFO+10 |
OR1 | IDINFO+2~, IDINFO+3*, IDINFO+6 |
OR101 | IDINFO+2~, IDINFO+3*, IDINFO+6 |
OR36 | IDINFO+2~, IDINFO+3*, IDINFO+5 |
ORY | IDINFO~, IDINFO+5*, IDINFO+6*, IDINFO+7*, IDINFO+8, IDINFO+9*, IDINFO+10* |
TIM | ADMITLST+2~, ADMITLST+3*, ADMITLST+4 |
U | IDINFO+5, IDINFO+6, IDINFO+7, IDINFO+8, IDINFO+9, IDINFO+10, DEMOG+3, DEMOG+4, DEMOG+5, DEMOG+6 , GETVSIT+7, APPTLST+6, ADMITLST+6, ADMITLST+7, ADMITLST+8, ADMITLST+9 |
VAEL | IDINFO+2~ |
VAEL(3 | IDINFO+6 |
VAEL(6 | IDINFO+6 |
VAERR | IDINFO+2~ |
VAL | DEMOG~, DEMOG+3*, DEMOG+4*, DEMOG+5*, DEMOG+6*, PSCNVT~, PSCNVT+2* |
VSIT | GETVSIT+2~, GETVSIT+3* |
VSIT("IEN" | GETVSIT+6 |
VSIT("LOC" | GETVSIT+3*, GETVSIT+7 |
VSIT("PAT" | GETVSIT+3* |
VSIT("PRI" | GETVSIT+4* |
VSIT("SVC" | GETVSIT+4* |
VSIT("VDT" | GETVSIT+3* |
VSIT(0 | GETVSIT+4* |
VSITPKG | GETVSIT+2~, GETVSIT+4* |
X | IDINFO+9*, DEMOG+3*, DEMOG+4*, DEMOG+5*, LOOKUP+1~, LOOKUP+5*, LOOKUP+6*, LOOKUP+7 |
X0 | ADMITLST+2~, ADMITLST+5*, ADMITLST+6, ADMITLST+7, ADMITLST+8 |
XLOC | ADMITLST+2~, ADMITLST+8*, ADMITLST+9 |
XTIM | ADMITLST+2~, ADMITLST+6*, ADMITLST+9 |
XTYP | ADMITLST+2~, ADMITLST+7*, ADMITLST+9 |
Y | LISTALL~, LOOKUP~, LOOKUP+3*, GETVSIT~, GETVSIT+6*, GETVSIT+7*, ADMITLST+2~, ADMITLST+6* |
Y( | LISTALL+9*, LISTALL+10*, LISTALL+18*, LOOKUP+7* |