SDESPROVSEARCH ;BAYPINES/KML,MGD,JAS,LAB - Get Provider based on Search String ;Apr 17, 2025
Source file <SDESPROVSEARCH.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| PROVIDERSEARCH(JSONRETURN,SEARCHSTRING) | ;Search for Healthcare Providers and provide return of providers in JSON STRING
|
|
| VALIDATE(ERRORS,SEARCHSTRING) | ; validate incoming parameters
; input - ERRORS = 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 |
|
| 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 |
|
| NEWPROVLIST(SEARCHSTRING,PROVIDERLIST) | ;Loop through "B" cross reference for providers
|
| RPC Name | Call Tags |
|---|---|
| SDES SEARCH PROVIDERS | PROVIDERSEARCH |