SDES2PROVSEARCH ;ALB/JAS - Get Provider based on Search String ;Sept 5, 2024
Source file <SDES2PROVSEARCH.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| PROVIDERSEARCH(JSONRETURN,SDCONTEXT,SDINPUT) | ; rpc = SDES2 SEARCH PROVIDERS
; The SDCONTEXT array is controlled by the Acheron application and its fields are ; needed for the storage of the required auditing information. |
|
| 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 |
|
| GETUSERLIST(USERLIST,SEARCHSTRING) | ; 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(PROVIDERLIST,USERLIST) | ;
; 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(PROVIDERETURN,PROVIDERLIST) | ;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 PROVIDERS | PROVIDERSEARCH |