MDCVT ; HOIFO/DP/NCA - Medicine Package Conversion ;10/20/04 12:49
Source file <MDCVT.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 |
Package | Total | Caller Graph |
---|---|---|
Clinical Procedures | 7 | MDCVT CONVERSION LOCKOUT MDCVT DISK SPACE MDCVT RUN MDCVT SETUP MDCVT TOTALS MDCVT1 MDCVTU |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; [Procedure] Main entry point to convert database to TIU notes
|
|
EN1 | ; [Procedure] Resumes on error via $ETRAP variable
|
|
TESTHFS() | ; Verify HFS is working properly
|
|
ERR | ; M Error trap submodule to document error and continue
|
|
FINISH(MDPTR,LINES,BYTES,TIUIEN) | ; Update status to converted
|
|
LOGERR(MDPTR,ERRMSG) | ; Log conversion error
|
|
RESET | ; Reset error status reports to READY TO CONVERT
|
|
REBUILD | ; [Procedure] Build the file manually
|
|
SETUP | ; [Procedure]
|
|
SKIP(MDPTR,REASON) | ; [Procedure] Skip Report
|
|
SYNC(MDPTR) | ; Make sure entry exists
|
|
LOCKOUT | ; Lockout Options and set API Flag
|
|
STATUS(MDPTR) | ; [Procedure] Return status of VPtr
|
|
SUMMARY | ; Disk space requirements
|
|
S1 | ; Loop for both CT or CR Statuses
|
|
TOTALS | ; Count by Status
|
Name | Field # of Occurrence |
---|---|
NOW^%DTC | TESTHFS+11 |
^%ZIS | EN1+21, TESTHFS+3 |
^%ZISC | EN1+23, TESTHFS+13, ERR+2 |
$$DEL^%ZISH | EN1+31, TESTHFS+23 |
$$FTG^%ZISH | EN1+27, TESTHFS+17 |
^DDS | SETUP+2 |
FILE^DIE | FINISH+11, LOGERR+7, RESET+6, RESET+11, RESET+16, SKIP+7 |
UPDATE^DIE | SYNC+6, STATUS+6 |
IXALL^DIK | REBUILD+7 |
$$GET1^DIQ | EN1+4 |
^DIR | EN+11, EN+20 |
EN^MCAPI | EN1+23 |
$$CONVERT^MDCVT1 | EN1+49 |
TOTALS^MDCVT1 | EN1+60 |
UPD^MDCVT1 | EN1+54 |
GETHDR^MDESPRT | EN1+38 |
^MDOUTOR | LOCKOUT+1 |
SETDEF^MDSTATU | SETUP+1 |
$$GET^XPAR | EN+3 |
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 |
|
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 |
|
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 |
|
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 |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^MDD(703.9 - [#703.9] | Classic Fileman Calls |
703.92 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^MDD(702 - [#702] | SYNC+3 |
^MDD(703.9 - [#703.9] | EN+4, EN+5, EN+6, EN+14, EN1+3, EN1+7, EN1+12, EN1+45, FINISH+2, LOGERR+2 , RESET+3, RESET+8, RESET+13, REBUILD+2!*, REBUILD+3, SETUP+1, SKIP+2, SYNC+2, STATUS+1, STATUS+2 , SUMMARY+5, S1+1, S1+2, S1+5, S1+6, TOTALS+2, TOTALS+3 |
^TMP($J | EN1+26!, EN1+27, EN1+33, EN1+34, EN1+35, EN1+38, EN1+49, TESTHFS+16!, TESTHFS+17, TESTHFS+19 , SUMMARY+3!, SUMMARY+10, SUMMARY+12, SUMMARY+13, SUMMARY+14, SUMMARY+15, SUMMARY+16, SUMMARY+17, SUMMARY+19!, S1+4* , S1+5*, S1+6* |
Name | Field # of Occurrence |
---|---|
^( | EN1+34 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | TESTHFS+11! |
>> %ZIS("HFSMODE" | EN1+20*, TESTHFS+2* |
>> %ZIS("HFSNAME" | EN1+20*, TESTHFS+2* |
BYTES | EN1+34*, EN1+41, EN1+58, FINISH~, FINISH+9, FINISH+10 |
DA | REBUILD+7*!, SETUP+2* |
>> DDSFILE | SETUP+2* |
>> DELETE( | EN1+30*, TESTHFS+22* |
DIK | REBUILD+7*! |
DIR | EN+9!, EN+11!, EN+18!, EN+20! |
DIR("A" | EN+10*, EN+11*, EN+19* |
DIR("B" | EN+11*, EN+20* |
DIR(0 | EN+9*, EN+18* |
>> DIROUT | EN+11, EN+20 |
>> DIRUT | EN+11, EN+20 |
>> DR | SETUP+2* |
ERRMSG | LOGERR~, LOGERR+6 |
FILE | SUMMARY+1~, S1+2*, S1+3*, S1+4, S1+5, S1+6 |
IO | EN1+23, TESTHFS+12 |
IOF | EN+8, TESTHFS+9, SUMMARY+8, TOTALS+5 |
IOM | TESTHFS+8 |
ION | ERR+2 |
>> IOP | EN1+20*, TESTHFS+2* |
IOSL | TESTHFS+7 |
IOST | TESTHFS+6 |
>> IOT | TESTHFS+5 |
LINES | EN1+33*, EN1+35, EN1+41, EN1+58, FINISH~, FINISH+8, FINISH+10 |
LP | SUMMARY+1~ |
MDCNVT | EN+1~, EN1+60 |
MDCNVT("CR" | EN+2*, EN1+58* |
MDCNVT("CT" | EN+2*, EN1+41* |
MDCNVT("E" | EN+2* |
MDCNVT("S" | EN+2*, EN1+9*, EN1+14* |
MDCNVT("TOT" | EN+2*, EN1+6* |
MDCONS | EN1+2~ |
MDDIR | EN+1~, EN+14*, EN1+20, EN1+27, EN1+31, TESTHFS+2, TESTHFS+17, TESTHFS+23 |
MDECON | EN1+2~ |
MDFDA | EN1+2~, FINISH+1~, LOGERR+1~, RESET+4~, RESET+9~, RESET+14~, SKIP+1~, SYNC+1~, STATUS+3~ |
MDFDA( | FINISH+5*, FINISH+6*, FINISH+7*, FINISH+8*, FINISH+9*, FINISH+10*, LOGERR+5*, LOGERR+6*, RESET+5*, RESET+10* , RESET+15*, SKIP+5*, SKIP+6*, SYNC+4*, SYNC+5*, STATUS+4*, STATUS+5* |
MDFILE | EN+1~, EN+14*, EN1+20, EN1+27, EN1+30, TESTHFS+2, TESTHFS+17, TESTHFS+22 |
>> MDGBL | EN1+5*, EN1+7, EN1+10, EN1+12, EN1+54 |
MDIEN | FINISH+1~, FINISH+2*, FINISH+3, FINISH+4, LOGERR+1~, LOGERR+2*, LOGERR+3, LOGERR+4, RESET+1~*, RESET+3* , RESET+5, RESET+8*, RESET+10, RESET+13*, RESET+15, SKIP+1~, SKIP+2*, SKIP+3, SKIP+4, STATUS+3~ |
MDIEN(1 | STATUS+7 |
MDIENS | FINISH+1~, FINISH+4*, FINISH+5, FINISH+6, FINISH+7, FINISH+8, FINISH+9, FINISH+10, LOGERR+1~, LOGERR+4* , LOGERR+5, LOGERR+6, SKIP+1~, SKIP+4*, SKIP+5, SKIP+6 |
MDMSG | STATUS+3~ |
MDNODE | EN1+2~, EN1+45*, EN1+46*, EN1+49, EN1+54 |
MDNOTE | EN1+2~ |
MDNOW | TESTHFS+1~, TESTHFS+11*, TESTHFS+12, TESTHFS+19 |
MDOK | EN1+2~, EN1+11, EN1+12*, EN1+13 |
MDPR | EN1+2~ |
MDPTR | EN1+4*, EN1+5, EN1+8, EN1+13, EN1+14, EN1+15, EN1+21, EN1+23, EN1+35, EN1+38 , EN1+41, EN1+50, EN1+58, ERR+1, FINISH~, FINISH+2, FINISH+3, LOGERR~, LOGERR+2, LOGERR+3 , SKIP~, SKIP+2, SKIP+3, SYNC~, SYNC+2, SYNC+3, SYNC+4, STATUS~, STATUS+1, STATUS+4 , STATUS+7 |
MDR | EN1+2~ |
MDR1 | EN1+2~ |
MDREC | EN+1~, EN+27*, EN1+3*, EN1+4, EN1+45 |
MDROOT | REBUILD+1~, REBUILD+3*, REBUILD+4, REBUILD+5, REBUILD+6 |
MDSTAT | EN1+10*, EN1+11, EN1+14, EN1+15, SUMMARY+5*, SUMMARY+6, SUMMARY+7*, S1+1, TOTALS+1~*, TOTALS+2* , TOTALS+3, TOTALS+4 |
MDSTAT( | TOTALS+4* |
MDSTAT("CR" | TOTALS+6 |
MDSTAT("CT" | TOTALS+7 |
MDSTAT("E" | TOTALS+9 |
MDSTAT("S" | TOTALS+8 |
MDSTUD | EN1+2~ |
MDTEST | EN+1~, EN+5*, EN+11, EN+19, EN1+17, EN1+41, EN1+54, FINISH+5, RESET+3 |
MDTIUI | EN+1~, EN1+49*, EN1+50, EN1+54, EN1+58 |
MDUSR | EN1+2~ |
MDX1 | EN1+2~ |
MDXR | EN+1~, EN+6* |
ORHFS | EN+1~, EN1+22* |
>> POP | EN1+21, TESTHFS+3 |
REASON | SKIP~, SKIP+6 |
>> RESULTS | EN1+38* |
TIUIEN | FINISH~, FINISH+7 |
TOTB | SUMMARY+1~, SUMMARY+4*, SUMMARY+17*, SUMMARY+19 |
TOTC | SUMMARY+1~, SUMMARY+4*, SUMMARY+15*, SUMMARY+19 |
TOTL | SUMMARY+1~, SUMMARY+4*, SUMMARY+16*, SUMMARY+19 |
U | EN+4, EN+5, EN+14, EN+15, EN1+5, EN1+7, EN1+10, EN1+12, EN1+46, LOGERR+6 , REBUILD+2, SKIP+6, STATUS+2, SUMMARY+11, S1+2, S1+3, S1+5, S1+6 |
X | EN+1~, EN+15*, EN1+27*, EN1+31*, EN1+34*, TESTHFS+4*, TESTHFS+5*, TESTHFS+6*, TESTHFS+7*, TESTHFS+8* , TESTHFS+9*, TESTHFS+17*, TESTHFS+18, TESTHFS+23*, TESTHFS+24, REBUILD+2*, REBUILD+6*, STATUS+1*, STATUS+2, SUMMARY+1~ , SUMMARY+10*, SUMMARY+11, SUMMARY+12, SUMMARY+13, SUMMARY+14, SUMMARY+15, SUMMARY+16, SUMMARY+17, S1+1~*, S1+2 , S1+5, S1+6, TOTALS+3* |
Y | EN+1~, EN+11, EN+20, TOTALS+3*, TOTALS+4 |