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

Package: Scheduling

Routine: SDES2PATSEARCH


Information

SDES2PATSEARCH ;ALB/ANU,BLB,BWF - SDES2 PATIENT SEARCH; OCT 13, 2023@02:00

Source Information

Source file <SDES2PATSEARCH.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Scheduling 10 $$START^SCMCMHTC  ($$FMTISO,$$ISOTFM)^SDAMUTDT  BUILDJSON^SDES2JSON  ($$GETSUB,SENSITIVE)^SDES2UTIL  VALCONTEXT^SDES2VALCONTEXT  $$LAST4SSN^SDESINPUTVALUTL  ERRLOG^SDESJSON  GETFLAGS^SDESPATFLAGS  
$$NEWGAF^SDUTL2  $$OUTPTPR^SDUTL3  
Kernel 2 $$FMDIFF^XLFDT  (DECODE,ENCODE)^XLFJSON  
Master Patient Index VistA 1 $$GETICN^MPIF001  
Registration 1 RDIS^DGRPDB  
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 SDES2GETPATINFO  SDES2GETSTORDPAT  

Entry Points

Name Comments DBIA/ICR reference
SEARCH(JSONRETURN,SDCONTEXT,PARAMS) ; SDES2 PATIENT SEARCH
POPULATEINPUTS(PARAMS,SEARCHSTRING,NUMOFRECORDS,INDEX) ;
INDEX(SEARCHSTRING) ; returns the index to be searched in ^DPT
BUILDPATIENTLIST(PATIENTLIST,SEARCHSTRING,NUMOFRECORDS,INDEX,SDDUZ) ;
POPULATE(PATIENTLIST,DFN,SDDUZ,NUM) ;
GETSENSITIVEPAT(PATIENTLIST,DFN,SDDUZ,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
VALIDATE(ERRORS,NUMOFRECORDS,SEARCHSTRING) ;
TRAILINGSPACES(NAME) ;
BUILDJSON(JSONRETURN,RETURN) ;

External References

Name Field # of Occurrence
RDIS^DGRPDB GETDISABILITIES+3
$$GET1^DIQ POPULATE+19, POPULATE+20, 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
BUILDJSON^SDES2JSON SEARCH+4, SEARCH+9
$$GETSUB^SDES2UTIL BUILDPATIENTLIST+4
SENSITIVE^SDES2UTIL GETSENSITIVEPAT+2
VALCONTEXT^SDES2VALCONTEXT SEARCH+3
$$LAST4SSN^SDESINPUTVALUTL POPULATE+17
ERRLOG^SDESJSON VALIDATE+2, VALIDATE+4
GETFLAGS^SDESPATFLAGS GETFLAGS+2
$$NEWGAF^SDUTL2 POPULATE+18
$$OUTPTPR^SDUTL3 POPULATE+15
$$FMDIFF^XLFDT GETLASTDEMOUPDAT+4
DECODE^XLFJSON GETFLAGS+3
ENCODE^XLFJSON BUILDJSON+2

Used in RPC

RPC Name Call Tags
SDES2 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
^DGEN(27.11 - [#27.11] 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+24, POPULATE+25
^DGS(41.41 - [#41.41] POPULATE+27, POPULATE+28, GETLASTDEMOUPDAT+3
^DPT - [#2] BUILDPATIENTLIST+7, BUILDPATIENTLIST+9, POPULATE+30, POPULATE+31, POPULATE+33, POPULATE+34, POPULATE+36, POPULATE+37, GETELIGIBILITY+8, GETCONDITIONS+4

Label References

Name Line Occurrences
$$GETICN POPULATE+16
$$INDEX POPULATEINPUTS+3
$$TRAILINGSPACES BUILDPATIENTLIST+3
BUILDJSON SEARCH+14
BUILDPATIENTLIST SEARCH+11
GETCONDITIONS POPULATE+33
GETDISABILITIES POPULATE+36
GETELIGIBILITY POPULATE+30
GETFLAGS POPULATE+24
GETLASTDEMOUPDAT POPULATE+27
GETSENSITIVEPAT POPULATE+22
POPULATE BUILDPATIENTLIST+11
POPULATEINPUTS SEARCH+7
VALIDATE SEARCH+8

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+18, POPULATE+19, POPULATE+20, POPULATE+22, POPULATE+24, POPULATE+25, POPULATE+27, POPULATE+28, POPULATE+30, POPULATE+31
, POPULATE+33, POPULATE+34, POPULATE+36, POPULATE+37, POPULATE+39, POPULATE+40, 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
DUZ SEARCH+5
ELIGIBILITYIEN GETELIGIBILITY+1~, GETELIGIBILITY+7*, GETELIGIBILITY+8*, GETELIGIBILITY+9, GETELIGIBILITY+11, GETELIGIBILITY+12
ERRORS SEARCH+1~, SEARCH+3, SEARCH+4, SEARCH+8, SEARCH+9, VALIDATE~, VALIDATE+2, VALIDATE+4
ERRORS("Patient" SEARCH+4*, SEARCH+9*
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+7, SEARCH+11, POPULATEINPUTS~, POPULATEINPUTS+3*, BUILDPATIENTLIST~, BUILDPATIENTLIST+3, BUILDPATIENTLIST+7, BUILDPATIENTLIST+9
JSONERROR BUILDJSON+1~
JSONRETURN SEARCH~, SEARCH+4, SEARCH+9, SEARCH+14, BUILDJSON~
LASTNAME TRAILINGSPACES+1~, TRAILINGSPACES+4*, TRAILINGSPACES+5, TRAILINGSPACES+6*, TRAILINGSPACES+7
MESCNT GETSENSITIVEPAT+1~, GETSENSITIVEPAT+5*, GETSENSITIVEPAT+7*, GETSENSITIVEPAT+8
MESLOOP GETSENSITIVEPAT+1~, GETSENSITIVEPAT+6*, GETSENSITIVEPAT+8
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+18, POPULATE+19, POPULATE+20, POPULATE+22, POPULATE+24, POPULATE+25, POPULATE+27, POPULATE+28, POPULATE+30
, POPULATE+31, POPULATE+33, POPULATE+34, POPULATE+36, POPULATE+37, POPULATE+39, POPULATE+40, GETSENSITIVEPAT~, GETSENSITIVEPAT+3, GETSENSITIVEPAT+4
, GETSENSITIVEPAT+8, GETSENSITIVEPAT+9, 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+1~, SEARCH+7, SEARCH+8, SEARCH+11, POPULATEINPUTS~, POPULATEINPUTS+1*, BUILDPATIENTLIST~, BUILDPATIENTLIST+7, BUILDPATIENTLIST+9, VALIDATE~
, VALIDATE+1*, VALIDATE+2
PARAMETERS SEARCH+1~
PARAMS SEARCH~, SEARCH+7, POPULATEINPUTS~
PARAMS("NUMOFRECORDS" POPULATEINPUTS+1
PARAMS("SEARCHSTRING" POPULATEINPUTS+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+39
, POPULATE+40
PATIENTLIST SEARCH+1~, SEARCH+11, SEARCH+13, SEARCH+14, BUILDPATIENTLIST~, BUILDPATIENTLIST+11, POPULATE~, POPULATE+22, POPULATE+24, POPULATE+27
, POPULATE+30, POPULATE+33, POPULATE+36, GETSENSITIVEPAT~, GETFLAGS~, GETLASTDEMOUPDAT~, GETELIGIBILITY~, GETCONDITIONS~, GETDISABILITIES~
PATIENTLIST("Patient" SEARCH+13*, 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+18*, POPULATE+19*, POPULATE+20*, POPULATE+25*, POPULATE+28*
, POPULATE+31*, POPULATE+34*, POPULATE+37*, POPULATE+39*, POPULATE+40*, GETSENSITIVEPAT+3*, GETSENSITIVEPAT+4*, GETSENSITIVEPAT+8*, GETSENSITIVEPAT+9*, 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*, VALIDATE+4*
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+14*, BUILDJSON~
SDCONTEXT SEARCH~, SEARCH+3
SDCONTEXT("US ER DUZ" , SEARCH+5
SDDFN SEARCH+1~
SDDUZ SEARCH+1~, SEARCH+5*, SEARCH+11, BUILDPATIENTLIST~, BUILDPATIENTLIST+11, POPULATE~, POPULATE+22, GETSENSITIVEPAT~, GETSENSITIVEPAT+2
SEARCHCRITERIA BUILDPATIENTLIST+1~, BUILDPATIENTLIST+4*, BUILDPATIENTLIST+5*, BUILDPATIENTLIST+7*, BUILDPATIENTLIST+9
SEARCHSTRING SEARCH+1~, SEARCH+7, SEARCH+8, SEARCH+11, POPULATEINPUTS~, POPULATEINPUTS+2*, POPULATEINPUTS+3, INDEX~, INDEX+1, INDEX+3
, INDEX+4*, INDEX+6, INDEX+7*, BUILDPATIENTLIST~, BUILDPATIENTLIST+3*, BUILDPATIENTLIST+4, BUILDPATIENTLIST+5, BUILDPATIENTLIST+7, VALIDATE~, VALIDATE+4
SENSITIVE GETSENSITIVEPAT+1~, GETSENSITIVEPAT+2
SENSITIVE( GETSENSITIVEPAT+6, GETSENSITIVEPAT+8
SENSITIVE(1 GETSENSITIVEPAT+3, GETSENSITIVEPAT+4
U POPULATE+14, POPULATE+15
VALRET SEARCH+1~
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