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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDESPATSEARCH

Package: Scheduling

Routine: SDESPATSEARCH


Information

SDESPATSEARCH ;ALB/BLB - SDES PATIENT SEARCH; Jun 02, 2023@02:00

Source Information

Source file <SDESPATSEARCH.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Scheduling 7 $$START^SCMCMHTC  ($$FMTISO,$$ISOTFM)^SDAMUTDT  $$GETSUB^SDECU  $$LAST4SSN^SDESINPUTVALUTL  ERRLOG^SDESJSON  GETFLAGS^SDESPATFLAGS  $$OUTPTPR^SDUTL3  
Kernel 2 $$FMDIFF^XLFDT  (DECODE,ENCODE)^XLFJSON  
Registration 2 RDIS^DGRPDB  PTSEC^DGSEC4  
Master Patient Index VistA 1 $$GETICN^MPIF001  
VA FileMan 1 ($$GET1,GETS)^DIQ  

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: 2

Package Total Caller Graph
Scheduling 2 SDES2GETREGS  SDESGETREGA1  

Entry Points

Name Comments DBIA/ICR reference
SEARCH(JSONRETURN,SEARCHSTRING,NUMOFRECORDS) ; SDES PATIENT SEARCH
INDEX(SEARCHSTRING) ; returns the index to be searched in ^DPT
BUILDPATIENTLIST(PATIENTLIST,SEARCHSTRING,NUMOFRECORDS,INDEX) ;
POPULATE(PATIENTLIST,DFN,NUM) ;
GETSENSITIVEPAT(PATIENTLIST,DFN,NUM) ;
GETFLAGS(PATIENTLIST,DFN,NUM) ;
GETLASTDEMOUPDAT(PATIENTLIST,DFN,NUM) ; last patient demographic update
GETELIGIBILITY(PATIENTLIST,DFN,NUM) ; top level primary code + secondary eligibilities
GETCONDITIONS(PATIENTLIST,DFN,NUM) ; service connected conditions
GETDISABILITIES(PATIENTLIST,DFN,NUM) ; rated disabilities
GETICN(DFN) ; patient ICN
VALIDATENUMREC(NUMOFRECORDS,ERRORS) ; number of records to return
TRAILINGSPACES(NAME) ;
BUILDJSON(JSONRETURN,RETURN) ;

External References

Name Field # of Occurrence
RDIS^DGRPDB GETDISABILITIES+3
PTSEC^DGSEC4 GETSENSITIVEPAT+2
$$GET1^DIQ GETLASTDEMOUPDAT+4, GETLASTDEMOUPDAT+5, GETELIGIBILITY+4, GETELIGIBILITY+5, GETELIGIBILITY+9, GETELIGIBILITY+11, GETELIGIBILITY+12, GETCONDITIONS+6, GETDISABILITIES+9, GETICN+4
GETS^DIQ POPULATE+3
$$GETICN^MPIF001 GETICN+3
$$START^SCMCMHTC POPULATE+14
$$FMTISO^SDAMUTDT POPULATE+6, POPULATE+7, GETLASTDEMOUPDAT+5, GETDISABILITIES+15, GETDISABILITIES+16
$$ISOTFM^SDAMUTDT INDEX+3, INDEX+4
$$GETSUB^SDECU BUILDPATIENTLIST+4
$$LAST4SSN^SDESINPUTVALUTL POPULATE+17
ERRLOG^SDESJSON VALIDATENUMREC+2
GETFLAGS^SDESPATFLAGS GETFLAGS+2
$$OUTPTPR^SDUTL3 POPULATE+15
$$FMDIFF^XLFDT GETLASTDEMOUPDAT+4
DECODE^XLFJSON GETFLAGS+3
ENCODE^XLFJSON BUILDJSON+2

Used in RPC

RPC Name Call Tags
SDES PATIENT SEARCH SEARCH

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ,  GETS^DIQ
2.0361 GET1^DIQ
2.05 GET1^DIQ
^DIC(31 - [#31] GET1^DIQ
^DGS(41.41 - [#41.41] GET1^DIQ
^DIC(8 - [#8] GET1^DIQ
^XTV(8989.3 - [#8989.3] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGPF(26.13 - [#26.13] POPULATE+21, POPULATE+22
^DGS(41.41 - [#41.41] POPULATE+24, POPULATE+25, GETLASTDEMOUPDAT+3
^DPT - [#2] BUILDPATIENTLIST+7, BUILDPATIENTLIST+9, POPULATE+27, POPULATE+28, POPULATE+30, POPULATE+31, POPULATE+33, POPULATE+34, GETELIGIBILITY+8, GETCONDITIONS+4

Label References

Name Line Occurrences
$$GETICN POPULATE+16
$$INDEX SEARCH+6
$$TRAILINGSPACES BUILDPATIENTLIST+3
BUILDJSON SEARCH+4, SEARCH+7, SEARCH+12
BUILDPATIENTLIST SEARCH+9
GETCONDITIONS POPULATE+30
GETDISABILITIES POPULATE+33
GETELIGIBILITY POPULATE+27
GETFLAGS POPULATE+21
GETLASTDEMOUPDAT POPULATE+24
GETSENSITIVEPAT POPULATE+19
POPULATE BUILDPATIENTLIST+11
VALIDATENUMREC SEARCH+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AECODE GETDISABILITIES+1~, GETDISABILITIES+12*, GETDISABILITIES+13
AFFECTED GETDISABILITIES+1~, GETDISABILITIES+13*, GETDISABILITIES+14
CONDITIONIEN GETCONDITIONS+1~, GETCONDITIONS+3*, GETCONDITIONS+4*, GETCONDITIONS+6
COUNT GETELIGIBILITY+1~, GETELIGIBILITY+3*, GETELIGIBILITY+4, GETELIGIBILITY+5, GETELIGIBILITY+10*, GETELIGIBILITY+11, GETELIGIBILITY+12, GETCONDITIONS+1~, GETCONDITIONS+3*, GETCONDITIONS+5*
, GETCONDITIONS+6, GETDISABILITIES+1~, GETDISABILITIES+7*, GETDISABILITIES+8*, GETDISABILITIES+9, GETDISABILITIES+10, GETDISABILITIES+11, GETDISABILITIES+12, GETDISABILITIES+14, GETDISABILITIES+15
, GETDISABILITIES+16
DEMODIFF GETLASTDEMOUPDAT+1~, GETLASTDEMOUPDAT+4*, GETLASTDEMOUPDAT+6
DFN BUILDPATIENTLIST+1~, BUILDPATIENTLIST+8*, BUILDPATIENTLIST+9*, BUILDPATIENTLIST+11, POPULATE~, POPULATE+3, POPULATE+4, POPULATE+5, POPULATE+6, POPULATE+7
, POPULATE+8, POPULATE+9, POPULATE+10, POPULATE+11, POPULATE+12, POPULATE+13, POPULATE+14, POPULATE+15, POPULATE+16, POPULATE+17
, POPULATE+19, POPULATE+21, POPULATE+22, POPULATE+24, POPULATE+25, POPULATE+27, POPULATE+28, POPULATE+30, POPULATE+31, POPULATE+33
, POPULATE+34, POPULATE+36, POPULATE+37, GETSENSITIVEPAT~, GETSENSITIVEPAT+2, GETFLAGS~, GETFLAGS+2, GETLASTDEMOUPDAT~, GETLASTDEMOUPDAT+3, GETELIGIBILITY~
, GETELIGIBILITY+4, GETELIGIBILITY+5, GETELIGIBILITY+8, GETELIGIBILITY+9, GETELIGIBILITY+11, GETCONDITIONS~, GETCONDITIONS+4, GETCONDITIONS+6, GETDISABILITIES~, GETDISABILITIES+3
, GETICN~, GETICN+3, GETICN+4
DT GETLASTDEMOUPDAT+4
ELIGIBILITYIEN GETELIGIBILITY+1~, GETELIGIBILITY+7*, GETELIGIBILITY+8*, GETELIGIBILITY+9, GETELIGIBILITY+11, GETELIGIBILITY+12
ERRORS SEARCH+1~, SEARCH+3, SEARCH+4, VALIDATENUMREC~, VALIDATENUMREC+2
FIRSTNAME TRAILINGSPACES+1~, TRAILINGSPACES+3*, TRAILINGSPACES+7
FLAGCOUNT GETFLAGS+1~, GETFLAGS+4*, GETFLAGS+5*, GETFLAGS+6, GETFLAGS+7, GETFLAGS+8, GETFLAGS+9, GETFLAGS+10, GETFLAGS+11, GETFLAGS+12
, GETFLAGS+13, GETFLAGS+14, GETFLAGS+15, GETFLAGS+17, GETFLAGS+18
FLAGS GETFLAGS+1~
FLAGS("Flag" GETFLAGS+5, GETFLAGS+6, GETFLAGS+7, GETFLAGS+8, GETFLAGS+9, GETFLAGS+10, GETFLAGS+11, GETFLAGS+12, GETFLAGS+13, GETFLAGS+14
, GETFLAGS+15, GETFLAGS+17, GETFLAGS+18
ICN GETICN+1~, GETICN+3*, GETICN+4, GETICN+5
INDEX SEARCH+1~, SEARCH+6*, SEARCH+9, BUILDPATIENTLIST~, BUILDPATIENTLIST+3, BUILDPATIENTLIST+7, BUILDPATIENTLIST+9
JSONERROR BUILDJSON+1~
JSONRETURN SEARCH~, SEARCH+4, SEARCH+7, SEARCH+12, BUILDJSON~
LASTNAME TRAILINGSPACES+1~, TRAILINGSPACES+4*, TRAILINGSPACES+5, TRAILINGSPACES+6*, TRAILINGSPACES+7
NAME TRAILINGSPACES~, TRAILINGSPACES+3, TRAILINGSPACES+4, TRAILINGSPACES+7*, TRAILINGSPACES+8
NARRATIVECOUNT GETFLAGS+1~, GETFLAGS+16*, GETFLAGS+17*, GETFLAGS+18
NATLOCALFLAGS GETFLAGS+1~, GETFLAGS+2
NUM BUILDPATIENTLIST+1~, BUILDPATIENTLIST+6*, BUILDPATIENTLIST+7, BUILDPATIENTLIST+9, BUILDPATIENTLIST+10*, BUILDPATIENTLIST+11, POPULATE~, POPULATE+4, POPULATE+5, POPULATE+6
, POPULATE+7, POPULATE+8, POPULATE+9, POPULATE+10, POPULATE+11, POPULATE+12, POPULATE+13, POPULATE+14, POPULATE+15, POPULATE+16
, POPULATE+17, POPULATE+19, POPULATE+21, POPULATE+22, POPULATE+24, POPULATE+25, POPULATE+27, POPULATE+28, POPULATE+30, POPULATE+31
, POPULATE+33, POPULATE+34, POPULATE+36, POPULATE+37, GETSENSITIVEPAT~, GETSENSITIVEPAT+3, GETFLAGS~, GETFLAGS+6, GETFLAGS+7, GETFLAGS+8
, GETFLAGS+9, GETFLAGS+10, GETFLAGS+11, GETFLAGS+12, GETFLAGS+13, GETFLAGS+14, GETFLAGS+15, GETFLAGS+18, GETLASTDEMOUPDAT~, GETLASTDEMOUPDAT+5
, GETLASTDEMOUPDAT+6, GETELIGIBILITY~, GETELIGIBILITY+4, GETELIGIBILITY+5, GETELIGIBILITY+11, GETELIGIBILITY+12, GETCONDITIONS~, GETCONDITIONS+6, GETDISABILITIES~, GETDISABILITIES+5
, GETDISABILITIES+9, GETDISABILITIES+10, GETDISABILITIES+11, GETDISABILITIES+14, GETDISABILITIES+15, GETDISABILITIES+16
NUMOFRECORDS SEARCH~, SEARCH+3, SEARCH+9, BUILDPATIENTLIST~, BUILDPATIENTLIST+7, BUILDPATIENTLIST+9, VALIDATENUMREC~, VALIDATENUMREC+1*, VALIDATENUMREC+2
PATIENTDATA POPULATE+1~
PATIENTDATA(2 POPULATE+5, POPULATE+6, POPULATE+7, POPULATE+8, POPULATE+9, POPULATE+10, POPULATE+11, POPULATE+12, POPULATE+13, POPULATE+36
, POPULATE+37
PATIENTLIST SEARCH+1~, SEARCH+7, SEARCH+9, SEARCH+11, SEARCH+12, BUILDPATIENTLIST~, BUILDPATIENTLIST+11, POPULATE~, POPULATE+19, POPULATE+21
, POPULATE+24, POPULATE+27, POPULATE+30, POPULATE+33, GETSENSITIVEPAT~, GETFLAGS~, GETLASTDEMOUPDAT~, GETELIGIBILITY~, GETCONDITIONS~, GETDISABILITIES~
PATIENTLIST("Patient" SEARCH+7*, SEARCH+11*, POPULATE+4*, POPULATE+5*, POPULATE+6*, POPULATE+7*, POPULATE+8*, POPULATE+9*, POPULATE+10*, POPULATE+11*
, POPULATE+12*, POPULATE+13*, POPULATE+14*, POPULATE+15*, POPULATE+16*, POPULATE+17*, POPULATE+22*, POPULATE+25*, POPULATE+28*, POPULATE+31*
, POPULATE+34*, POPULATE+36*, POPULATE+37*, GETSENSITIVEPAT+3*, GETFLAGS+6*, GETFLAGS+7*, GETFLAGS+8*, GETFLAGS+9*, GETFLAGS+10*, GETFLAGS+11*
, GETFLAGS+12*, GETFLAGS+13*, GETFLAGS+14*, GETFLAGS+15*, GETFLAGS+18*, GETLASTDEMOUPDAT+5*, GETLASTDEMOUPDAT+6*, GETELIGIBILITY+4*, GETELIGIBILITY+5*, GETELIGIBILITY+11*
, GETELIGIBILITY+12*, GETCONDITIONS+6*, GETDISABILITIES+5*, GETDISABILITIES+9*, GETDISABILITIES+10*, GETDISABILITIES+11*, GETDISABILITIES+14*, GETDISABILITIES+15*, GETDISABILITIES+16*
PATIENTNAME BUILDPATIENTLIST+1~
PREREGIEN GETLASTDEMOUPDAT+1~, GETLASTDEMOUPDAT+3*, GETLASTDEMOUPDAT+4, GETLASTDEMOUPDAT+5
RATEDARRAY GETDISABILITIES+1~, GETDISABILITIES+3, GETDISABILITIES+4
RATEDARRAY( GETDISABILITIES+8, GETDISABILITIES+9, GETDISABILITIES+10, GETDISABILITIES+11, GETDISABILITIES+12, GETDISABILITIES+15, GETDISABILITIES+16
RETURN SEARCH+1~, SEARCH+4*, SEARCH+7*, SEARCH+12*, BUILDJSON~
SEARCHCRITERIA BUILDPATIENTLIST+1~, BUILDPATIENTLIST+4*, BUILDPATIENTLIST+5*, BUILDPATIENTLIST+7*, BUILDPATIENTLIST+9
SEARCHSTRING SEARCH~, SEARCH+6, SEARCH+7, SEARCH+9, INDEX~, INDEX+1, INDEX+3, INDEX+4*, INDEX+6, INDEX+7*
, BUILDPATIENTLIST~, BUILDPATIENTLIST+3*, BUILDPATIENTLIST+4, BUILDPATIENTLIST+5, BUILDPATIENTLIST+7
SENSITIVE GETSENSITIVEPAT+1~, GETSENSITIVEPAT+2
SENSITIVE(1 GETSENSITIVEPAT+3
U POPULATE+14, POPULATE+15
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All