SDES2RECPRVSRCH ;ALB/TJB - VISTA SCHEDULING RECALL PROVIDER USER SEARCH RPC; May 11, 2024
Source file <SDES2RECPRVSRCH.m>
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 |