SDESRECPROVSRCH ;ALB/MGD/ANU - VISTA SCHEDULING RECALL PROVIDER USER SEARCH RPC; Oct 20, 2022
Source file <SDESRECPROVSRCH.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | BUILDJSON^SDESBUILDJSON ERRLOG^SDESJSON |
VA FileMan | 2 | FIND^DIC ($$GET1,GETS)^DIQ |
PCE Patient Care Encounter | 1 | $$ACTIVPRV^PXAPI |
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) |
---|---|
^VA(200 - [#200] | BUILDRETURN+31, BUILDRETURN+33 |
Name | Line Occurrences |
---|---|
$$VALIDATEINPUT | SEARCHRECALLPROV+26 |
BLDPROVIDERLIST | SEARCHRECALLPROV+29 |
BUILDRETURN | SEARCHRECALLPROV+30 |
GETPROVLIST | SEARCHRECALLPROV+28 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | GETPROVLIST+4~, GETPROVLIST+8*, GETPROVLIST+19, GETPROVLIST+20*, BUILDRETURN+7*, BUILDRETURN+9*, BUILDRETURN+14, BUILDRETURN+15 |
DT | GETPROVLIST+14 |
ERROREXISTS | SEARCHRECALLPROV+21~, SEARCHRECALLPROV+25*, SEARCHRECALLPROV+26*, SEARCHRECALLPROV+27 |
ERRORLIST | SEARCHRECALLPROV+21~, SEARCHRECALLPROV+26, SEARCHRECALLPROV+27, VALIDATEINPUT~, VALIDATEINPUT+7 |
ERRORLIST("Provider" | VALIDATEINPUT+8* |
IEN | BUILDRETURN+5~, BUILDRETURN+7*, BUILDRETURN+9*, 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+11*, GETPROVLIST+12 |
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+22!, SEARCHRECALLPROV+27, SEARCHRECALLPROV+31 |
PROVIDERDATA | BUILDRETURN+5~ |
PROVIDERETURN | SEARCHRECALLPROV+21~, SEARCHRECALLPROV+30, SEARCHRECALLPROV+31, BUILDRETURN~, BUILDRETURN+36 |
PROVIDERETURN("Provider" | 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+21~, SEARCHRECALLPROV+29, SEARCHRECALLPROV+30, BLDPROVIDERLIST~, BLDPROVIDERLIST+7*, BUILDRETURN~ |
PROVIDERLIST( | BUILDRETURN+9, BUILDRETURN+14, BUILDRETURN+15 |
RECORDNUMBER | BUILDRETURN+5~, BUILDRETURN+7*, 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+10, GETPROVLIST+11, GETPROVLIST+13, GETPROVLIST+17, GETPROVLIST+18 |
SEARCHSTRING | SEARCHRECALLPROV~, SEARCHRECALLPROV+23*, SEARCHRECALLPROV+24*, SEARCHRECALLPROV+26, SEARCHRECALLPROV+28, VALIDATEINPUT~, VALIDATEINPUT+6, GETPROVLIST~, GETPROVLIST+9 |
SUB3 | GETPROVLIST+4~, GETPROVLIST+6*, GETPROVLIST+10*, GETPROVLIST+11, GETPROVLIST+13, GETPROVLIST+17, GETPROVLIST+18 |
USERDUZ | GETPROVLIST+4~, GETPROVLIST+13*, GETPROVLIST+14, GETPROVLIST+19, BLDPROVIDERLIST+4~, BLDPROVIDERLIST+5* |
USERLIST | SEARCHRECALLPROV+21~, SEARCHRECALLPROV+28, SEARCHRECALLPROV+29, GETPROVLIST~, GETPROVLIST+5!, BLDPROVIDERLIST~, BLDPROVIDERLIST+7 |
USERLIST( | GETPROVLIST+19* |
USERLOC | GETPROVLIST+4~, GETPROVLIST+18*, GETPROVLIST+19 |
USERTEAM | GETPROVLIST+4~, GETPROVLIST+17*, GETPROVLIST+19 |
USRISACTIVE | GETPROVLIST+4~, GETPROVLIST+14*, GETPROVLIST+15 |