SDESRECPROVSRCH ;ALB/MGD/ANU/JAS,TJB - VISTA SCHEDULING RECALL PROVIDER USER SEARCH RPC; Apr 15, 2024
Source file <SDESRECPROVSRCH.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | BUILDJSON^SDESBUILDJSON ERRLOG^SDESJSON |
VA FileMan | 2 | FIND^DIC ($$GET1,GETS)^DIQ |
Kernel | 1 | $$ACTIVE^XUSER |
Name | Comments | DBIA/ICR reference |
---|---|---|
SEARCHRECALLPROV(JSONRETURN,SEARCHSTRING) | ;Search for Healthcare Providers and provide return of providers in JSON STRING
|
|
VALIDATEINPUT(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 0 or 1 ; 0 = no validation errors ; 1 = validation errors |
|
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) |
|
BLDPROVIDERLIST(USERLIST,PROVIDERLIST) | ;
; input - USERLIST = list of USER names and internal entry numbers from NEW PERSON file (200) ; PROVIDERLIST = passed by reference, represents the screened list of actual providers that are active ; output - PROVIDERLIST = array of active providers |
|
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 |
---|---|
SDES SEARCH RECALL PROVIDERS | SEARCHRECALLPROV |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GETS^DIQ |
200.05 | GET1^DIQ |
200.07 | GET1^DIQ |
^SD(403.54 - [#403.54] | FIND^DIC, GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SD(403.54 - [#403.54] | BUILDRETURN+11 |
^VA(200 - [#200] | BUILDRETURN+31, BUILDRETURN+33 |
Name | Line Occurrences |
---|---|
$$VALIDATEINPUT | SEARCHRECALLPROV+27 |
BLDPROVIDERLIST | SEARCHRECALLPROV+30 |
BUILDRETURN | SEARCHRECALLPROV+31 |
GETPROVLIST | SEARCHRECALLPROV+29 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | GETPROVLIST+4~, GETPROVLIST+7*, GETPROVLIST+17, GETPROVLIST+18*, BUILDRETURN+7*, BUILDRETURN+8*, BUILDRETURN+14, BUILDRETURN+15 |
ERROREXISTS | SEARCHRECALLPROV+22~, SEARCHRECALLPROV+26*, SEARCHRECALLPROV+27*, SEARCHRECALLPROV+28 |
ERRORLIST | SEARCHRECALLPROV+22~, SEARCHRECALLPROV+27, SEARCHRECALLPROV+28, VALIDATEINPUT~, VALIDATEINPUT+7 |
ERRORLIST("Provider" | VALIDATEINPUT+8* |
IEN | BUILDRETURN+5~, BUILDRETURN+7*, BUILDRETURN+8*, BUILDRETURN+10, BUILDRETURN+11, 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+10*, GETPROVLIST+11 |
IENS | BUILDRETURN+5~, BUILDRETURN+31*, BUILDRETURN+32, BUILDRETURN+33*, BUILDRETURN+34 |
INFO | 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 |
JSONRETURN | SEARCHRECALLPROV~, SEARCHRECALLPROV+23!, SEARCHRECALLPROV+28, SEARCHRECALLPROV+32 |
PROVIDERDATA | BUILDRETURN+5~ |
PROVIDERETURN | SEARCHRECALLPROV+22~, SEARCHRECALLPROV+31, SEARCHRECALLPROV+32, BUILDRETURN~, BUILDRETURN+36 |
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 | SEARCHRECALLPROV+22~, SEARCHRECALLPROV+30, SEARCHRECALLPROV+31, BLDPROVIDERLIST~, BLDPROVIDERLIST+6*, BUILDRETURN~ |
PROVIDERLIST( | BUILDRETURN+8, 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, BUILDRETURN+36 |
RESULTS | GETPROVLIST+4~ |
RESULTS("DILIST" | GETPROVLIST+9, GETPROVLIST+10, GETPROVLIST+12, GETPROVLIST+15, GETPROVLIST+16 |
SEARCHSTRING | SEARCHRECALLPROV~, SEARCHRECALLPROV+24*, SEARCHRECALLPROV+25*, SEARCHRECALLPROV+27, SEARCHRECALLPROV+29, VALIDATEINPUT~, VALIDATEINPUT+6, GETPROVLIST~, GETPROVLIST+8 |
SUB3 | GETPROVLIST+4~, GETPROVLIST+6*, GETPROVLIST+9*, GETPROVLIST+10, GETPROVLIST+12, GETPROVLIST+15, GETPROVLIST+16 |
USERDUZ | GETPROVLIST+4~, GETPROVLIST+12*, GETPROVLIST+13, GETPROVLIST+17, BLDPROVIDERLIST+4~, BLDPROVIDERLIST+5* |
USERLIST | SEARCHRECALLPROV+22~, SEARCHRECALLPROV+29, SEARCHRECALLPROV+30, GETPROVLIST~, GETPROVLIST+5!, BLDPROVIDERLIST~, BLDPROVIDERLIST+6 |
USERLIST( | GETPROVLIST+17* |
USERLOC | GETPROVLIST+4~, GETPROVLIST+16*, GETPROVLIST+17 |
USERTEAM | GETPROVLIST+4~, GETPROVLIST+15*, GETPROVLIST+17 |
USRISACTIVE | GETPROVLIST+4~, GETPROVLIST+13*, GETPROVLIST+14 |