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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: MCORMN0

Package: Medicine

Routine: MCORMN0


Information

MCORMN0 ;WISC/DCB-HL7 MESSAGE BUILDER ;4/26/96 13:54

Source Information

Source file <MCORMN0.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Medicine 2 ($$CONVERT,$$MSH,$$OBR1,$$OBX1,$$OBX2,$$PID)^MCORMN01  $$GETDATA^MCORMN1  
VA Fileman 2 EN^DIQ1  ^DIWP  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Medicine 1 MCORMN  

Entry Points

Name Comments DBIA/ICR reference
SLIP(MSTR) ;Seperate the delimiters
ICD9(TMP,HL7,OBX,MCOR1,MCOR2,MCOR3) ; This is the ICD9 message builder for OBX
OBR(TMP,HL7,OBX,MCOR1,MCOR2,MCOR3) ; This is the OBR add on message
SUM(TMP,HL7,OBX,MCOR1,MCOR2,MCOR3) ; This is the miss. message builder for OBX
SETOBX1(FILETYPE,VTI,OBI,OSI,OBR) ; Sets the first part of QBX line
WP ;
SETNODE(NODE,VALUE) ;Set the node with the HL7 message string
ASTM(TMP,HL7,OBX,MCOR1,MCOR2,MCOR3) ; This is the ASTM message builder for OBX
SETOBX2(RNG,UNT) ;Sets the second part of OBX line
GETDATA(RAP,MCDEST,OBR,MCOR1,MCOR2,MCOR3) ; Process the Data
DD(TMP,HL7,OBX,MCOR1,MCOR2,MCOR3) ; This is the DD mesage builder for OBX
RDATA(VTI,OBI,OSI,UNT,RNG,FILETYPE,MCOR1,MCOR2,MCOR3) ;
BUILD(RAP,MCDFN,SAP,SNF,RNF,MST,PCI,VID,MCLINE,MSTR,MCDEST,MCPROC,MCFILE,MCREC,SDATE,ATYPE) ; Build the message

External References

Name Field # of Occurrence
EN^DIQ1 ICD9+6
^DIWP WP+1
$$CONVERT^MCORMN01 OBR+3
$$MSH^MCORMN01 BUILD+9
$$OBR1^MCORMN01 BUILD+11
$$OBX1^MCORMN01 SETOBX1+3
$$OBX2^MCORMN01 SETOBX2+1
$$PID^MCORMN01 BUILD+10
$$GETDATA^MCORMN1 BUILD+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"This is not a valid entry point"
  • Line Location: MCORMN0+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ICD9 - [#80] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ICD9("B" ICD9+5
^MCAR( BUILD+19
^MCAR(690.5 - [#690.5] ASTM+3
^MCAR(697.2 - [#697.2] BUILD+5, BUILD+6
^TMP("MCORMN" BUILD+1!, BUILD+13, BUILD+15, BUILD+17, GETDATA+2, GETDATA+3, ICD9+4, OBR+2, RDATA+3, RDATA+4
^UTILITY($J WP+1!, WP+2, WP+3, WP+6!

Label References

Name Line Occurrences
GETDATA BUILD+18
RDATA ASTM+7, SUM+5, DD+5
SETNODE BUILD+9, BUILD+10, BUILD+11, RDATA+10, WP+4, SETOBX1+3
SETOBX1 BUILD+24, ICD9+8, RDATA+9, WP+5
SETOBX2 BUILD+24, RDATA+11
SLIP BUILD+4
WP RDATA+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ASTM ASTM+1~, ASTM+3*, ASTM+4*, ASTM+5
ASTME ASTM+1~, ASTM+3*, ASTM+4, ASTM+5
ATYPE BUILD~, BUILD+7
CNT RDATA+1~, WP+2*, WP+3
CONT ICD9+1~, ICD9+2*, RDATA+1~
COUNT RDATA+1~
DA ICD9+1~, ICD9+5*, ICD9+7
DIC ICD9+1~, ICD9+6*
DIQ ICD9+1~, ICD9+6*
DIWF RDATA+1~, WP+1*
DIWL RDATA+1~, WP+1*
DIWR RDATA+1~, WP+1*
DR ICD9+1~, ICD9+6*
END RDATA+1~
FILETYPE BUILD+23*, BUILD+24, ASTM+1~, ASTM+2*, ASTM+7, SUM+1~, SUM+2*, SUM+5, DD+1~, DD+2*
, DD+3, DD+5, OBR+1~, OBR+2*, OBR+3, RDATA~, RDATA+9, WP+5, SETOBX1~, SETOBX1+3
FLDNAME DD+1~, DD+2*, DD+3
HL7 GETDATA+1~, GETDATA+3*, GETDATA+4, ICD9~, ICD9+3, ASTM~, ASTM+3, ASTM+4, ASTM+6, SUM~
, DD~, DD+3, DD+4, OBR~, OBR+3
HLECH BUILD+2~, BUILD+4*
LEN RDATA+1~
LOOP BUILD+3~, RDATA+1~, RDATA+3*, RDATA+9, RDATA+10, WP+4, SLIP+1*
LOOP2 RDATA+1~, WP+3*, WP+4
MCDEST BUILD~, BUILD+9, BUILD+10, BUILD+11, BUILD+18, GETDATA~, OBR+4*, RDATA+10, WP+4, SETOBX1+3
, SETOBX2+1
MCDFN BUILD~, BUILD+10
MCDS BUILD+3~
MCERR BUILD+2~, BUILD+7*
MCFILE BUILD~, BUILD+7, BUILD+11, BUILD+19, BUILD+21
MCHOLD BUILD+3~, BUILD+5*, BUILD+6*, BUILD+8*, BUILD+9
MCLINE BUILD~, BUILD+11, SETOBX2+1, SETNODE+1*
MCOR BUILD+2~
MCOR1 BUILD+2~, BUILD+12*, BUILD+13*, BUILD+15, BUILD+17, BUILD+18, GETDATA~, GETDATA+2, GETDATA+3, ICD9~
, ICD9+4, ASTM~, ASTM+7, SUM~, SUM+5, DD~, DD+3, DD+5, OBR~, OBR+2
, RDATA~, RDATA+3, RDATA+4
MCOR2 BUILD+2~, BUILD+14*, BUILD+15*, BUILD+17, BUILD+18, GETDATA~, ICD9~, ICD9+4, ASTM~, ASTM+7
, SUM~, SUM+5, DD~, DD+5, OBR~, OBR+2, RDATA~, RDATA+3, RDATA+4
MCOR3 BUILD+2~, BUILD+16*, BUILD+17*, BUILD+18, GETDATA~, GETDATA+2, GETDATA+3, ICD9~, ICD9+4, ASTM~
, ASTM+7, SUM~, SUM+5, DD~, DD+3, DD+5, OBR~, OBR+2, RDATA~, RDATA+3
, RDATA+4
MCOR4 BUILD+2~, RDATA+1~, RDATA+2*, RDATA+3*, RDATA+4
MCPROC BUILD~, BUILD+5, BUILD+7, BUILD+8, BUILD+11
MCREC BUILD~, BUILD+7, BUILD+11, BUILD+19
MSE BUILD+2~, BUILD+3~, BUILD+4*, SETOBX1+2*
MST BUILD~, BUILD+9, ICD9+2*
MSTR BUILD~, BUILD+4, SLIP~, SLIP+1
NODE SETNODE~, SETNODE+1
OBI BUILD+20~, BUILD+21*, BUILD+24, ICD9+1~, ICD9+2*, ICD9+8, ASTM+1~, ASTM+5*, ASTM+7, SUM+1~
, SUM+3*, SUM+5, DD+1~, DD+3*, DD+5, RDATA~, RDATA+9, WP+5, SETOBX1~, SETOBX1+3
OBR BUILD+2~, BUILD+11*, BUILD+18, BUILD+20~, BUILD+22*, BUILD+24, GETDATA~, SETOBX1~, SETOBX1+3
OBX ICD9~, ASTM~, SUM~, DD~, OBR~, OBR+4
OID ICD9+1~
OSI BUILD+20~, BUILD+23*, BUILD+24, ICD9+1~, ICD9+2*, ICD9+8, ASTM+1~, ASTM+2*, ASTM+7, SUM+1~
, SUM+2*, SUM+3*, SUM+5, DD+1~, DD+2*, DD+5, RDATA~, RDATA+9, WP+5, SETOBX1~
, SETOBX1+2*, SETOBX1+3
PCI BUILD~, BUILD+9
PIECE OBR+1~, OBR+3*, OBR+4
RAP BUILD~, BUILD+9, BUILD+18, GETDATA~, GETDATA+5
RNF BUILD~, BUILD+9
RNG BUILD+20~, BUILD+23*, BUILD+24, ICD9+1~, ICD9+4*, ASTM+1~, ASTM+6*, ASTM+7, SUM+1~, SUM+3*
, SUM+5, DD+1~, DD+4*, DD+5, RDATA~, RDATA+11, SETOBX2~, SETOBX2+1
RST ICD9+1~, ICD9+4*, ICD9+5, ICD9+7*, ICD9+8, ASTM+1~, SUM+1~, OBR+1~, OBR+2*, OBR+3*
, OBR+4, RDATA+1~, WP+3*, WP+4, WP+5
RSTT RDATA+1~
SAP BUILD~, BUILD+9
SDATE BUILD~, BUILD+11
SNF BUILD~, BUILD+9
ST BUILD+3~
ST( SLIP+1*
ST(1 OBR+4
ST(2 BUILD+21, ICD9+7, ASTM+5, DD+3
ST(3 BUILD+21, DD+3
TEMP RDATA+1~
TMP GETDATA+1~, GETDATA+2*, ICD9~, ASTM~, ASTM+2, SUM~, SUM+2, DD~, DD+2, OBR~
, OBR+2
TMP1 GETDATA+1~, GETDATA+7*
TYPE GETDATA+1~, GETDATA+4*, GETDATA+5*, GETDATA+6, GETDATA+7
U BUILD+6, BUILD+19, GETDATA+4, ICD9+3, ASTM+2, ASTM+3, ASTM+4, ASTM+5, ASTM+6, SUM+2
, DD+2, DD+3, DD+4, OBR+2, OBR+3
UNT BUILD+20~, BUILD+23*, BUILD+24, ICD9+1~, ICD9+4*, ASTM+1~, ASTM+6*, ASTM+7, SUM+1~, SUM+3*
, SUM+5, DD+1~, DD+4*, DD+5, RDATA~, RDATA+11, SETOBX2~, SETOBX2+1
VALUE SETNODE~, SETNODE+1
VID BUILD~, BUILD+9
VT1 ICD9+1~
VTI BUILD+20~, BUILD+23*, BUILD+24, ICD9+3*, ICD9+8, ASTM+1~, ASTM+4*, ASTM+7, SUM+1~, SUM+4*
, SUM+5, DD+1~, DD+3*, DD+5, RDATA~, RDATA+9, WP+5, SETOBX1~, SETOBX1+1*, SETOBX1+3
X RDATA+1~, RDATA+4*, RDATA+6, RDATA+9, RDATA+10
XTMP ICD9+1~
XTMP(80 ICD9+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All