MAGDMEDL ;WOIFO/LB - Routine to look up entries in the Medicine files ; 06/06/2007 09:42
Source file <MAGDMEDL.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 |
---|---|---|
SELECT(ITEM,ARRAY) | ;
|
|
LOOP(ARRAY,MAGPAT,SUB,CASEDT) | ;
; MAGPAT = patient's dfn ; SUB = Medicine specialty ; CASEDT = case date ; array(0)= 1 or 0 ^ # entries found ^ message text ; array(#)= formatted out display without delimiters ; array(#,1) = internal stored values ; Variable MAGDIMG |
|
DISPLAY(ARRAY) | ;
; Call routine needs to pass array in the following sequence ; ARRAY(0)= 1 or 0 ^ #entries ^ message ; ARRAY(#)= Formatted output to be displayed. ; Will set the RES variable for selected entry. |
|
HEAD | ;
|
|
LINE | ;
|
|
ASKQ | ;
|
|
ASKMORE() | ;
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | LOOP+14 |
^MAG(2005 - [#2005] | LOOP+26, LOOP+27 |
Name | Field # of Occurrence |
---|---|
^(0 | LOOP+14 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | SELECT~, SELECT+3, LOOP~, DISPLAY~ |
ARRAY( | SELECT+9, SELECT+11, SELECT+12, LOOP+33*, LOOP+34*, DISPLAY+14, DISPLAY+15, ASKQ+7, ASKQ+8 |
ARRAY(0 | LOOP+8*, LOOP+35*, DISPLAY+5, DISPLAY+7, DISPLAY+8, DISPLAY+10, DISPLAY+13 |
BEG | LOOP+11~, LOOP+17* |
CASEDT | LOOP~, LOOP+16*, LOOP+17 |
CDT | LOOP+11~, LOOP+17*, LOOP+18*, LOOP+19, LOOP+20, LOOP+23, LOOP+24, LOOP+25 |
CNT | SELECT+2~, SELECT+3*, SELECT+4, SELECT+5, LOOP+11~, LOOP+17*, LOOP+32*, LOOP+33, LOOP+34, LOOP+35 |
DATA | LOOP+11~, LOOP+20*, LOOP+21, LOOP+22, LOOP+28 |
DATE | ASKMORE+1~, ASKMORE+12*, ASKMORE+13 |
DICOM | LOOP+11~, LOOP+29*, LOOP+30, LOOP+31*, LOOP+33, LOOP+34 |
DIR | SELECT+2~, ASKQ+1~, ASKMORE+1~, ASKMORE+6! |
DIR("A" | SELECT+5*, ASKQ+3*, ASKMORE+5* |
DIR("B" | ASKMORE+4* |
DIR("T" | SELECT+6*, ASKQ+3* |
DIR(0 | SELECT+5*, ASKQ+2*, ASKMORE+4*, ASKMORE+9* |
DIROUT | SELECT+2~, SELECT+7, ASKQ+5 |
DIRUT | SELECT+2~, SELECT+7, ASKQ+5 |
DT | LOOP+16 |
EN | LOOP+11~, LOOP+19*, LOOP+20, LOOP+23, LOOP+24, LOOP+25, LOOP+34 |
END | LOOP+11~, LOOP+17*, LOOP+18 |
ENTRY | SELECT+2~, SELECT+8*, SELECT+9, SELECT+11, SELECT+12, DISPLAY+9~, DISPLAY+13*, DISPLAY+14*, DISPLAY+15, LINE+1 , ASKQ+2 |
IEN | LOOP+12~, LOOP+22*, LOOP+29 |
II | LOOP+12~, LOOP+23*, LOOP+24*, LOOP+25 |
IMAGEPTR | LOOP+11~, LOOP+25*, LOOP+26*, LOOP+27*, LOOP+34 |
IMG | LOOP+11~ |
IO | DISPLAY+11* |
IOF | DISPLAY+11*, HEAD+1 |
IOSL | DISPLAY+11*, DISPLAY+16, DISPLAY+17, HEAD+1 |
IOUT | LOOP+12~, LOOP+23*, LOOP+24, LOOP+27* |
ITEM | SELECT~, DISPLAY+9~, DISPLAY+18, ASKQ+4*, ASKQ+6, ASKQ+7, ASKQ+8 |
ITEMS | DISPLAY+9~, DISPLAY+13*, ASKQ+2 |
MAGDIMG | LOOP+11~ |
MAGMC | LOOP+10, LOOP+12~ |
MAGMC( | LOOP+18, LOOP+19, LOOP+20, LOOP+23, LOOP+24, LOOP+25 |
MAGPAT | LOOP~, LOOP+9, LOOP+13, LOOP+14, LOOP+18, LOOP+19, LOOP+20, LOOP+23, LOOP+24, LOOP+25 , LOOP+29, ASKMORE+2, ASKMORE+13 |
MEDFILE | LOOP+12~, LOOP+28*, LOOP+29, LOOP+34 |
MSG | DISPLAY+9~, DISPLAY+10*, HEAD+1 |
OUT | DISPLAY+9~, DISPLAY+13*, DISPLAY+14, DISPLAY+18, ASKQ+9* |
OUTPUT | DISPLAY+9~, DISPLAY+15*, LINE+1 |
PATIENT | LOOP+11~, LOOP+15*, LOOP+33, LOOP+35 |
PATNME | LOOP+11~, LOOP+14*, LOOP+15, LOOP+34 |
>> POP | DISPLAY+11* |
PRC | LOOP+11~, LOOP+21*, LOOP+29, LOOP+34 |
PRCNM | LOOP+11~, LOOP+21*, LOOP+33, LOOP+34 |
RES | DISPLAY+9~, DISPLAY+10*, DISPLAY+18*, DISPLAY+19 |
SSN | LOOP+11~, LOOP+14*, LOOP+15, LOOP+34 |
SUB | LOOP~, LOOP+18, LOOP+19, LOOP+20, LOOP+21, LOOP+23, LOOP+24, LOOP+25, ASKMORE+3, ASKMORE+13 |
THEDT | LOOP+11~, LOOP+22*, LOOP+33 |
X | LOOP+11~, ASKQ+1~, ASKMORE+1~ |
X1 | LOOP+11~ |
X2 | LOOP+11~ |
XX | ASKMORE+1~, ASKMORE+13 |
XX(0 | ASKMORE+14 |
Y | SELECT+8, ASKQ+1~, ASKQ+4, ASKMORE+1~, ASKMORE+7, ASKMORE+11, ASKMORE+12 |