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 |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: HMPDCRC

Package: Enterprise Health Management Platform

Routine: HMPDCRC


Information

HMPDCRC ;SLC/MKB,AGP,ASMR/RRB,BL - Compute CRC32 for VistA data;Aug 29, 2016 20:06:27

Source Information

Source file <HMPDCRC.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Enterprise Health Management Platform 4 $$TAG^HMPDJ  ENCODE^HMPJSON  LOGDPT^HMPLOG  $$SYS^HMPUTILS  
Kernel 3 ^%ZTLOAD  $$CRC32^XLFCRC  ($$FMADD,$$NOW)^XLFDT  
Master Patient Index VistA 1 $$GETDFN^MPIF001  

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
Enterprise Health Management Platform 2 HMP GET CHECKSUM  HMPDJ  

Entry Points

Name Comments DBIA/ICR reference
CHECK(HMPCRC,FILTER) ; -- Return CRC32 checksums of VistA data
; RPC = HMP GET CHECKSUM
; where FILTER("system") = name of calling/client system
; FILTER("patientId") = DFN or DFN;ICN
; FILTER("domain") = name of desired data type (see HMPDJ0)
; FILTER("uid") = single item id to return [opt]
; FILTER("start") = start date.time of search [opt]
; FILTER("stop") = stop date.time of search [opt]
; FILTER("queued") = true or false
QUEUED(FILTER,NODE,SYS,DFN) ; -- start job to generate checksums
EN(FILTER) ; -- Return CRC values of requested data in ^XTMP(node,"data") as JSON
EN1 ; [entry point for queued job]
ENCODE ; -- return list(s) of checksums as JSON
ENQ
PREP ; -- reformat ^TMP("HMPCRC",$J) for JSON utility -> ^TMP("HMPCRCF",$J)
GET(LIST,CRC) ; -- compute CRC32 value for LIST of strings
ONE(ARRAY,COLL) ; -- process one data item [save result in ^TMP]
GET1(ARRAY,COLL) ; -- process one data item [return result]
ALL() ; -- return string for all types of data
ATTR(X) ; -- return list of attributes needed for collection X
TEST(FILTER) ;

External References

Name Field # of Occurrence
^%ZTLOAD QUEUED+6
$$TAG^HMPDJ EN1+22
ENCODE^HMPJSON ENCODE+2
LOGDPT^HMPLOG EN1+11
$$SYS^HMPUTILS CHECK+19
$$GETDFN^MPIF001 EN1+10
$$CRC32^XLFCRC GET+2
$$FMADD^XLFDT CHECK+23, QUEUED+2
$$NOW^XLFDT QUEUED+4, QUEUED+5, QUEUED+8, EN1+27, ENCODE+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$D(OUT)
  • Line Location: TEST+5

Used in RPC

RPC Name Call Tags
HMP GET CHECKSUM CHECK

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] EN1+11
^TMP("HMPCRC" EN1+4!, EN1+26, EN1+29, EN1+30, EN1+31*, EN1+33, EN1+34*, ENQ!, PREP+3, PREP+4
PREP+5, PREP+6, ONE+5*
^TMP("HMPCRCF" EN1+4!, ENCODE+2, ENQ!, PREP+4*, PREP+6*
^TMP("HMPDCRC" CHECK+13!, CHECK+25*, CHECK+26, CHECK+33, CHECK+34*
^XTMP( CHECK+23*, CHECK+25, CHECK+27!, CHECK+30, CHECK+31!, CHECK+32, CHECK+34, QUEUED+2*, QUEUED+5*, QUEUED+6*
, QUEUED+7*, QUEUED+8*, QUEUED+9*, EN1+27*, ENCODE+2, ENCODE+3*

Label References

Name Line Occurrences
$$ALL EN1+19
$$ATTR ONE+2, GET1+2
@( EN1+23
CHECK TEST+4
EN CHECK+24
ENQ EN1+25
GET EN1+30, EN1+33, ONE+4, GET1+4
PREP ENCODE+1
QUEUED CHECK+30

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY ONE~, ONE+2, ONE+3, ONE+4, GET1~, GET1+3
ATTR ONE+1~, ONE+3*, GET1+1~, GET1+3*
COLL ONE~, ONE+2, ONE+5, GET1~, GET1+2
CRC EN1+2~, EN1+26*, EN1+27, EN1+30*, EN1+31, EN1+33*, EN1+34, GET~, GET+1*, GET+2*
, ONE+1~, ONE+4, ONE+5, GET1+1~, GET1+4, GET1+5
DCNT PREP+1~, PREP+2*
DFN CHECK+12~, CHECK+15*, CHECK+17, CHECK+23, CHECK+30, QUEUED~, QUEUED+2, QUEUED+3, EN1+2~, EN1+7*
EN1+8*, EN1+10*, EN1+11
DOMAIN PREP+1~, PREP+2*, PREP+3*, PREP+4, PREP+5, PREP+6
DONE TEST+1~, TEST+2*, TEST+3, TEST+6*
DT CHECK+23, QUEUED+2
FILTER CHECK~, CHECK+24, CHECK+30, QUEUED~, EN~, TEST~, TEST+4
FILTER("domain" EN1+17
FILTER("node" CHECK+18*, EN1+12
FILTER("patientId" CHECK+15, EN1+7
FILTER("queued" CHECK+16
FILTER("start" EN1+15
FILTER("stop" EN1+16
FILTER("system" CHECK+14
FILTER("uid" EN1+17
HMPCRC CHECK~, CHECK+13!, CHECK+26*, CHECK+32*, CHECK+33*, EN1+3~, EN1+7*
HMPI EN1+3~, EN1+14*, ONE+6*
HMPID EN1+3~, EN1+18*
HMPMAX EN1+3~, EN1+14*
HMPP EN1+2~, EN1+21*
HMPSTART EN1+3~, EN1+15*
HMPSTOP EN1+3~, EN1+16*
HMPSYS CHECK+12~, CHECK+19*
HMPTN EN1+2~, EN1+22*, EN1+23
HMPTYPE EN1+3~, EN1+17*, EN1+18*, EN1+19*, EN1+21, EN1+26, EN1+32
I GET+1~*, GET+2*
ICN EN1+2~, EN1+8*, EN1+10
ITEM GET1+1~, GET1+4
ITEM( GET1+3*
LIST GET~, GET+2, ONE+1~, ONE+2*, ONE+3, GET1+1~, GET1+2*, GET1+3
NODE CHECK+12~, CHECK+17*, CHECK+18, CHECK+23, CHECK+25, CHECK+27, CHECK+30, CHECK+31, CHECK+32, CHECK+34
, QUEUED~, QUEUED+2, QUEUED+5, QUEUED+6, QUEUED+7, QUEUED+8, QUEUED+9, EN1+2~, EN1+12*, EN1+27
ENCODE+2, ENCODE+3
OUT TEST+1~, TEST+4, TEST+5, TEST+6
QUEUED CHECK+12~, CHECK+16*, CHECK+22
SYS CHECK+12~, CHECK+14*, CHECK+17, CHECK+23, CHECK+30, QUEUED~, QUEUED+2
TYPE EN1+2~, EN1+21*, EN1+22, EN1+29*, EN1+30, EN1+31
U CHECK+23, QUEUED+2, ONE+3, GET1+3
UCNT PREP+1~, PREP+5*, PREP+6*
UID EN1+2~, EN1+17*, EN1+18, EN1+25, EN1+26, PREP+1~, PREP+5*, PREP+6, ONE+1~, ONE+2*
, ONE+5
X ATTR~, ATTR+2, ATTR+3, ATTR+4, ATTR+5, ATTR+6, ATTR+7, ATTR+8, ATTR+9, ATTR+10
, ATTR+11, ATTR+12, ATTR+13, ATTR+14, ATTR+15, ATTR+16, ATTR+17, ATTR+18, ATTR+19, ATTR+20
, ATTR+21, ATTR+22, ATTR+23, ATTR+24, ATTR+25
Y ATTR+1~*, ATTR+2*, ATTR+3*, ATTR+4*, ATTR+5*, ATTR+6*, ATTR+7*, ATTR+8*, ATTR+9*, ATTR+10*
, ATTR+11*, ATTR+12*, ATTR+13*, ATTR+14*, ATTR+15*, ATTR+16*, ATTR+17*, ATTR+18*, ATTR+19*, ATTR+20*
, ATTR+21*, ATTR+22*, ATTR+23*, ATTR+24*, ATTR+25*, ATTR+26
ZTDESC QUEUED+1~, QUEUED+3*
ZTDTH QUEUED+1~, QUEUED+4*
ZTIO QUEUED+1~, QUEUED+4*
ZTRTN QUEUED+1~, QUEUED+3*
ZTSAVE QUEUED+1~
ZTSAVE("FILTER(" QUEUED+4*
ZTSK QUEUED+1~, QUEUED+6, QUEUED+9

Marked Items

Name Field # of Occurrence
$T(@HMPTN EN1+22
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All