Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDESPROVSEARCH

Package: Scheduling

Routine: SDESPROVSEARCH


Information

SDESPROVSEARCH ;BAYPINES/KML,MGD - Get Provider based on Search String ;Sept 23, 2022

Source Information

Source file <SDESPROVSEARCH.m>

Call Graph

Call Graph

Call Graph Total: 5

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  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDES2  

Entry Points

Name Comments DBIA/ICR reference
PROVIDERSEARCH(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
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
SCREEN(USERDUZ,DATE) ;
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
GETUSERLIST(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)

External References

Name Field # of Occurrence
FIND^DIC GETUSERLIST+7
$$GET1^DIQ BUILDRETURN+27, BUILDRETURN+29
GETS^DIQ BUILDRETURN+8
$$ACTIVPRV^PXAPI SCREEN+17
BUILDJSON^SDESBUILDJSON PROVIDERSEARCH+28, PROVIDERSEARCH+32
ERRLOG^SDESJSON VALIDATEINPUT+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] FIND^DIC,  GETS^DIQ
200.05 GET1^DIQ
200.07 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^VA(200 - [#200] BUILDRETURN+26, BUILDRETURN+28

Label References

Name Line Occurrences
$$SCREEN BLDPROVIDERLIST+6
$$VALIDATEINPUT PROVIDERSEARCH+27
BLDPROVIDERLIST PROVIDERSEARCH+30
BUILDRETURN PROVIDERSEARCH+31
GETUSERLIST PROVIDERSEARCH+29

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DATE SCREEN~, SCREEN+15*, SCREEN+16*, SCREEN+17
DT BLDPROVIDERLIST+6, SCREEN+15
ERROREXISTS PROVIDERSEARCH+22~, PROVIDERSEARCH+26*, PROVIDERSEARCH+27*, PROVIDERSEARCH+28
ERRORLIST PROVIDERSEARCH+22~, PROVIDERSEARCH+27, PROVIDERSEARCH+28, VALIDATEINPUT~, VALIDATEINPUT+7
ERRORLIST("Provider" VALIDATEINPUT+8*
IEN BUILDRETURN+5~, BUILDRETURN+7*, BUILDRETURN+8*, 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+26, BUILDRETURN+27, BUILDRETURN+28
, BUILDRETURN+29
IENS BUILDRETURN+5~, BUILDRETURN+26*, BUILDRETURN+27, BUILDRETURN+28*, BUILDRETURN+29
INFO BUILDRETURN+6!
INFO(200 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
JSONRETURN PROVIDERSEARCH~, PROVIDERSEARCH+23!, PROVIDERSEARCH+28, PROVIDERSEARCH+32
PROVIDERDATA BUILDRETURN+5~
PROVIDERETURN PROVIDERSEARCH+22~, PROVIDERSEARCH+31, PROVIDERSEARCH+32, BUILDRETURN~
PROVIDERETURN("Provider" 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+25*, BUILDRETURN+27*, BUILDRETURN+29*, BUILDRETURN+30*
PROVIDERLIST PROVIDERSEARCH+22~, PROVIDERSEARCH+30, PROVIDERSEARCH+31, BLDPROVIDERLIST~, BUILDRETURN~
PROVIDERLIST( BLDPROVIDERLIST+6*, BUILDRETURN+8
RECORDNUMBER BUILDRETURN+5~, 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+23, BUILDRETURN+24, BUILDRETURN+25, BUILDRETURN+27
, BUILDRETURN+29
RESULTS GETUSERLIST+4~
RESULTS("DILIST" GETUSERLIST+8, GETUSERLIST+9, GETUSERLIST+10
SEARCHSTRING PROVIDERSEARCH~, PROVIDERSEARCH+24*, PROVIDERSEARCH+25*, PROVIDERSEARCH+27, PROVIDERSEARCH+29, VALIDATEINPUT~, VALIDATEINPUT+6, GETUSERLIST~, GETUSERLIST+7
SUB3 GETUSERLIST+4~, GETUSERLIST+6*, GETUSERLIST+8*, GETUSERLIST+9, GETUSERLIST+10
USERDUZ BLDPROVIDERLIST+4~, BLDPROVIDERLIST+5*, BLDPROVIDERLIST+6*, SCREEN~, SCREEN+14, SCREEN+17, GETUSERLIST+4~, GETUSERLIST+9*, GETUSERLIST+10
USERLIST PROVIDERSEARCH+22~, PROVIDERSEARCH+29, PROVIDERSEARCH+30, BLDPROVIDERLIST~, GETUSERLIST~, GETUSERLIST+5!
USERLIST( BLDPROVIDERLIST+6, GETUSERLIST+10*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All