SDESGETREGA2 ;ALB/ANU - SDES GET PATREG BY DFNICN ;JULY 15,2023
Source file <SDESGETREGA2.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 4 | BUILDJSON^SDESBUILDJSON GETREG^SDESGETREGA1 ERRLOG^SDESJSON $$EASVALIDATE^SDESUTIL |
Master Patient Index VistA | 1 | $$GETDFN^MPIF001 |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETREGA(JSONRETURN,DFNS,ICNS,SDEAS) | ; Get Patient(s) Registration Data
|
|
PROCDFNS(DFNS,SDRETURN,SDCOUNT) | ; Validate and Process DFNs
|
|
PROCICNS(ICNS,SDRETURN,SDCOUNT) | ; Validate and Process ICNs
|
|
VALDFN(DFN,ERRORS) | ; Validate DFNS
|
|
VALICN(ICN,ERRORS) | ; Validate ICNS
|
|
VALEAS(EAS,ERRORS) | ; Validate EAS
|
|
GETREG(DFN,SDINFO) | ;
|
|
BUILDJSON(JSONRETURN,SDRETURN) | ;Convert data to JSON
|
Name | Field # of Occurrence |
---|---|
$$GETDFN^MPIF001 | VALICN+2 |
BUILDJSON^SDESBUILDJSON | BUILDJSON+2 |
GETREG^SDESGETREGA1 | GETREG+2 |
ERRLOG^SDESJSON | GETREGA+8, PROCDFNS+6, PROCICNS+5, VALDFN+1, VALDFN+2, VALICN+4, VALEAS+2 |
$$EASVALIDATE^SDESUTIL | VALEAS+1 |
RPC Name | Call Tags |
---|---|
SDES GET PATREG BY DFNICN | GETREGA |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | VALDFN+2 |
Name | Line Occurrences |
---|---|
BUILDJSON | GETREGA+6, GETREGA+9, GETREGA+14 |
GETREG | PROCDFNS+10, PROCICNS+9 |
PROCDFNS | GETREGA+11 |
PROCICNS | GETREGA+12 |
VALDFN | PROCDFNS+8 |
VALEAS | GETREGA+5 |
VALICN | PROCICNS+7 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | PROCDFNS+2~, PROCDFNS+7*, PROCDFNS+8, PROCDFNS+10, VALDFN~, VALDFN+1, VALDFN+2, GETREG~ |
DFNS | GETREGA~, GETREGA+11, PROCDFNS~ |
DFNS( | PROCDFNS+4, PROCDFNS+7 |
DFNS(1 | GETREGA+8 |
EAS | VALEAS~, VALEAS+1*, VALEAS+2 |
ERRORS | VALDFN~, VALDFN+1, VALDFN+2, VALICN~, VALICN+4, VALEAS~, VALEAS+2 |
ICN | PROCICNS+1~, PROCICNS+6*, PROCICNS+7, VALICN~, VALICN+2, VALICN+4 |
ICNS | GETREGA~, GETREGA+12, PROCICNS~ |
ICNS( | PROCICNS+3, PROCICNS+6 |
ICNS(1 | GETREGA+8 |
JSONRETURN | GETREGA~, GETREGA+6, GETREGA+9, GETREGA+14, BUILDJSON~, BUILDJSON+2 |
SDCOUNT | GETREGA+2~, GETREGA+3*, GETREGA+11, GETREGA+12, PROCDFNS~, PROCDFNS+6, PROCDFNS+11, PROCDFNS+12*, PROCICNS~, PROCICNS+5 , PROCICNS+10, PROCICNS+11* |
SDCOUNT1 | PROCDFNS+2~, PROCDFNS+3*, PROCDFNS+4*, PROCDFNS+7, PROCICNS+2*, PROCICNS+3*, PROCICNS+6 |
SDDFN | PROCICNS+1~, PROCICNS+9, VALICN+2*, VALICN+3* |
SDEAS | GETREGA~, GETREGA+5 |
SDERRORS | GETREGA+2~, GETREGA+5, GETREGA+6, GETREGA+8, GETREGA+9, PROCDFNS+6, PROCDFNS+8, PROCDFNS+9, PROCICNS+5, PROCICNS+7 , PROCICNS+8 |
SDFDA | GETREGA+2~ |
SDINFO | PROCDFNS+5~, PROCDFNS+10, PROCICNS+4~, PROCICNS+9, GETREG~ |
SDINFO("Patient" | PROCDFNS+11, PROCICNS+10 |
SDRETURN | GETREGA+2~, GETREGA+6*, GETREGA+9*, GETREGA+11, GETREGA+12, GETREGA+14, PROCDFNS~, PROCDFNS+9*, PROCICNS~, PROCICNS+8* , BUILDJSON~, BUILDJSON+2 |
SDRETURN("Patient" | PROCDFNS+11*, PROCICNS+10*, BUILDJSON+1* |
U | VALEAS+2 |