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

Package: Scheduling

Routine: SDECCONSJSON


Information

SDECCONSJSON ;ALB/LAB/ANU/MGD - VISTA SCHEDULING RPCS ;APR 12, 2021@14:39

Source Information

Source file <SDECCONSJSON.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Scheduling 4 $$PRIORITY^SDEC51  $$PRIO^SDEC51A  $$CALLCON^SDECAR1A  (ENCODE,ERRLOG)^SDESJSON  
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: 1

Package Total Caller Graph
Scheduling 1 SDEC1  

Entry Points

Name Comments DBIA/ICR reference
JSONCONSLIST(SDCONJSON,DFN) ;Return a list of ACTIVE or PENDING CONSULTS for patient
INIT ; initialize values needed
VALIDATE ; validate incoming parameters
JSONSELCONS ;selection all open consults - those consults in PENDING and ACTIVE status
BLDCONSULTREC ;Build a consult record for every consult
BLDJSON ;
JSONCONSLIST1(SDCONJSON,SDCONSID) ;Return a single ACTIVE or PENDING CONSULT for a patient
VALIDATE1 ;
; *Add validation of IEN

External References

Name Field # of Occurrence
$$GET1^DIQ JSONSELCONS+4, JSONSELCONS+5, BLDCONSULTREC+18, BLDCONSULTREC+30, JSONCONSLIST1+28
GETS^DIQ BLDCONSULTREC+2
$$PRIORITY^SDEC51 BLDCONSULTREC+24
$$PRIO^SDEC51A BLDCONSULTREC+14
$$CALLCON^SDECAR1A BLDCONSULTREC+20
ENCODE^SDESJSON BLDJSON+1
ERRLOG^SDESJSON VALIDATE+4, VALIDATE+8, VALIDATE1+4, VALIDATE1+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ,  GETS^DIQ
123.5688 GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATE+6
^GMR(123 - [#123] JSONSELCONS+3, VALIDATE1+6
^GMR(123.5 - [#123.5] BLDCONSULTREC+29
^ORD(100.01 - [#100.01] INIT+1, INIT+2

Label References

Name Line Occurrences
BLDCONSULTREC JSONSELCONS+7, JSONCONSLIST1+29
BLDJSON JSONCONSLIST+27, JSONSELCONS+9, JSONCONSLIST1+27, JSONCONSLIST1+30
INIT JSONCONSLIST+25, JSONCONSLIST1+25
JSONSELCONS JSONCONSLIST+28
VALIDATE JSONCONSLIST+26
VALIDATE1 JSONCONSLIST1+26

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTIVE JSONCONSLIST+23~, INIT+1*, JSONSELCONS+6, JSONCONSLIST1+23~
CPRSSTAT JSONSELCONS+1~, JSONSELCONS+4*, JSONSELCONS+6
DFN JSONCONSLIST~, VALIDATE+2, VALIDATE+6, JSONSELCONS+3, BLDCONSULTREC+20, JSONCONSLIST1+23~, JSONCONSLIST1+28*
ERR JSONCONSLIST+23~, JSONCONSLIST+24*, BLDJSON+1, JSONCONSLIST1+23~, JSONCONSLIST1+24*
ERRMSG JSONCONSLIST+23~, INIT+3*, JSONCONSLIST1+23~
ERRPOP JSONCONSLIST+23~, JSONCONSLIST+27, INIT+3*, VALIDATE+5*, VALIDATE+9*, JSONCONSLIST1+23~, JSONCONSLIST1+27, VALIDATE1+5*, VALIDATE1+9*
IFCSTAT JSONSELCONS+1~, JSONSELCONS+5*, JSONSELCONS+6
PENDING JSONCONSLIST+23~, INIT+2*, JSONSELCONS+6, JSONCONSLIST1+23~
SDARRERR BLDCONSULTREC+1~
SDCLIEN BLDCONSULTREC+1~, BLDCONSULTREC+9*, BLDCONSULTREC+11, BLDCONSULTREC+18
SDCLNAME BLDCONSULTREC+1~, BLDCONSULTREC+10*, BLDCONSULTREC+12
SDCONJSON JSONCONSLIST~, BLDJSON+1, JSONCONSLIST1~
SDCONLET BLDCONSULTREC+1~, BLDCONSULTREC+20*, BLDCONSULTREC+22, BLDCONSULTREC+23
SDCONSARR JSONSELCONS+10!, BLDCONSULTREC+1~, JSONCONSLIST1+31!
SDCONSARR(123 BLDCONSULTREC+5, BLDCONSULTREC+6, BLDCONSULTREC+7, BLDCONSULTREC+9, BLDCONSULTREC+10, BLDCONSULTREC+13, BLDCONSULTREC+15, BLDCONSULTREC+16, BLDCONSULTREC+17, BLDCONSULTREC+19
BLDCONSULTREC+27
SDCONSID JSONSELCONS+1~, JSONSELCONS+2*, JSONSELCONS+3*, JSONSELCONS+4, JSONSELCONS+5, BLDCONSULTREC+2, BLDCONSULTREC+4, BLDCONSULTREC+5, BLDCONSULTREC+6, BLDCONSULTREC+7
BLDCONSULTREC+9, BLDCONSULTREC+10, BLDCONSULTREC+13, BLDCONSULTREC+14, BLDCONSULTREC+15, BLDCONSULTREC+16, BLDCONSULTREC+17, BLDCONSULTREC+19, BLDCONSULTREC+20, BLDCONSULTREC+24
BLDCONSULTREC+27, JSONCONSLIST1~, JSONCONSLIST1+28, VALIDATE1+2, VALIDATE1+6
SDCONSREC JSONCONSLIST+23~, VALIDATE+4, VALIDATE+8, BLDJSON+1, BLDJSON+2!, JSONCONSLIST1+23~, VALIDATE1+4, VALIDATE1+8
SDCONSREC("Consult" JSONSELCONS+8*, BLDCONSULTREC+4*, BLDCONSULTREC+5*, BLDCONSULTREC+6*, BLDCONSULTREC+7*, BLDCONSULTREC+11*, BLDCONSULTREC+12*, BLDCONSULTREC+13*, BLDCONSULTREC+14*, BLDCONSULTREC+15*
BLDCONSULTREC+16*, BLDCONSULTREC+17*, BLDCONSULTREC+18*, BLDCONSULTREC+19*, BLDCONSULTREC+22*, BLDCONSULTREC+23*, BLDCONSULTREC+24*, BLDCONSULTREC+33*
SDECALL BLDCONSULTREC+21!
SDECI JSONCONSLIST+23~, JSONCONSLIST+24*, INIT+3*, BLDCONSULTREC+3*, BLDCONSULTREC+4, BLDCONSULTREC+5, BLDCONSULTREC+6, BLDCONSULTREC+7, BLDCONSULTREC+11, BLDCONSULTREC+12
BLDCONSULTREC+13, BLDCONSULTREC+14, BLDCONSULTREC+15, BLDCONSULTREC+16, BLDCONSULTREC+17, BLDCONSULTREC+18, BLDCONSULTREC+19, BLDCONSULTREC+22, BLDCONSULTREC+23, BLDCONSULTREC+24
BLDCONSULTREC+33, JSONCONSLIST1+23~, JSONCONSLIST1+24*
SDECLET BLDCONSULTREC+21!
SDSTOP BLDCONSULTREC+1~, BLDCONSULTREC+26*, BLDCONSULTREC+31*, BLDCONSULTREC+32*, BLDCONSULTREC+33
SDTMP JSONCONSLIST+23~, JSONCONSLIST1+23~
SDTOSVCI BLDCONSULTREC+1~, BLDCONSULTREC+27*, BLDCONSULTREC+28, BLDCONSULTREC+29, BLDCONSULTREC+30
SIEN BLDCONSULTREC+1~, BLDCONSULTREC+29*, BLDCONSULTREC+30
STOP BLDCONSULTREC+1~, BLDCONSULTREC+26*, BLDCONSULTREC+30*, BLDCONSULTREC+31, BLDCONSULTREC+32
U BLDCONSULTREC+22, BLDCONSULTREC+23
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