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

Package: Enterprise Health Management Platform

Routine: HMPDJ05


Information

HMPDJ05 ;SLC/MKB,ASMR/RRB,CPC - Medications by order;Jun 28, 2016 15:12:10

Source Information

Source file <HMPDJ05.m>

Call Graph

Call Graph

Call Graph Total: 19

Package Total Call Graph
Enterprise Health Management Platform 8 ($$FAC,$$VUID)^HMPD  ADD^HMPDJ  ($$ISIV,$$MEDSTAT,$$TYPE,BCMA,IV1,SCH)^HMPDJ05V  ($$STATUS,RESP)^HMPDPSOR  ADD^HMPMETA  RELATED^HMPORRPC  $$EN^HMPSTMP  ($$JSONDT,$$SETUID,FACILITY)^HMPUTILS  
Pharmacy Data Management 4 NDF^PSS50  ZERO^PSS50P7  ALL^PSS51P2  EN^PSSDI  
Outpatient Pharmacy 3 $$GET1^PSODI  EN^PSOORDER  OEL^PSOORRL  
Kernel 2 ($$FMADD,$$FMDIFF)^XLFDT  $$UP^XLFSTR  
Order Entry Results Reporting 1 ($$OI,$$PKGID,EN)^ORX8  
VA FileMan 1 $$GET1^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
Enterprise Health Management Platform 1 HMPDJ0  

Entry Points

Name Comments DBIA/ICR reference
PS1(ID) ; -- med order
A ; - Get order responses
B ; - Get dosages
C ; - Get OP data
PSQ ; finish
KIN(IFN) ; DE5462 - Add parents/children (kin) to order
DOSE(Y,N) ; -- return dosage data from HMPESP(ID,N) to Y("name")
STOP(BEG,X) ; -- Return date after adding X to BEG
NDF(DRUG,VPI,ORD) ; -- Set NDF data for dispense DRUG ien
; code ^ name ^ vuid [^ role ^ concentration ^ order]
RELTIME(START,STOP,DUR,MIN) ; -- Return #min for dose
TOMIN(DUR) ;

External References

Name Field # of Occurrence
$$GET1^DIQ PS1+10, PS1+14, PS1+15, PS1+22, PS1+30, PS1+31, C+30, PSQ+4
$$FAC^HMPD PS1+20
$$VUID^HMPD NDF+14, NDF+18
ADD^HMPDJ PSQ+10
$$ISIV^HMPDJ05V PS1+36
$$MEDSTAT^HMPDJ05V PS1+28
$$TYPE^HMPDJ05V PS1+33
BCMA^HMPDJ05V C+32
IV1^HMPDJ05V PS1+36
SCH^HMPDJ05V DOSE+9
$$STATUS^HMPDPSOR PS1+27
RESP^HMPDPSOR A+7, B+19
ADD^HMPMETA PSQ+9
RELATED^HMPORRPC KIN+2
$$EN^HMPSTMP PSQ+6
$$JSONDT^HMPUTILS PS1+18, PS1+24, PS1+25, B+11, B+12, B+26, B+27, B+34, C+13, C+19
C+20, C+27, C+28, C+31
$$SETUID^HMPUTILS PS1+11, PS1+12, PS1+14, PS1+15, PS1+19, PS1+21, PSQ+4, KIN+3, KIN+5
FACILITY^HMPUTILS PS1+23
$$OI^ORX8 A+1
$$PKGID^ORX8 PS1+5, B+33
EN^ORX8 PS1+17
$$GET1^PSODI C+27, C+28
EN^PSOORDER C+9
OEL^PSOORRL PS1+32, B+33
NDF^PSS50 NDF+6
ZERO^PSS50P7 A+4
ALL^PSS51P2 DOSE+7
EN^PSSDI NDF+4
$$FMADD^XLFDT STOP+9
$$FMDIFF^XLFDT RELTIME+2
$$UP^XLFSTR TOMIN+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^SC - [#44] GET1^DIQ
55.06 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] B+2, B+15, B+18, B+25
^TMP("PS" A+8, B+33, PSQ+3, PSQ+5!
^TMP("PSOR" C+9!, C+10, C+15, C+16, PSQ+5!
^TMP($J A+5, A+6, PSQ+5!, DOSE+8, DOSE+16!, NDF+13, NDF+17, NDF+21, NDF+25!

Label References

Name Line Occurrences
$$RELTIME B+13, B+29
$$STOP B+10
$$TOMIN RELTIME+3
DOSE B+6, B+19
KIN PS1+13
NDF B+36, PSQ+1

Naked Globals

Name Field # of Occurrence
^( C+15, C+16
^(1 C+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BEG STOP~, STOP+2, STOP+9
CLS PS1+8~, PS1+10*, PS1+16, PS1+29, PS1+32, PS1+33, PS1+34, A+9, A+10, B+33
C+1, C+29
CNT PS1+8~, B+5*, B+6, B+8, B+11, B+12, B+13, B+18*, B+20*, B+21
B+22, B+23, B+24, B+26, B+27, B+29, B+30, B+36*
CONJ B+3~, B+9*, B+14, B+16~, B+17*, DOSE+1~, DOSE+12*, DOSE+13
CONJ( B+22, B+30
D DOSE+14~*, DOSE+15, STOP+1~, STOP+2*, STOP+4*, STOP+5*, STOP+6*, STOP+9
DA PS1+8~, B+18*, B+19, B+24, B+25, B+31, B+33, B+36*
DD B+16~, B+31*, B+35*, B+36*
DD( B+31*, B+35, B+36
DD(0 B+35
>> DFN PS1+2, PS1+11, PS1+12, PS1+14, PS1+15, PS1+32, B+33, C+9, C+30, C+32
, KIN+3, KIN+5
DOSE DOSE+1~, DOSE+3*, DOSE+5
DRUG PS1+8~, A+8*, B+31, B+35*, PSQ+1, NDF~, NDF+3*, NDF+4, NDF+5, NDF+6
, NDF+13, NDF+17, NDF+21
DUR B+3~, B+9*, B+10, B+13, B+14, B+17*, DOSE+1~, DOSE+11*, DOSE+13, RELTIME~
, RELTIME+3, TOMIN~, TOMIN+2, TOMIN+4
DUR( B+23, B+29
ERRMSG PS1+1~, PS1+3*
ERRPAT PS1+1~, PS1+2*
FAC PS1+8~, PS1+20*, PS1+23
FILL C+8~
FILL( C+14*, C+15*, C+16*, C+17
H STOP+1~, STOP+2*, STOP+7*, STOP+9
HMP C+8~
HMPESP PS1+8~, A+7, B+19!
HMPESP("ADMIN" DOSE+10
HMPESP("COMMENT" PS1+35, A+10
HMPESP("CONJ" B+17, DOSE+12
HMPESP("DAYS" B+17, DOSE+11, DOSE+14
HMPESP("DOSE" DOSE+3
HMPESP("DRUG" A+8, B+31
HMPESP("INSTR" A+10, B+5, DOSE+2
HMPESP("PI" C+6
HMPESP("PICKUP" C+4
HMPESP("QTY" C+2, C+11
HMPESP("REFILLS" C+5
HMPESP("ROUTE" DOSE+7
HMPESP("SCHEDULE" DOSE+9
HMPESP("SIG" A+9, A+10
HMPESP("SUPPLY" C+3, C+12, RELTIME+4
>> HMPMETA PSQ+9
HMPNOJS KIN+1~, KIN+2*
HMPORKIN KIN+1~, KIN+2, KIN+3, KIN+4, KIN+5
HMPX NDF+2~
HMPX(50 NDF+5
HMPY B+3~, B+6!, B+16~, B+19!, B+20
HMPY("complexConjunction" B+9
HMPY("complexDuration" B+9
I C+14*, C+15*, C+16*, C+17*, C+18*, C+19, C+20, C+21, C+22, C+23
C+24, KIN+1~, KIN+4*, KIN+5, DOSE+14~*, NDF+2~
ID PS1~, PS1+3, PS1+4*, PS1+5, PS1+10, PS1+11, PS1+12, PS1+13, PS1+14, PS1+15
, PS1+17, PS1+31, A+1, A+7, B+2, B+15, B+18
IFN KIN~, KIN+2
LEN NDF+2~
LOC PS1+8~, PS1+20*, PS1+21, PS1+22, PS1+30
M STOP+1~, STOP+2*, STOP+8*, STOP+9
MED PS1+8~, C+32
MED("IMO" PS1+30*
MED("comment" PS1+35*
MED("dosages" B+6*, B+8*, B+11*, B+12*, B+13*, B+20*, B+21*, B+22*, B+23*, B+24*
B+26*, B+27*, B+30*
MED("fills" C+19*, C+20*, C+21*, C+22*, C+23*, C+24*
MED("lastFilled" C+13*
MED("lastUpdateTime" PSQ+6*, PSQ+7
MED("localId" PS1+16*
MED("medStatus" PS1+28*
MED("medStatusName" PS1+27*, PS1+28
MED("medType" PS1+33*
MED("name" A+3*, PSQ+2, NDF+11
MED("orders" PS1+12*, PS1+14*, PS1+15*, PS1+18*, PS1+19*, PS1+21*, PS1+22*, C+2*, C+3*, C+4*
C+5*, C+10*, C+11*, C+12*, C+13*, C+26*, PSQ+4*, KIN+3*, KIN+5*
MED("overallStart" PS1+24*
MED("overallStop" PS1+25*, C+27*, C+31*
MED("parent" PS1+31*
MED("patientInstruction" C+6*
MED("prescriptionFinished" C+28*
MED("productFormName" A+5*
MED("products" NDF+8*, NDF+9*, NDF+10*, NDF+11*, NDF+14*, NDF+15*, NDF+18*, NDF+19*, NDF+22*, NDF+23*
MED("qualifiedName" PSQ+2*
MED("sig" A+9*, A+10*
MED("stampTime" PSQ+7*, PSQ+9
MED("stopped" PS1+25*, B+34*
MED("supply" A+6*
MED("type" PS1+34*
MED("uid" PS1+11*, PSQ+9
MED("vaStatus" PS1+26*
MED("vaType" PS1+33*
MIN B+3~, B+4*, B+8, B+13, B+14*, B+16~, B+17*, B+21, B+29, B+30*
, RELTIME~, RELTIME+5
MW C+8~, C+18*, C+21
N DOSE~, DOSE+1*, DOSE+2, DOSE+3, DOSE+7, DOSE+9, DOSE+10, DOSE+11, DOSE+12, DOSE+14
OI PS1+8~, A+1*, A+2, A+4, A+5, A+6
ORD NDF~, NDF+9
ORDUZ PS1+7~
ORL PS1+7~, PS1+20
ORNP PS1+7~, PS1+19
ORODT PS1+7~, PS1+18
ORPCL PS1+7~
ORPK PS1+4~, PS1+5*, PS1+9, PS1+16, PS1+32, PS1+33, PS1+34, B+33*, C+1, C+7
C+9, C+10, C+15, C+16, C+27, C+28, C+30, C+32
ORPV PS1+7~
ORSTOP PS1+7~, PS1+25, B+4, B+28*, B+34
ORSTRT PS1+7~, PS1+24, B+4
ORSTS PS1+7~, PS1+26, PS1+27
ORTO PS1+7~
ORTX PS1+7~
ORUPCHUK PS1+7~
ORUPCHUK( PS1+17
ORVP PS1+7~
REL C+8~, C+18*, C+20
RESULT TOMIN+1~, TOMIN+5*, TOMIN+6
RFD C+8~, C+17*, C+19
RX0 C+8~, C+10*, C+11, C+12, C+13, C+14, C+25
RX1 C+8~, C+10*, C+14
START B+3~, B+4*, B+10, B+11, B+13, B+14*, RELTIME~, RELTIME+2
STOP B+3~, B+4*, B+10*, B+12, B+13, B+14, RELTIME~, RELTIME+2
STR NDF+2~, NDF+5*, NDF+10
TIME TOMIN+1~, TOMIN+4*, TOMIN+5
TYPE PS1+4~, PS1+5*
U PS1+19, PS1+26, A+2, A+4, A+5, A+6, B+25, B+26, B+27, B+28
B+29, C+10, C+11, C+12, C+13, C+14, C+16, C+18, C+22, C+23
C+24, C+25, C+27, C+28, PSQ+3, NDF+15, NDF+19, NDF+22, NDF+23
UNIT TOMIN+1~, TOMIN+2*, TOMIN+3, TOMIN+5
UNT STOP+1~, STOP+2*, STOP+3*, STOP+4, STOP+5, STOP+6, STOP+7, STOP+8
VPI NDF~, NDF+6*, NDF+8, NDF+9, NDF+10, NDF+11, NDF+14, NDF+15, NDF+18, NDF+19
, NDF+22, NDF+23
VUID NDF+2~
X PS1+8~, PS1+9*, PS1+10, PS1+14*, PS1+15*, PS1+17*, PS1+31*, PS1+33*, PS1+35*, A+2*
A+3, B+13*, B+14, B+25*, B+26, B+27, B+28, B+29*, B+30, C+15*
C+16*, C+17*, C+18, C+22, C+23, C+24, C+25*, C+26, C+27*, C+28*
C+30*, C+31, PSQ+3*, PSQ+4, DOSE+1~, DOSE+3*, DOSE+4, DOSE+5*, DOSE+7*, DOSE+8
, DOSE+9*, DOSE+10*, DOSE+11*, DOSE+12*, STOP~, STOP+2*, STOP+4, STOP+5, STOP+6, STOP+7
, STOP+8, NDF+2~, NDF+11*, NDF+13*, NDF+14, NDF+15, NDF+17*, NDF+18, NDF+19, NDF+21*
, NDF+22, NDF+23
Y DOSE~, DOSE+1!, STOP+1~, STOP+2*, STOP+9*, STOP+10, RELTIME+1~*, RELTIME+2*, RELTIME+3*, RELTIME+4*
, RELTIME+5*, RELTIME+6
Y("adminTimes" DOSE+10*
Y("amount" DOSE+5*
Y("complexConjunction" DOSE+12*
Y("complexDuration" DOSE+11*, DOSE+15*
Y("dose" DOSE+4*
Y("instructions" DOSE+2*
Y("noun" DOSE+5*
Y("routeName" DOSE+8*
Y("scheduleName" DOSE+9*
Y("units" DOSE+4*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All