SDES2PROVSEARCH ;ALB/JAS - Get Provider based on Search String ;Sept 5, 2024
Source file <SDES2PROVSEARCH.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | (BUILDJSON,ERRLOG)^SDES2JSON VALCONTEXT^SDES2VALCONTEXT |
VA FileMan | 2 | FIND^DIC ($$GET1,GETS)^DIQ |
Kernel | 1 | $$ACTIVE^XUSER |
PCE Patient Care Encounter | 1 | $$ACTIVPRV^PXAPI |
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 |
Name | Field # of Occurrence |
---|---|
FIND^DIC | GETUSERLIST+7 |
$$GET1^DIQ | BUILDRETURN+26, BUILDRETURN+28 |
GETS^DIQ | BUILDRETURN+7 |
$$ACTIVPRV^PXAPI | BLDPROVIDERLIST+7 |
BUILDJSON^SDES2JSON | PROVIDERSEARCH+19, PROVIDERSEARCH+25, PROVIDERSEARCH+35 |
ERRLOG^SDES2JSON | VALIDATEINPUT+3 |
VALCONTEXT^SDES2VALCONTEXT | PROVIDERSEARCH+18 |
$$ACTIVE^XUSER | BLDPROVIDERLIST+7 |
RPC Name | Call Tags |
---|---|
SDES2 SEARCH PROVIDERS | PROVIDERSEARCH |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^VA(200 - [#200] | BUILDRETURN+25, BUILDRETURN+27 |
Name | Line Occurrences |
---|---|
BLDPROVIDERLIST | PROVIDERSEARCH+31 |
BUILDRETURN | PROVIDERSEARCH+34 |
GETUSERLIST | PROVIDERSEARCH+28 |
VALIDATEINPUT | PROVIDERSEARCH+24 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
C | GETUSERLIST+4~ |
DT | BLDPROVIDERLIST+7 |
ERRORLIST | VALIDATEINPUT~, VALIDATEINPUT+3 |
IEN | BUILDRETURN+5~, BUILDRETURN+6*, BUILDRETURN+7*, BUILDRETURN+9, BUILDRETURN+10, BUILDRETURN+11, BUILDRETURN+12, BUILDRETURN+13, BUILDRETURN+14, BUILDRETURN+15 , BUILDRETURN+16, BUILDRETURN+17, BUILDRETURN+18, BUILDRETURN+19, BUILDRETURN+20, BUILDRETURN+21, BUILDRETURN+22, BUILDRETURN+25, BUILDRETURN+26, BUILDRETURN+27 , BUILDRETURN+28 |
IENS | BUILDRETURN+5~, BUILDRETURN+25*, BUILDRETURN+26, BUILDRETURN+27*, BUILDRETURN+28 |
INFO | BUILDRETURN+5~ |
INFO(200 | BUILDRETURN+10, BUILDRETURN+11, BUILDRETURN+12, BUILDRETURN+13, BUILDRETURN+14, BUILDRETURN+15, BUILDRETURN+16, BUILDRETURN+17, BUILDRETURN+18, BUILDRETURN+19 , BUILDRETURN+20, BUILDRETURN+21, BUILDRETURN+22 |
JSONRETURN | PROVIDERSEARCH~, PROVIDERSEARCH+19, PROVIDERSEARCH+25, PROVIDERSEARCH+35 |
PROVIDERDATA | BUILDRETURN+5~ |
PROVIDERETURN | PROVIDERSEARCH+15~, PROVIDERSEARCH+34, PROVIDERSEARCH+35, BUILDRETURN~ |
PROVIDERETURN("Provider" | BUILDRETURN+9*, BUILDRETURN+10*, BUILDRETURN+11*, BUILDRETURN+12*, BUILDRETURN+13*, BUILDRETURN+14*, BUILDRETURN+15*, BUILDRETURN+16*, BUILDRETURN+17*, BUILDRETURN+18* , BUILDRETURN+19*, BUILDRETURN+20*, BUILDRETURN+21*, BUILDRETURN+22*, BUILDRETURN+23*, BUILDRETURN+24*, BUILDRETURN+26*, BUILDRETURN+28*, BUILDRETURN+29* |
PROVIDERLIST | PROVIDERSEARCH+15~, PROVIDERSEARCH+31, PROVIDERSEARCH+34, BLDPROVIDERLIST~, BUILDRETURN~ |
PROVIDERLIST( | BLDPROVIDERLIST+8*, BUILDRETURN+7 |
RECORDNUMBER | BUILDRETURN+5~, BUILDRETURN+6*, BUILDRETURN+8*, BUILDRETURN+9, BUILDRETURN+10, BUILDRETURN+11, BUILDRETURN+12, BUILDRETURN+13, BUILDRETURN+14, BUILDRETURN+15 , BUILDRETURN+16, BUILDRETURN+17, BUILDRETURN+18, BUILDRETURN+19, BUILDRETURN+20, BUILDRETURN+21, BUILDRETURN+22, BUILDRETURN+23, BUILDRETURN+24, BUILDRETURN+26 , BUILDRETURN+28 |
RESULTS | GETUSERLIST+4~ |
RESULTS("DILIST" | GETUSERLIST+8, GETUSERLIST+9, GETUSERLIST+10 |
SDCONTEXT | PROVIDERSEARCH~, PROVIDERSEARCH+18 |
SDERRORS | PROVIDERSEARCH+15~, PROVIDERSEARCH+18, PROVIDERSEARCH+19, PROVIDERSEARCH+24, PROVIDERSEARCH+25 |
SDINPUT | PROVIDERSEARCH~ |
SDINPUT("SEARCHSTRING" | PROVIDERSEARCH+22 |
SDRETURN | PROVIDERSEARCH+15~, PROVIDERSEARCH+19*, PROVIDERSEARCH+25* |
SDRETURN("Provider" | PROVIDERSEARCH+19*, PROVIDERSEARCH+25* |
SEARCHSTRING | PROVIDERSEARCH+15~, PROVIDERSEARCH+22*, PROVIDERSEARCH+23*, PROVIDERSEARCH+24, PROVIDERSEARCH+28, VALIDATEINPUT~, VALIDATEINPUT+3, GETUSERLIST~, GETUSERLIST+7 |
SUBIEN | GETUSERLIST+4~, GETUSERLIST+6*, GETUSERLIST+8*, GETUSERLIST+9, GETUSERLIST+10 |
USERDUZ | GETUSERLIST+4~, GETUSERLIST+9*, GETUSERLIST+10, BLDPROVIDERLIST+4~, BLDPROVIDERLIST+5*, BLDPROVIDERLIST+6*, BLDPROVIDERLIST+7, BLDPROVIDERLIST+8 |
USERLIST | PROVIDERSEARCH+15~, PROVIDERSEARCH+28, PROVIDERSEARCH+31, GETUSERLIST~, GETUSERLIST+5!, BLDPROVIDERLIST~ |
USERLIST( | GETUSERLIST+10*, BLDPROVIDERLIST+6 |