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

Package: Clinical Procedures

Routine: MDWORC


Information

MDWORC ; HOIFO/NCA - Main Routine to Decode HL7 from Consult ;Jun 19, 2018@17:15

Source Information

Source file <MDWORC.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Clinical Procedures 2 ($$CANCEL,$$SUB)^MDHL7B  $$FMDTE^MDWOR  
VA FileMan 2 FILE^DIE  $$GET1^DIQ  
Kernel 1 $$NOW^XLFDT  

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
Clinical Procedures 1 MD RECEIVE GMRC  

Entry Points

Name Comments DBIA/ICR reference
EN(MDMSG) ; Entry Point for Consult and pass MSG in MDMSG
MSH ; Decode MSH
PID ; Check PID
PV1 ; Check PV1
ORC ; Check ORC
CANCEL ; Cancel/Discontinue
RESUBM ; Resubmit a cancelled order

External References

Name Field # of Occurrence
FILE^DIE CANCEL+12, CANCEL+17, RESUBM+15, RESUBM+22, RESUBM+28
$$GET1^DIQ CANCEL+13, RESUBM+11, RESUBM+23
$$CANCEL^MDHL7B CANCEL+10
$$SUB^MDHL7B RESUBM+19
$$FMDTE^MDWOR RESUBM+7
$$NOW^XLFDT RESUBM+18

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MDD(702 - [#702] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT("B" PID+2
^MDD(702 - [#702] CANCEL+8, CANCEL+9, CANCEL+10, RESUBM+8, RESUBM+9, RESUBM+17, RESUBM+18*, RESUBM+25*
^MDK(704.202 - [#704.202] CANCEL+15, CANCEL+18!, CANCEL+19*, RESUBM+26, RESUBM+29!, RESUBM+30*
^MDS(702.01 - [#702.01] RESUBM+18
^SC - [#44] PV1+2

Label References

Name Line Occurrences
CANCEL ORC+3
MSH EN+3
ORC EN+6
PID EN+4
PV1 EN+5
RESUBM ORC+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN EN+1~, PID+1*, PID+2, PID+3
DT RESUBM+10
MDCANC EN+1~, EN+2*, CANCEL+11*
MDCANR EN+1~, CANCEL+10*
MDCON EN+1~, CANCEL+1*, CANCEL+3, CANCEL+8, RESUBM+3*, RESUBM+5, RESUBM+8
MDCPROC EN+1~
MDERR RESUBM+1~, RESUBM+12~, RESUBM+22!, RESUBM+28!
MDFDA CANCEL+11~, CANCEL+12!, RESUBM+12~, RESUBM+15!, RESUBM+22!, RESUBM+28!
MDFDA( CANCEL+16*, RESUBM+27*
MDFDA(702 CANCEL+11*, RESUBM+13*, RESUBM+14*, RESUBM+20*, RESUBM+21*
MDFLG EN+1~, EN+2*, MSH+1*, MSH+2*, MSH+3*, PID+2*, PV1+1*, PV1+2*, CANCEL+2*, CANCEL+3*
CANCEL+5*, CANCEL+6*, RESUBM+4*, RESUBM+5*, RESUBM+6*, RESUBM+7*
MDFN EN+1~, PID+3*
MDHEMO CANCEL+13~*, CANCEL+14, RESUBM+23~*, RESUBM+24
MDHL7 RESUBM+1~, RESUBM+19*, RESUBM+20, RESUBM+21
MDHOLD RESUBM+1~, RESUBM+15*, RESUBM+18*, RESUBM+25
MDIENS RESUBM+12~, RESUBM+19*, RESUBM+20, RESUBM+21, RESUBM+23
MDIFN EN+1~, CANCEL+1*, CANCEL+2, RESUBM+3*, RESUBM+4
MDINST EN+1~, CANCEL+7*, CANCEL+8*, CANCEL+9, CANCEL+10, CANCEL+11, CANCEL+13, CANCEL+15, CANCEL+16, CANCEL+18
CANCEL+19, RESUBM+8*, RESUBM+9, RESUBM+11, RESUBM+13, RESUBM+14, RESUBM+17, RESUBM+18, RESUBM+19, RESUBM+25
RESUBM+26, RESUBM+27, RESUBM+29, RESUBM+30
MDL EN+1~, EN+2*
MDLOC EN+1~, PV1+2*
MDMAXD RESUBM+1~, RESUBM+10*, RESUBM+14, RESUBM+16
MDMSG EN~
MDMSG( EN+2
MDNAM EN+1~, PID+1*, PID+2
MDNOW RESUBM+1~, RESUBM+18*
MDPAT EN+1~, PV1+1*
MDPROC EN+1~
MDPROV EN+1~, CANCEL+5*, RESUBM+6*
MDR CANCEL+1!, RESUBM+3!
MDREQ EN+1~, CANCEL+6*, RESUBM+7*
MDSCHD RESUBM+1~, RESUBM+10*, RESUBM+14, RESUBM+16, RESUBM+18
MDVSTD RESUBM+1~, RESUBM+9*, RESUBM+10, RESUBM+13
MDX EN+1~, EN+2*, EN+3, EN+4, EN+5, EN+6, EN+7, MSH+1, MSH+2, MSH+3
PID+1, PV1+1, PV1+2, ORC+1, ORC+2, CANCEL+1, CANCEL+4, CANCEL+5, CANCEL+6, RESUBM+2
RESUBM+3, RESUBM+6, RESUBM+7
MDXY RESUBM+1~, RESUBM+17*, RESUBM+18
U CANCEL+10, RESUBM+20
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