SDESAPPTREQ2 ;ALB/ANU - APPOINTMENT REQUEST CREATE/UPDATE IN FILE2 ;Feb 16, 2022
Source file <SDESAPPTREQ2.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 3 | $$ISOTFM^SDAMUTDT $$INACTIVE^SDEC32 (ENCODE,ERRLOG)^SDESJSON |
Kernel | 1 | $$NOW^XLFDT |
VA FileMan | 1 | (FILE,UPDATE)^DIE |
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 |
---|---|---|
Scheduling | 1 | SDES |
Name | Comments | DBIA/ICR reference |
---|---|---|
ARSET(SDECY,SDAPPTUPD,SDPATIENTDFN,SDCLNIEN,SDAPPTDTTM,SDLABDTTM,SDXRAYDTTM,SDEKGDTTM,SDVSTPURP,SDAPPTTYPE,SDCOLLATERAL,SDSCHREQTYPE,SDNXTAVAAPPT,SDFOLLOWUP) | ; Create/Update Appointment Request
; INP - Input parameters array |
|
VALIDATE | ; Validate
|
|
CREATE | ;Build FDA array to creat a new entry in 2
; add appt to file 2 |
|
NULLDEL(STR) | ;return "@" to delete a field if the new data would be null ;*zeb+tag 722 2/19/19 added to support APPADD
|
|
UPDATE | ;Find ien for appt in file 2
; Update appt in file 2 |
|
BUILDER | ;Convert data to JSON
|
Name | Field # of Occurrence |
---|---|
FILE^DIE | UPDATE+22 |
UPDATE^DIE | CREATE+24 |
$$ISOTFM^SDAMUTDT | VALIDATE+27, VALIDATE+34, VALIDATE+40, VALIDATE+46 |
$$INACTIVE^SDEC32 | VALIDATE+16 |
ENCODE^SDESJSON | BUILDER+3 |
ERRLOG^SDESJSON | VALIDATE+9, VALIDATE+10, VALIDATE+14, VALIDATE+15, VALIDATE+16, VALIDATE+20, VALIDATE+21, VALIDATE+26, VALIDATE+29, VALIDATE+30 , VALIDATE+36, VALIDATE+42, VALIDATE+48, VALIDATE+53, VALIDATE+54, VALIDATE+59, VALIDATE+64, VALIDATE+65, VALIDATE+70, VALIDATE+71 , VALIDATE+75 |
$$NOW^XLFDT | CREATE+19, UPDATE+18 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | VALIDATE+10, CREATE+3, CREATE+7, UPDATE+3, UPDATE+6 |
^SC - [#44] | VALIDATE+15 |
^SD(409.1 - [#409.1] | VALIDATE+21, VALIDATE+22 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DT | VALIDATE+30 |
DUZ | CREATE+18, UPDATE+17 |
JSONERR | BUILDER+1~, BUILDER+2*, BUILDER+3 |
POP | ARSET+17~, ARSET+20, VALIDATE+2*, VALIDATE+9*, VALIDATE+10*, VALIDATE+14*, VALIDATE+15*, VALIDATE+16*, VALIDATE+20*, VALIDATE+21* , VALIDATE+26*, VALIDATE+29*, VALIDATE+30*, VALIDATE+36*, VALIDATE+42*, VALIDATE+48*, VALIDATE+53*, VALIDATE+54*, VALIDATE+59*, VALIDATE+64* , VALIDATE+65*, VALIDATE+70*, VALIDATE+71*, VALIDATE+75* |
SDAPPTDTTM | ARSET~, VALIDATE+25*, VALIDATE+26, VALIDATE+27*, VALIDATE+29*, VALIDATE+30, CREATE+3, CREATE+5, UPDATE+3, UPDATE+4 |
SDAPPTTYPE | ARSET~, VALIDATE+19*, VALIDATE+20, VALIDATE+21, VALIDATE+22*, CREATE+12, UPDATE+11 |
SDAPPTUPD | ARSET~, ARSET+21, ARSET+22, VALIDATE+5, VALIDATE+20, VALIDATE+30 |
SDAPTREQ | ARSET+17~, VALIDATE+9, VALIDATE+10, VALIDATE+14, VALIDATE+15, VALIDATE+16, VALIDATE+20, VALIDATE+21, VALIDATE+26, VALIDATE+29 , VALIDATE+30, VALIDATE+36, VALIDATE+42, VALIDATE+48, VALIDATE+53, VALIDATE+54, VALIDATE+59, VALIDATE+64, VALIDATE+65, VALIDATE+70 , VALIDATE+71, VALIDATE+75, BUILDER+3 |
SDAPTREQ("Error" | VALIDATE+5*, CREATE+3*, CREATE+25*, UPDATE+3*, UPDATE+23* |
SDAPTREQ("Success" | CREATE+26*, UPDATE+24* |
SDCLNIEN | ARSET~, VALIDATE+13*, VALIDATE+14, VALIDATE+15, VALIDATE+16, VALIDATE+27, VALIDATE+34, VALIDATE+40, VALIDATE+46, CREATE+6 , UPDATE+5 |
SDCOLLATERAL | ARSET~, VALIDATE+57*, VALIDATE+58*, VALIDATE+59, CREATE+13, UPDATE+12 |
SDECFDA | CREATE+2~, UPDATE+2~ |
SDECFDA( | CREATE+6*, CREATE+7*, CREATE+8*, CREATE+9*, CREATE+10*, CREATE+11*, CREATE+12*, CREATE+13*, CREATE+14*, CREATE+15* , CREATE+16*, CREATE+17*, CREATE+18*, CREATE+19*, CREATE+20*, CREATE+21*, CREATE+22*, CREATE+23*, UPDATE+5*, UPDATE+6* , UPDATE+7*, UPDATE+8*, UPDATE+9*, UPDATE+10*, UPDATE+11*, UPDATE+12*, UPDATE+13*, UPDATE+14*, UPDATE+15*, UPDATE+16* , UPDATE+17*, UPDATE+18*, UPDATE+19*, UPDATE+20*, UPDATE+21* |
SDECIENS | CREATE+2~, CREATE+4*, CREATE+6, CREATE+7, CREATE+8, CREATE+9, CREATE+10, CREATE+11, CREATE+12, CREATE+13 , CREATE+14, CREATE+15, CREATE+16, CREATE+17, CREATE+18, CREATE+19, CREATE+20, CREATE+21, CREATE+22, CREATE+23 , UPDATE+2~, UPDATE+4*, UPDATE+5, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9, UPDATE+10, UPDATE+11, UPDATE+12 , UPDATE+13, UPDATE+14, UPDATE+15, UPDATE+16, UPDATE+17, UPDATE+18, UPDATE+19, UPDATE+20, UPDATE+21 |
SDECIENS(2 | CREATE+5* |
SDECY | ARSET~, BUILDER+3 |
SDEKGDTTM | ARSET~, VALIDATE+45*, VALIDATE+46*, VALIDATE+48, CREATE+10, UPDATE+9 |
SDERR | CREATE+2~, CREATE+25, UPDATE+2~, UPDATE+23 |
SDFOLLOWUP | ARSET~, VALIDATE+74*, VALIDATE+75, CREATE+23, UPDATE+21 |
SDLABDTTM | ARSET~, VALIDATE+33*, VALIDATE+34*, VALIDATE+36*, CREATE+8, UPDATE+7 |
SDNXTAVAAPPT | ARSET~, VALIDATE+68*, VALIDATE+69*, VALIDATE+70, VALIDATE+71, CREATE+22, UPDATE+20 |
SDPATIENTDFN | ARSET~, VALIDATE+8*, VALIDATE+9, VALIDATE+10, CREATE+3, CREATE+4, CREATE+7, UPDATE+3, UPDATE+4, UPDATE+6 |
SDSCHREQTYPE | ARSET~, VALIDATE+62*, VALIDATE+63*, VALIDATE+64, VALIDATE+65, CREATE+21, UPDATE+19 |
SDVSTPURP | ARSET~, VALIDATE+51*, VALIDATE+52*, VALIDATE+53, VALIDATE+54, CREATE+11, UPDATE+10 |
SDXRAYDTTM | ARSET~, VALIDATE+39*, VALIDATE+40*, VALIDATE+42, CREATE+9, UPDATE+8 |
STR | NULLDEL~, NULLDEL+1 |