SDES2RECPRVSRCH ;ALB/TJB - VISTA SCHEDULING RECALL PROVIDER USER SEARCH RPC; May 11, 2024
Source file <SDES2RECPRVSRCH.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | (BUILDJSON,ERRLOG)^SDES2JSON VALCONTEXT^SDES2VALCONTEXT |
VA FileMan | 2 | FIND^DIC ($$GET1,GETS)^DIQ |
Kernel | 1 | $$ACTIVE^XUSER |
Name | Comments | DBIA/ICR reference |
---|---|---|
RECPROVSEARCH(RESULT,SDCONTEXT,SDINPUT) | ;Search for Healthcare Providers and provide return of providers in JSON STRING
|
|
VALIDATE(ERRORLIST,SEARCHSTRING) | ; validate incoming parameters
; input - ERRORLIST = passed in by reference, represents the errors that could be generated when validating the searchstring ; SEARCHSTRING = represents the name or partial name of the provider ; returns search string |
|
GETPROVLIST(SEARCHSTRING,USERLIST) | ; pull matching providers using the first input parameter passed in by the RPC
; Input - SEARCHSTRING = string that represents the name of the person ; USERLIST = passed in by reference; represents the array that will be returned as output ; Output - USERLIST = list of USER names and internal entry numbers from NEW PERSON file (200) |
|
BUILDRETURN(PROVIDERLIST,PROVIDERETURN) | ;Build return array with provider data
; input - PROVIDERLIST = array of active providers ; PROVIDERETURN = passed by reference, represents the array of providers and associated data that will be returned to the client ; output - PROVIDERETURN = provider array and their associated data to be sent back to the client |
RPC Name | Call Tags |
---|---|
SDES2 SEARCH RECALL PROVIDERS | RECPROVSEARCH |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GETS^DIQ |
200.05 | GET1^DIQ |
200.07 | GET1^DIQ |
^SD(403.54 - [#403.54] | FIND^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^VA(200 - [#200] | BUILDRETURN+31, BUILDRETURN+33 |
Name | Line Occurrences |
---|---|
$$VALIDATE | RECPROVSEARCH+9 |
BUILDRETURN | RECPROVSEARCH+12 |
GETPROVLIST | RECPROVSEARCH+11 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | GETPROVLIST+4~, GETPROVLIST+6*, GETPROVLIST+17, GETPROVLIST+18*, BUILDRETURN+5~, BUILDRETURN+7*, BUILDRETURN+8*, BUILDRETURN+11, BUILDRETURN+14, BUILDRETURN+15 |
ERRORLIST | VALIDATE~, VALIDATE+5 |
ERRORLIST("Provider" | VALIDATE+6* |
ERRORS | RECPROVSEARCH+5~, RECPROVSEARCH+6, RECPROVSEARCH+7, RECPROVSEARCH+9, RECPROVSEARCH+10 |
ERRORS("Provider" | RECPROVSEARCH+7* |
IEN | BUILDRETURN+5~, BUILDRETURN+7*, BUILDRETURN+8*, BUILDRETURN+10, BUILDRETURN+12, BUILDRETURN+17, BUILDRETURN+18, BUILDRETURN+19, BUILDRETURN+20, BUILDRETURN+21 , BUILDRETURN+22, BUILDRETURN+23, BUILDRETURN+24, BUILDRETURN+25, BUILDRETURN+26, BUILDRETURN+27, BUILDRETURN+28, BUILDRETURN+31, BUILDRETURN+32, BUILDRETURN+33 , BUILDRETURN+34 |
IEN40354 | GETPROVLIST+4~, GETPROVLIST+9*, GETPROVLIST+17 |
IENS | BUILDRETURN+5~, BUILDRETURN+31*, BUILDRETURN+32, BUILDRETURN+33*, BUILDRETURN+34 |
INFO | BUILDRETURN+5~, BUILDRETURN+6! |
INFO(200 | BUILDRETURN+12, BUILDRETURN+17, BUILDRETURN+18, BUILDRETURN+19, BUILDRETURN+20, BUILDRETURN+21, BUILDRETURN+22, BUILDRETURN+23, BUILDRETURN+24, BUILDRETURN+25 , BUILDRETURN+26, BUILDRETURN+27, BUILDRETURN+28 |
PROVIDERDATA | BUILDRETURN+5~ |
PROVIDERETURN | RECPROVSEARCH+5~, RECPROVSEARCH+12, RECPROVSEARCH+13, BUILDRETURN~ |
PROVIDERETURN("Provider" | BUILDRETURN+10*, BUILDRETURN+11*, BUILDRETURN+12*, BUILDRETURN+14*, BUILDRETURN+15*, BUILDRETURN+17*, BUILDRETURN+18*, BUILDRETURN+19*, BUILDRETURN+20*, BUILDRETURN+21* , BUILDRETURN+22*, BUILDRETURN+23*, BUILDRETURN+24*, BUILDRETURN+25*, BUILDRETURN+26*, BUILDRETURN+27*, BUILDRETURN+28*, BUILDRETURN+29*, BUILDRETURN+30*, BUILDRETURN+32* , BUILDRETURN+34*, BUILDRETURN+35* |
PROVIDERLIST | BUILDRETURN~ |
PROVIDERLIST( | BUILDRETURN+8, BUILDRETURN+11, BUILDRETURN+14, BUILDRETURN+15 |
RECORDNUMBER | BUILDRETURN+5~, BUILDRETURN+7*, BUILDRETURN+9*, BUILDRETURN+10, BUILDRETURN+11, BUILDRETURN+12, BUILDRETURN+14, BUILDRETURN+15, BUILDRETURN+17, BUILDRETURN+18 , BUILDRETURN+19, BUILDRETURN+20, BUILDRETURN+21, BUILDRETURN+22, BUILDRETURN+23, BUILDRETURN+24, BUILDRETURN+25, BUILDRETURN+26, BUILDRETURN+27, BUILDRETURN+28 , BUILDRETURN+29, BUILDRETURN+30, BUILDRETURN+32, BUILDRETURN+34 |
RESULT | RECPROVSEARCH~, RECPROVSEARCH+7, RECPROVSEARCH+10, RECPROVSEARCH+13 |
RESULTS | GETPROVLIST+4~ |
RESULTS("DILIST" | GETPROVLIST+8, GETPROVLIST+9, GETPROVLIST+10, GETPROVLIST+11, GETPROVLIST+15, GETPROVLIST+16 |
SDCONTEXT | RECPROVSEARCH~, RECPROVSEARCH+6 |
SDINPUT | RECPROVSEARCH~ |
SDINPUT("SEARCHSTRING" | RECPROVSEARCH+9 |
SEARCHSTRING | RECPROVSEARCH+9*, RECPROVSEARCH+11, VALIDATE~, VALIDATE+4, VALIDATE+7, GETPROVLIST~, GETPROVLIST+7 |
SUB3 | GETPROVLIST+4~, GETPROVLIST+6*, GETPROVLIST+8*, GETPROVLIST+9, GETPROVLIST+10, GETPROVLIST+11, GETPROVLIST+15, GETPROVLIST+16 |
USERDUZ | GETPROVLIST+4~, GETPROVLIST+11*, GETPROVLIST+12, GETPROVLIST+17 |
USERLIST | RECPROVSEARCH+5~, RECPROVSEARCH+11, RECPROVSEARCH+12, GETPROVLIST~, GETPROVLIST+5! |
USERLIST( | GETPROVLIST+17* |
USERLOC | GETPROVLIST+4~, GETPROVLIST+16*, GETPROVLIST+17 |
USERTEAM | GETPROVLIST+4~, GETPROVLIST+15*, GETPROVLIST+17 |
USRISACTIVE | GETPROVLIST+4~, GETPROVLIST+12*, GETPROVLIST+13 |