Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC
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>

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) ;

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
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC