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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: HMPDJ1

Package: Enterprise Health Management Platform

Routine: HMPDJ1


Information

HMPDJ1 ;SLC/MKB,ASMR/RRB,CK - HMP Patient Object RPCs;May 15, 2016 14:15

Source Information

Source file <HMPDJ1.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Enterprise Health Management Platform 4 POST^HMPEVNT  (DECODE,ENCODE)^HMPJSON  $$FMTHL7^HMPSTMP  ($$SYS,SETERROR)^HMPUTILS  
Kernel 1 $$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 PUT PATIENT DATA  HMPCRPC  

Entry Points

Name Comments DBIA/ICR reference
PUT(HMP,PAT,TYPE,JSON) ; -- Save/update JSON OBJECT in ^HMP(800000.1), return UID if successful
; RPC = HMP PUT PATIENT DATA
PTQ ; add item count and terminating characters
NEW ; -- create new entry in ^HMP(800000.1) from PAT,TYPE,HMPSYS
; Return UID & DA, or ERR
NEXTIFN() ; -- Returns next available IFN
ERR(X,VAL) ; -- return error message
HL7NOW() ; -- Return current time in HL7 format
CONV ; -- convert uid format

External References

Name Field # of Occurrence
POST^HMPEVNT PTQ+4
DECODE^HMPJSON PUT+5, CONV+12
ENCODE^HMPJSON PUT+14, PUT+24, PUT+29, CONV+14
$$FMTHL7^HMPSTMP HL7NOW+1
$$SYS^HMPUTILS PUT+19, CONV+2
SETERROR^HMPUTILS PUT+13, PUT+28
$$GETDFN^MPIF001 NEW+5
$$NOW^XLFDT HL7NOW+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,DA
  • Line Location: CONV+12
Function Call: WRITE
  • Prompt: !,DA
  • Line Location: CONV+14

Used in RPC

RPC Name Call Tags
HMP PUT PATIENT DATA PUT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] NEW+6
^HMP(800000.1 - [#800000.1] PUT+20, PUT+34!, PUT+35*, PUT+36*, NEW+11*, NEW+12*, NEW+13*, NEXTIFN+2, NEXTIFN+4, NEXTIFN+5
, NEXTIFN+6*, NEXTIFN+7, CONV+3, CONV+4, CONV+5!, CONV+8*, CONV+10, CONV+15!, CONV+16*, CONV+17*

Label References

Name Line Occurrences
$$ERR PUT+20, NEW+6, NEW+7, NEW+9
$$HL7NOW PTQ+2
$$NEXTIFN NEW+9
NEW PUT+22
PTQ PUT+20, PUT+21

Naked Globals

Name Field # of Occurrence
^( CONV+10
^(1 PUT+34*, CONV+15*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY PUT+3~, PUT+11!, PUT+16, PUT+28
ARRAY("uid" PUT+19, PUT+23*
CNT PUT+3~, PUT+34*, PUT+35*, PUT+36, CONV+1~, CONV+15*, CONV+16*, CONV+17
COLL CONV+1~, CONV+6*, CONV+7
DA PUT+3~, PUT+20*, PUT+34, PUT+35, PUT+36, PTQ+4, NEW+9*, NEW+10, NEW+11, NEW+12
NEW+13, NEXTIFN+1~, NEXTIFN+6*, NEXTIFN+8, CONV+1~, CONV+3*, CONV+4, CONV+5, CONV+7, CONV+8
CONV+10, CONV+12, CONV+14, CONV+15, CONV+16, CONV+17
DFN PUT+3~, PTQ+3*, PTQ+4, NEW+2~, NEW+3*, NEW+4*, NEW+5*, NEW+6, NEW+10, NEW+11
NEW+13, CONV+1~, CONV+6*, CONV+7
>> DILOCKTM NEXTIFN+2
ERR PUT+3~, PUT+20*, PUT+21, PUT+22, PTQ+1, NEW+6*, NEW+7*, NEW+9*, CONV+1~, CONV+11!
CONV+12, CONV+14
HDR NEXTIFN+1~, NEXTIFN+4*, NEXTIFN+6*
HMP PUT~, PTQ+1*, PTQ+2*
HMP( PUT+15*, PUT+30*
HMP(1 PUT+16*, PUT+31*
HMP(2 PUT+17*, PUT+32*
HMPERR PUT+3~, PUT+10, PUT+13, PUT+14!, PUT+21, PUT+25, PUT+28, PUT+29!
HMPSYS PUT+3~, PUT+19*, NEW+10, CONV+1~, CONV+2*, CONV+7
HMPTMP PUT+11~, PUT+13, PUT+26~, PUT+28
HMPTXT PUT+11~, PUT+13, PUT+26~, PUT+28
HMPTXT(1 PUT+12*, PUT+27*
HMPY CONV+1~, CONV+11!
HMPY("uid" CONV+13*
I PUT+3~, PUT+35*, NEXTIFN+1~, NEXTIFN+4*, NEXTIFN+5*, NEXTIFN+6, CONV+1~, CONV+10*, CONV+16*
ICN NEW+2~, NEW+3*, NEW+4*, NEW+5
JSON PUT~, PUT+13, PUT+23!, PUT+26!, PUT+31, CONV+1~, CONV+5!, CONV+11, CONV+13!
JSON( PUT+35, CONV+10*, CONV+16
MSG ERR+1~*, ERR+2*, ERR+3*, ERR+4*, ERR+5*, ERR+6*, ERR+7
NEW CONV+1~, CONV+7*, CONV+8, CONV+13
PAT PUT~, NEW+3
TOTAL NEXTIFN+1~, NEXTIFN+4*, NEXTIFN+6
TYPE PUT~, PTQ+4, NEW+3*, NEW+7, NEW+10, NEW+11, NEW+13
U PUT+36, NEW+11, NEXTIFN+4, NEXTIFN+6, CONV+4, CONV+8, CONV+17
UID PUT+3~, PUT+19*, PUT+20, PUT+21, PUT+23, PTQ+2, PTQ+3, NEW+10*, NEW+11, NEW+12
CONV+1~, CONV+4*, CONV+5
VAL ERR~, ERR+2, ERR+3, ERR+4
X PUT+3~, ERR~, ERR+2, ERR+3, ERR+4, ERR+5, ERR+6
X0 CONV+1~, CONV+4*, CONV+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All