SCCVLOG1 ;ALB/RMO,TMP - Scheduling Conversion Log Utilities - Error; [ 04/05/95 8:39 AM ]
Source file <SCCVLOG1.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 3 | (UPD,WP)^SCCVDBU $$EXPAND^SCCVDSP2 $$LSTREQ^SCCVLOG |
VA Fileman | 2 | BLD^DIALOG D^DIQ |
Kernel | 1 | ($$FMTE,$$NOW)^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
LOGERR(SCLOG,SCERRMSG,SCE,SCCVERRH) | ;Log the error in the CST file
; Input -- SCLOG CST ien ; -- SCERRMSG Error message array subscripted by line # ; -- SCE Array holding patient/date-tm/enctr/visit data ; subscripts: "DFN"/"DATE"/"ENC"/"VSIT" ; I/O -- SCCVERRH Error counter, also output - pass by reference |
|
CREATERR(DFN,SCDTM,SCOE,SCCVT,SCCLN,SCSC,SCLOG) | ;
; Create error log entry if add of visit or encounter fails ; INPUT: ; DFN == pt ien ; SCDTM == encounter date/time ; SCOE == encounter ien ; SCCVT == origin of encounter (1-4) ; SCCLN == ien of clinic ; SCSC == stop code ien ; SCLOG == ien of request log [optional] |
|
GETERR(SCERRNB,SCE,SCERRIP,SCLOG,SAVERR,SCERRMSG) | ;Get error msg
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | CREATERR+12 |
^SC - [#44] | CREATERR+14 |
Name | Line Occurrences |
---|---|
GETERR | CREATERR+18 |
LOGERR | GETERR+12 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | CREATERR~, CREATERR+12, CREATERR+17 |
SAVERR | GETERR~, GETERR+12 |
SCCLN | CREATERR~, CREATERR+14 |
SCCVERRH | GETERR+12, LOGERR~, LOGERR+9~*, LOGERR+10*, LOGERR+29 |
>> SCCVERRT | LOGERR+29 |
SCCVH | LOGERR+7~, LOGERR+30 |
SCCVH( | LOGERR+29* |
SCCVT | CREATERR~, CREATERR+16 |
SCDATA | LOGERR+7~, LOGERR+27 |
SCDATA("WP" | LOGERR+26* |
SCDTM | CREATERR~, CREATERR+13, CREATERR+17 |
SCE | GETERR~, GETERR+12, LOGERR~, LOGERR+19, CREATERR+10~, CREATERR+18 |
SCE("DATE" | LOGERR+20, CREATERR+17* |
SCE("DFN" | LOGERR+20, CREATERR+17* |
SCE("ENC" | LOGERR+21, CREATERR+17* |
SCE("VSIT" | LOGERR+21, CREATERR+17* |
SCERRIP | GETERR~, GETERR+11, CREATERR+10~, CREATERR+18 |
SCERRIP(1 | CREATERR+11* |
SCERRIP(2 | CREATERR+12* |
SCERRIP(3 | CREATERR+13* |
SCERRIP(4 | CREATERR+14* |
SCERRIP(5 | CREATERR+15* |
SCERRIP(6 | CREATERR+16* |
SCERRM1 | LOGERR+7~, LOGERR+24, LOGERR+26 |
SCERRM1( | LOGERR+15*, LOGERR+20*, LOGERR+21*, LOGERR+22* |
SCERRM1(1 | LOGERR+17* |
SCERRMSG | GETERR~, GETERR+12!, LOGERR~, LOGERR+24!*, CREATERR+10~, CREATERR+18 |
SCERRMSG( | LOGERR+10*, LOGERR+13 |
SCERRNB | GETERR~, GETERR+11 |
SCLOG | GETERR~, GETERR+12, LOGERR~, LOGERR+24, LOGERR+25, LOGERR+27, LOGERR+30, CREATERR~, CREATERR+18 |
SCOE | CREATERR~, CREATERR+15, CREATERR+17 |
SCSC | CREATERR~, CREATERR+11 |
U | CREATERR+12, CREATERR+14, CREATERR+16 |
Y | CREATERR+10~, CREATERR+13* |
Z | LOGERR+7~, LOGERR+12*, LOGERR+13* |
Z0 | LOGERR+7~, LOGERR+12*, LOGERR+15*, LOGERR+20, LOGERR+21, LOGERR+22 |
Z1 | LOGERR+7~, LOGERR+13*, LOGERR+14, LOGERR+15 |