MAGDSTQ7 ;WOIFO/PMK - Study Tracker - Query/Retrieve user patient lookup ; Jul 01, 2020@10:00:22
Source file <MAGDSTQ7.m>
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 |
---|---|---|
PATIENTQ | ; need current and previous PII
|
|
SAVEKEYS(INFO,I) | ; save the query keys
|
|
DCMNAME(OUTPUT,DFN) | ; get properly formatted DICOM patient name
; DICOM: family ^ given ^ middle ^ prefix ^ suffix |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("MAG" | PATIENTQ+7, SAVEKEYS+6, SAVEKEYS+7*, SAVEKEYS+8*, SAVEKEYS+11*, SAVEKEYS+12*, SAVEKEYS+13* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CHANGED | PATIENTQ+2~, SAVEKEYS+3 |
CHANGEDATE | PATIENTQ+2~ |
CLIENT | PATIENTQ+1~* |
DAY | SAVEKEYS+1~, SAVEKEYS+9*, SAVEKEYS+10*, SAVEKEYS+11 |
DFN | PATIENTQ+2~, PATIENTQ+7*, PATIENTQ+9, PATIENTQ+11, SAVEKEYS+4, SAVEKEYS+13, DCMNAME~, DCMNAME+5, DCMNAME+9 |
DOB | PATIENTQ+2~, SAVEKEYS+9, SAVEKEYS+10 |
DOD | PATIENTQ+2~ |
FINIS | PATIENTQ+2~ |
HISTINFO | PATIENTQ+2~, PATIENTQ+11, PATIENTQ+14, PATIENTQ+15 |
HISTINFO(0 | PATIENTQ+12 |
I | SAVEKEYS~, SAVEKEYS+2, DCMNAME+3~, DCMNAME+15* |
IHISTINFO | PATIENTQ+2~, PATIENTQ+14*, PATIENTQ+15 |
INFO | SAVEKEYS~, SAVEKEYS+2 |
IPATINFO | PATIENTQ+2~, PATIENTQ+9*, PATIENTQ+10, PATIENTQ+18 |
K | PATIENTQ+3~ |
MONTH | SAVEKEYS+1~, SAVEKEYS+9*, SAVEKEYS+10*, SAVEKEYS+11 |
NAME | PATIENTQ+3~, SAVEKEYS+4, SAVEKEYS+7 |
NODE | PATIENTQ+3~ |
OK | PATIENTQ+3~ |
OUTPUT | DCMNAME~, DCMNAME+5, DCMNAME+9, DCMNAME+11, DCMNAME+15* |
OUTPUT(0 | DCMNAME+10* |
PATINFO | PATIENTQ+3~, PATIENTQ+9, PATIENTQ+18 |
PIDDASHES | SAVEKEYS+1~, SAVEKEYS+6*, SAVEKEYS+8 |
PROMPT | PATIENTQ+3~, PATIENTQ+8*, PATIENTQ+13* |
>> QRSTACK | PATIENTQ+7, SAVEKEYS+7, SAVEKEYS+8, SAVEKEYS+11, SAVEKEYS+12, SAVEKEYS+13 |
RETURN | PATIENTQ+3~ |
RPCERR | DCMNAME+8~, DCMNAME+9*, DCMNAME+10 |
SENSITIVE | PATIENTQ+3~ |
SEX | PATIENTQ+3~, SAVEKEYS+12 |
SSN | PATIENTQ+3~, SAVEKEYS+8 |
X | PATIENTQ+3~ |
Y | PATIENTQ+3~ |
YEAR | SAVEKEYS+1~, SAVEKEYS+9*, SAVEKEYS+10*, SAVEKEYS+11 |