PXMCLINK ;SLC/PKR - Mapped codes linking and unlinking routines. ;02/20/2019
Source file <PXMCLINK.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 |
---|---|---|
ASSOVFILE(FILENUM) | ;Given a PCE data type file number return the associated
|
|
CSCLIST(GBL,IEN,CODESYSL) | ;Populate the coding system code list.
|
|
DELCHK(CODESYSL) | ;When there are mappings that are being deleted,
|
|
DELMC(FILENUM,CODESYS,CODE,IENS) | ;Delete a mapped code.
|
|
LINK(FILENUM,GBL,IEN,CODESYSL) | ;Create entries in V Standard Codes file for
|
|
LINKALL | ;Link all national exams, education topics, and health factors
|
|
MCLINK(FILENUM,IEN) | ;Check for codes that have been mapped but not linked,
|
|
MCUNLINK(FILENUM,IEN) | ;Start a task to unlink mapped codes, called from
|
|
SENDEMSG(SUBJECT,FMMSG,ADDTEXT) | ;
|
|
SETTF(TO,FROM) | ;Set the TO and FROM for delivering the MailMan messages.
|
|
TASKLINK(FILENUM,GBL,IEN,CODESYSL,STARTDT) | ;Start a task to link
|
|
TASKUNLK(FILENUM,IEN,STARTDT) | ;Start a task to unlink mapped codes.
|
|
TSKLINK | ;Arguments come through ZTSAVE.
|
|
TSKUNLK | ;Arguments come through ZTSAVE.
|
|
UNLINK(FILENUM,IEN) | ;Check for codes that should be unlinked.
|
|
VFDATA(VCODFNUM,ASSOVFILE,IEN,IENS,FDA) | ;Load the additional V-file data into
|
Name | Field # of Occurrence |
---|---|
^%ZTLOAD | TASKLINK+12, TASKUNLK+9 |
EN^DDIOL | MCLINK+22, MCLINK+29, MCUNLINK+22 |
$$GET1^DID | DELCHK+5, DELMC+6, DELMC+18, LINK+51, LINKALL+6, LINKALL+8, MCLINK+5, MCLINK+9, MCUNLINK+8, UNLINK+9 , UNLINK+11 |
FILE^DIE | DELMC+20, UNLINK+35 |
UPDATE^DIE | DELMC+11, LINK+40 |
CLEAN^DILF | SENDEMSG+4 |
DA^DILF | DELCHK+9, MCUNLINK+13 |
$$GET1^DIQ | SETTF+2, SETTF+6, VFDATA+2, VFDATA+3, VFDATA+4, VFDATA+5, VFDATA+6, VFDATA+7 |
^DIR | MCLINK+33, MCLINK+39 |
$$VSCDUP^PXKMCODE | LINK+38 |
ADDEVENT^PXMCEVNT | LINK+47 |
DELEVENT^PXMCEVNT | UNLINK+36 |
CSCLIST^PXMCLINK | LINKALL+18, MCLINK+11 |
LINK^PXMCLINK | LINKALL+20, TSKLINK+1 |
UNLINK^PXMCLINK | TSKUNLK+1 |
SEND^PXMSG | LINK+68, LINKALL+21, SENDEMSG+15, UNLINK+47 |
ACOPY^PXUTIL | SENDEMSG+13 |
$$FMTE^XLFDT | LINK+55 |
$$NOW^XLFDT | DELMC+9, LINK+54, MCUNLINK+23, UNLINK+27 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GET1^DIQ |
^XMB(3.8 - [#3.8] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVSC - [#9000010.71] | UNLINK+32 |
^AUPNVSC("SCC" | UNLINK+29 |
^AUPNVSIT - [#9000010] | LINK+37 |
^PX(815 - [#815] | SETTF+3 |
^PXRMINDX( | LINK+12, LINK+26, LINK+30, LINK+32, MCLINK+24 |
^TMP("PXEMSG" | SENDEMSG+6!, SENDEMSG+7*, SENDEMSG+11*, SENDEMSG+12*, SENDEMSG+14*, SENDEMSG+16! |
^TMP("PXXMZ" | LINK+10!, LINK+48!, LINK+55*, LINK+56*, LINK+64*, LINK+66*, LINK+67*, LINK+69!, LINKALL+3!, LINKALL+9* , LINKALL+10*, LINKALL+17*, LINKALL+22!, UNLINK+14!, UNLINK+15*, UNLINK+16*, UNLINK+26*, UNLINK+43*, UNLINK+44*, UNLINK+48! |
^TMP($J | DELCHK+4, MCLINK+12, MCUNLINK+5, MCUNLINK+6, MCUNLINK+7!, UNLINK+48! |
Name | Line Occurrences |
---|---|
$$ASSOVFILE | LINK+11, MCLINK+23, UNLINK+7 |
DELCHK | MCLINK+12 |
DELMC | MCUNLINK+18 |
SENDEMSG | DELMC+17, DELMC+26, LINK+44, UNLINK+40 |
SETTF | LINK+50, SENDEMSG+5, UNLINK+46 |
TASKLINK | MCLINK+42 |
TASKUNLK | MCUNLINK+24 |
VFDATA | LINK+33 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADDIENS | DELMC+3~, DELMC+5*, DELMC+7, DELMC+8, DELMC+9, DELMC+10 |
ADDTEXT | SENDEMSG~, SENDEMSG+8 |
ADDTEXT( | SENDEMSG+10, SENDEMSG+11 |
ASSOVFILE | LINK+7~, LINK+11*, LINK+12, LINK+26, LINK+30, LINK+32, LINK+33, UNLINK+4~, UNLINK+7*, VFDATA~ , VFDATA+2, VFDATA+3, VFDATA+4, VFDATA+5, VFDATA+6, VFDATA+7 |
CLASS | LINKALL+2~, LINKALL+15*, LINKALL+16 |
CMSFN | DELMC+3~, DELMC+18*, DELMC+19 |
CODE | CSCLIST+1~, CSCLIST+8*, CSCLIST+9, DELCHK+3~, DELCHK+12*, DELCHK+13, DELMC~, DELMC+8, DELMC+15, DELMC+24 , LINK+7~, LINK+21*, LINK+22*, LINK+23, LINK+24, LINK+38, LINK+45, LINK+59*, LINK+60*, LINK+62 , LINK+64, LINK+65, LINK+66, MCLINK+3~, MCLINK+18*, MCLINK+19*, MCLINK+20, MCUNLINK+16*, MCUNLINK+17, MCUNLINK+18 , UNLINK+4~, UNLINK+23*, UNLINK+26, UNLINK+29 |
CODEDT | LINK+7~, LINK+36*, LINK+37*, LINK+38 |
CODEIEN | LINK+7~, UNLINK+4~ |
CODESYS | CSCLIST+8*, CSCLIST+9, DELCHK+3~, DELCHK+11*, DELCHK+13, DELMC~, DELMC+7, DELMC+15, DELMC+24, LINK+7~ , LINK+15*, LINK+17*, LINK+20, LINK+22, LINK+23, LINK+38, LINK+45, LINK+57*, LINK+58*, LINK+60 , LINK+62, LINK+64, LINK+65, LINK+66, MCLINK+3~, MCLINK+16*, MCLINK+17*, MCLINK+19, MCLINK+20, MCUNLINK+15* , MCUNLINK+17, MCUNLINK+18, UNLINK+4~, UNLINK+22*, UNLINK+26, UNLINK+29 |
CODESYSL | CSCLIST~, CSCLIST+2!, DELCHK~, LINK~, LINKALL+18, LINKALL+19, LINKALL+20, MCLINK+3~, MCLINK+11, MCLINK+12 , MCLINK+13, MCLINK+42, TASKLINK~, TSKLINK+1 |
CODESYSL( | CSCLIST+9*, DELCHK+13!, LINK+17, LINK+22, LINK+58, LINK+60, LINK+62, MCLINK+17, MCLINK+19 |
COESYS | CSCLIST+1~ |
DA | DELCHK+3~, DELCHK+9, DELCHK+10, MCUNLINK+4~, MCUNLINK+13, MCUNLINK+14, UNLINK+4~ |
DA(1 | DELCHK+10, MCUNLINK+14 |
DAS | LINK+7~, LINK+31*, LINK+32*, LINK+33 |
DATE | LINK+7~, LINK+29*, LINK+30*, LINK+32 |
DCMSFN | DELMC+3~, DELMC+6*, DELMC+7, DELMC+8, DELMC+9, DELMC+10 |
DDS | MCLINK+3~, MCUNLINK+4~ |
DFN | LINK+7~, LINK+25*, LINK+26*, LINK+28, LINK+30, LINK+32, LINK+43 |
>> DIERR | DELMC+12, DELMC+21, LINK+41, UNLINK+36, UNLINK+37 |
DIR | MCLINK+3~, MCLINK+30!, MCLINK+35!, MCUNLINK+4~ |
DIR("A" | MCLINK+32*, MCLINK+37* |
DIR("B" | MCLINK+31*, MCLINK+38* |
DIR(0 | MCLINK+31*, MCLINK+36* |
DIR0 | MCLINK+3~, MCUNLINK+4~ |
DUZ | DELMC+10, LINKALL+21, SETTF+2, SETTF+4 |
EMSG | SENDEMSG+1~ |
EMSG( | SENDEMSG+14 |
ENAME | LINK+49~, LINK+52*, LINK+53, MCLINK+3~, MCLINK+10*, MCLINK+15, MCLINK+27, UNLINK+4~, UNLINK+12*, UNLINK+13 |
ERROR | LINK+7~, LINK+27*, LINK+42*, LINK+48, UNLINK+4~, UNLINK+17*, UNLINK+24*, UNLINK+38*, UNLINK+41, UNLINK+45 |
FDA | DELMC+3~, LINK+7~, LINK+18!, LINK+33, VFDATA~ |
FDA( | DELMC+7*, DELMC+8*, DELMC+9*, DELMC+10*, LINK+19*, LINK+20*, LINK+24*, LINK+28*, LINK+35, LINK+36 , VFDATA+2*, VFDATA+3*, VFDATA+4*, VFDATA+5*, VFDATA+6*, VFDATA+7* |
FDAIEN | LINK+7~, LINK+39! |
FDAIEN(1 | LINK+47 |
FILENUM | ASSOVFILE~, ASSOVFILE+2, DELCHK+5, DELCHK+8, DELMC~, DELMC+6, DELMC+16, DELMC+18, DELMC+25, LINK~ , LINK+11, LINK+13, LINK+43, LINK+51, LINKALL+2~, LINKALL+5*, LINKALL+6, LINKALL+8, LINKALL+20, MCLINK~ , MCLINK+5, MCLINK+9, MCLINK+12, MCLINK+23, MCLINK+42, MCUNLINK~, MCUNLINK+8, MCUNLINK+12, MCUNLINK+18, MCUNLINK+24 , TASKLINK~, TASKUNLK~, TSKLINK+1, TSKUNLK+1, UNLINK~, UNLINK+7, UNLINK+8, UNLINK+9, UNLINK+11, UNLINK+39 |
FMMSG | SENDEMSG~ |
FROM | LINK+8~, LINK+50, LINK+68, SENDEMSG+1~, SENDEMSG+5, SENDEMSG+15, SETTF~, SETTF+2*, UNLINK+4~, UNLINK+46 |
GBL | CSCLIST~, CSCLIST+4, CSCLIST+5, DELCHK+3~, DELCHK+5*, DELCHK+6*, DELCHK+10, LINK~, LINK+52, LINK+63* , LINKALL+2~, LINKALL+6*, LINKALL+7*, LINKALL+12, LINKALL+13, LINKALL+15, LINKALL+17, LINKALL+18, LINKALL+20, MCLINK+3~ , MCLINK+5*, MCLINK+6*, MCLINK+7, MCLINK+10, MCLINK+11, MCLINK+42, MCUNLINK+4~, MCUNLINK+8*, MCUNLINK+9*, MCUNLINK+14 , TASKLINK~, TASKLINK+9, TASKUNLK+6, TSKLINK+1, UNLINK+4~, UNLINK+9*, UNLINK+10*, UNLINK+12, UNLINK+18, UNLINK+19 , UNLINK+42* |
GNAME | LINK+49~, LINK+51*, LINK+53, LINKALL+2~, LINKALL+8*, LINKALL+10, LINKALL+17, MCLINK+3~, MCLINK+9*, MCLINK+15 , MCLINK+27, UNLINK+4~, UNLINK+11*, UNLINK+13 |
IEN | CSCLIST~, CSCLIST+4, CSCLIST+5, DELMC+3~, DELMC+4*, DELMC+5, LINK~, LINK+12, LINK+13, LINK+26 , LINK+30, LINK+32, LINK+43, LINK+52, LINK+63, LINKALL+2~, LINKALL+11*, LINKALL+12*, LINKALL+13, LINKALL+15 , LINKALL+17, LINKALL+18, LINKALL+20, MCLINK~, MCLINK+7, MCLINK+10, MCLINK+11, MCLINK+24, MCLINK+42, MCUNLINK~ , MCUNLINK+24, TASKLINK~, TASKLINK+9, TASKUNLK~, TASKUNLK+6, TSKLINK+1, TSKUNLK+1, UNLINK~, UNLINK+8, UNLINK+12 , UNLINK+18, UNLINK+19, UNLINK+39, UNLINK+42, VFDATA~, VFDATA+2, VFDATA+3, VFDATA+4, VFDATA+5, VFDATA+6 , VFDATA+7 |
IENS | DELCHK+3~, DELCHK+7*, DELCHK+8*, DELCHK+9, DELMC~, DELMC+4, DELMC+14, DELMC+19, DELMC+23, LINK+8~ , LINK+14*, LINK+19, LINK+20, LINK+24, LINK+28, LINK+33, LINK+35, LINK+36, MCUNLINK+4~, MCUNLINK+11* , MCUNLINK+12*, MCUNLINK+13, MCUNLINK+18, UNLINK+4~, VFDATA~, VFDATA+2, VFDATA+3, VFDATA+4, VFDATA+5, VFDATA+6 , VFDATA+7 |
IND | CSCLIST+1~, CSCLIST+3*, CSCLIST+4*, CSCLIST+5, CSCLIST+9, LINK+8~, LINK+62*, LINK+63, SENDEMSG+1~, SENDEMSG+9* , SENDEMSG+10*, SENDEMSG+11, SENDEMSG+14*, UNLINK+5~, UNLINK+17*, UNLINK+18*, UNLINK+19, UNLINK+42 |
KFDA | DELMC+3~, UNLINK+5~, UNLINK+33! |
KFDA( | DELMC+19*, UNLINK+34* |
LINKDT | LINK+49~, LINK+54*, LINK+55, LINK+63 |
MGIEN | SETTF+1~, SETTF+3*, SETTF+5, SETTF+6 |
MGROUP | SETTF+1~, SETTF+6*, SETTF+7 |
MSG | DELMC+3~, DELMC+17, DELMC+26, LINK+8~, LINK+39!, LINK+44, UNLINK+5~, UNLINK+33!, UNLINK+40 |
MSOURCE | LINK+8~, LINK+13*, LINK+19, LINK+38 |
NL | LINK+8~, LINK+15*, LINK+64*, LINK+66*, LINK+67*, LINKALL+2~, LINKALL+4*, LINKALL+9*, LINKALL+10*, LINKALL+17* , MCLINK+3~, MCLINK+16*, MCLINK+20*, MCLINK+21*, MCUNLINK+4~, MCUNLINK+11*, MCUNLINK+17*, MCUNLINK+19*, MCUNLINK+20*, MCUNLINK+21* , SENDEMSG+1~, SENDEMSG+7*, SENDEMSG+11*, SENDEMSG+12*, SENDEMSG+14*, UNLINK+5~, UNLINK+17*, UNLINK+26*, UNLINK+43*, UNLINK+44* |
NMAPPED | LINKALL+2~, LINKALL+13*, LINKALL+14, MCLINK+3~, MCLINK+7*, MCLINK+8 |
NUMLINK | LINK+8~ |
NUMLINK( | LINK+23*, LINK+45*, LINK+65, LINK+66 |
NUMUNL | UNLINK+5~, UNLINK+25*, UNLINK+36*, UNLINK+43 |
SCC | UNLINK+5~, UNLINK+28!, UNLINK+29* |
SCC( | UNLINK+31 |
SOURCE | UNLINK+5~, UNLINK+8*, UNLINK+29 |
STARTDT | MCLINK+4~, MCLINK+41*, MCLINK+42, MCUNLINK+4~, MCUNLINK+23*, MCUNLINK+24, TASKLINK~, TASKLINK+10, TASKUNLK~, TASKUNLK+7 |
SUBJECT | DELMC+3~, DELMC+16*, DELMC+17, DELMC+25*, DELMC+26, LINK+8~, LINK+43*, LINK+44, LINK+53*, LINK+68 , SENDEMSG~, SENDEMSG+7, SENDEMSG+15, UNLINK+5~, UNLINK+13*, UNLINK+15, UNLINK+39*, UNLINK+40, UNLINK+47 |
TEMP | CSCLIST+1~, CSCLIST+5*, CSCLIST+7, CSCLIST+8, DELCHK+3~, DELCHK+10*, DELCHK+11, DELCHK+12, MCLINK+4~, MCUNLINK+4~ , MCUNLINK+14*, MCUNLINK+15, MCUNLINK+16, UNLINK+5~, UNLINK+19*, UNLINK+21, UNLINK+22, UNLINK+23 |
TEXT | DELMC+13~, DELMC+17, DELMC+22~, DELMC+26, LINKALL+2~, MCLINK+4~, MCLINK+22, MCLINK+25!, MCLINK+29, MCUNLINK+4~ , MCUNLINK+22 |
TEXT( | MCLINK+20*, MCLINK+21*, MCUNLINK+17*, MCUNLINK+19*, MCUNLINK+20*, MCUNLINK+21* |
TEXT(1 | DELMC+14*, DELMC+23*, MCLINK+14*, MCLINK+26*, MCUNLINK+10* |
TEXT(2 | DELMC+15*, DELMC+24*, MCLINK+15*, MCLINK+27* |
TEXT(3 | MCLINK+28* |
TO | LINK+8~, LINK+50, LINK+68, SENDEMSG+1~, SENDEMSG+5, SENDEMSG+15, SETTF~, UNLINK+5~, UNLINK+46, UNLINK+47 |
TO( | SETTF+4*, SETTF+7* |
U | CSCLIST+7, CSCLIST+8, DELCHK+11, DELCHK+12, LINK+37, LINK+52, LINK+63, LINKALL+13, LINKALL+15, LINKALL+17 , MCLINK+7, MCLINK+10, MCUNLINK+15, MCUNLINK+16, SETTF+3, UNLINK+12, UNLINK+21, UNLINK+22, UNLINK+23, UNLINK+42 |
UNLINK | DELCHK+3~, DELCHK+4*, MCUNLINK+4~, MCUNLINK+6* |
UNLINK( | DELCHK+8, MCUNLINK+12 |
UNLINKDT | UNLINK+5~, UNLINK+27*, UNLINK+42 |
VCODFNUM | LINK+9~, LINK+16*, LINK+19, LINK+20, LINK+24, LINK+28, LINK+33, LINK+35, LINK+36, LINK+47 , UNLINK+6~, UNLINK+17*, UNLINK+34, UNLINK+36, VFDATA~, VFDATA+2, VFDATA+3, VFDATA+4, VFDATA+5, VFDATA+6 , VFDATA+7 |
VFDATA | LINK+9~ |
VFILENUM | MCLINK+4~, MCLINK+23*, MCLINK+24 |
VISITIEN | LINK+9~, LINK+35*, LINK+37, LINK+38 |
VSCIEN | UNLINK+6~, UNLINK+30*, UNLINK+31*, UNLINK+32, UNLINK+34, UNLINK+36, UNLINK+39 |
X | MCLINK+4~, MCUNLINK+4~ |
Y | MCLINK+4~, MCLINK+34, MCLINK+40, MCLINK+41, MCUNLINK+4~ |
ZNODE | UNLINK+6~, UNLINK+32*, UNLINK+36 |
>> ZTDESC | TASKLINK+9*, TASKUNLK+6* |
ZTDTH | TASKLINK+2~, TASKLINK+10*, TASKUNLK+1~, TASKUNLK+7* |
ZTIO | TASKLINK+2~, TASKLINK+11*, TASKUNLK+1~, TASKUNLK+8* |
ZTREQ | TASKLINK+2~, TASKLINK+3*, TASKUNLK+1~, TASKUNLK+2* |
ZTRTN | TASKLINK+2~, TASKLINK+8*, TASKUNLK+1~, TASKUNLK+5* |
ZTSAVE | TASKLINK+2~, TASKUNLK+1~ |
ZTSAVE("CODESYSL(" | TASKLINK+7* |
ZTSAVE("FILENUM" | TASKLINK+4*, TASKUNLK+4* |
ZTSAVE("GBL" | TASKLINK+5* |
ZTSAVE("IEN" | TASKLINK+6*, TASKUNLK+3* |
ZTSK | TASKLINK+2~, TASKLINK+13, TASKUNLK+1~, TASKUNLK+10 |