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 |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: RGHOUT

Package: Clinical Information Resource Network

Routine: RGHOUT


Information

RGHOUT ;CAIRO/DKM-HL7 message generation utilities ;14-Oct-1998

Source Information

Source file <RGHOUT.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Health Level Seven 4 INIT^HLFNC2  GENERATE^HLMA  GENACK^HLMA1  LINK^HLUTIL3  
Clinical Information Resource Network 3 ($$DTFH,$$GETICN)^RGHLUT  ($$CODE,CODE)^RGHOMAP  $$BASE^RGRSUTL2  
VA FileMan 2 $$FIND1^DIC  ($$GET1,GETS)^DIQ  
CPT HCPCS Codes 1 $$CPT^ICPTCOD  

Entry Points

Name Comments DBIA/ICR reference
SEND(RGEP,HL,RGERR) ;
PID(RGDFN) ;
SEGA(RGG,RGP,RGT) ;
PV1(RGV,RGDFN,RGF) ;
INST(RGINST) ;
UNLCK
SNM(RGSNM,RGFN) ;
OBX(RGCODE,RGVAL,RGUNITS,RGSTAT,RGSEQ,RGSID,RGLO,RGHI,RGFLG) ;
OBR(RGODAT,RGSRC,RGPRV,RGNS,RGFON,RGUDAT) ;
PROIEN(RGPR) ;
ORC(RGODAT,RGPRV,RGSTATUS,RGINST) ;
SFX(RGCODE,RGSFX) ;
LINK(RGDI,RGCL,RGF) ;
WP(RGTXT) ;
SEGX(RGX,RGP,RGT) ;
PRV(RGPRV) ;
CPT(RGCPT,RGID) ;
SEG1
ACK(RGEP,RGCL,RGMSG,RGERR) ;
SEG2
SEG(RGTYPE,RGSEG,RGK) ;
ESCAPE(RGTXT) ;
INIT(RGEP,HL,RGD,RGERR,RGSB) ;

External References

Name Field # of Occurrence
$$FIND1^DIC PV1+4
$$GET1^DIQ PV1+6, PV1+7, PV1+8, PV1+9, PV1+10, PV1+11, PV1+13, PV1+16, PV1+18, PV1+20
, PV1+21, PV1+26, PV1+27, PV1+28, INST+1
GETS^DIQ PRV+2
INIT^HLFNC2 INIT+2
GENERATE^HLMA SEND+2
GENACK^HLMA1 ACK+2
LINK^HLUTIL3 LINK+2
$$CPT^ICPTCOD CPT+2
$$DTFH^RGHLUT PID+4, PV1+22, PV1+23, ORC+3, OBR+4, OBR+7
$$GETICN^RGHLUT PID+6
$$CODE^RGHOMAP PV1+34
CODE^RGHOMAP PV1+34
$$BASE^RGRSUTL2 ESCAPE+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GETS^DIQ
^DIC(4 - [#4] GET1^DIQ
^SC - [#44] GET1^DIQ
^AUPNVSIT - [#9000010] FIND1^DIC,  GET1^DIQ
^AUPNVPRV - [#9000010.06] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVPRV("AD" PV1+25
^AUPNVSIT - [#9000010] PV1+3, UNLCK
^DPT - [#2] PID+2
^LAB( SNM+1
^ORD(101 - [#101] PROIEN+1
^TMP( SEG+2, SEGX+4*
^TMP("HLA" ACK+3!
^TMP("HLS" INIT+6!, SEND+3!

Label References

Name Line Occurrences
$$ESCAPE WP+2
$$INST ORC+5
$$PROIEN ACK+2
$$PRV PV1+30, PV1+31, ORC+4, OBR+6
$$SFX CPT+3
$$SNM OBR+5
PV1 PV1+14
SEG PID+8, PV1+17, PV1+32, PV1+35, ORC+6, OBR+8, OBX+11
SEG1 SEG+7
SEG2 SEG1+2
SEGA SEG+6, SEG1+1, SEG2+1
SEGX SEG+9, SEGA+1, SEGA+2, SEGX+5
UNLCK PV1+4, PV1+12, PV1+14, PV1+17

Naked Globals

Name Field # of Occurrence
^( SEGX+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
HL INIT~, INIT+1!, INIT+2, INIT+3, SEND~, SEND+2
HL("ECH" INIT+5
HL("FS" INIT+4
HL("RGSB" INIT+4*, SEG+2, SEGX+4
>> HLL("LINKS" LINK+3, LINK+4*
RGA ESCAPE+1~, ESCAPE+5*, ESCAPE+7, ESCAPE+8
RGC ESCAPE+1~, ESCAPE+5*, ESCAPE+7
RGCL ACK~, ACK+2, LINK~, LINK+4
RGCODE OBX~, OBX+5, SFX~, SFX+1
RGCPT CPT~, CPT+2
RGD INIT~, INIT+1!, INIT+5*
RGD( INIT+5*, SEGX+1, ESCAPE+3
RGD(1 INIT+4*
RGD(2 PV1+34, OBX+4, OBX+5, PRV+5, PRV+7, SNM+2, CPT+3, INST+1, SFX+1
RGD(4 ESCAPE+6, ESCAPE+8
RGD(5 SFX+1
RGDFN PID~, PID+2, PID+6, PV1~, PV1+12, PV1+14
RGDI LINK~, LINK+2
RGEP INIT~, INIT+2, SEND~, SEND+2, ACK~, ACK+2
RGERR INIT~, INIT+3*, SEND~, SEND+4*, ACK~, ACK+4*
RGF SEG+1~, SEG+2*, SEGX+4*, PV1~, PV1+17, LINK~, LINK+2
RGFLG OBX~, OBX+7
RGFN SNM~, SNM+1, SNM+2
RGFON OBR~, OBR+2
RGG SEGA~, SEGA+1, SEGA+2
RGHI OBX~, OBX+10
RGID PRV+1~, PRV+4*, PRV+5*, PRV+7*, PRV+8, CPT~, CPT+3
RGINST ORC~, ORC+5, INST~, INST+1
RGK SEG~, SEG+10
RGLL LINK+1~, LINK+2, LINK+4*
RGLL( LINK+4
RGLO OBX~, OBX+9
RGMSG ACK~, ACK+2
RGN SEG+1~, SEG+2*, SEGX+4*
RGNS OBR~, OBR+3
RGOBR OBR+1~, OBR+8
RGOBR(15 OBR+5*
RGOBR(16 OBR+6*
RGOBR(22 OBR+7*
RGOBR(3 OBR+2*, OBR+3*
RGOBR(7 OBR+4*
RGOBX OBX+2~, OBX+11
RGOBX(1 OBX+3*
RGOBX(11 OBX+8*
RGOBX(2 OBX+4*
RGOBX(3 OBX+5*
RGOBX(4 OBX+5*
RGOBX(5 OBX+5*
RGOBX(6 OBX+6*
RGOBX(7 OBX+9*, OBX+10*
RGOBX(8 OBX+7*
RGODAT ORC~, ORC+3, OBR~, OBR+4
RGORC ORC+1~, ORC+6
RGORC(12 ORC+4*
RGORC(17 ORC+5*
RGORC(5 ORC+2*
RGORC(9 ORC+3*
RGP SEGA~, SEGA+1, SEGA+2*, SEGX~, SEGX+1, SEGX+3, SEGX+5
RGPC SEG+1~, SEG+4*, SEG+5, SEG+6, SEG+7, SEG+8*, SEG1, SEG1+2, SEG2
RGPC0 SEG+1~, SEG+3*, SEG+4, SEG+5, SEG+6
RGPC1 SEG+1~, SEG1*, SEG1+1, SEG1+2, SEG2
RGPC2 SEG+1~, SEG2*, SEG2+1
RGPID PID+1~, PID+8
RGPID(19 PID+5*
RGPID(2 PID+7*
RGPID(5 PID+3*
RGPID(7 PID+4*
RGPR PROIEN~, PROIEN+1
RGPRV ORC~, ORC+4, OBR~, OBR+6, PRV~, PRV+2, PRV+3, PRV+4
RGRTN ESCAPE+1~, ESCAPE+2*, ESCAPE+6*, ESCAPE+7*, ESCAPE+8*, ESCAPE+9
RGS SEG+1~, SEG+2*, SEG+9, SEGX+2*, SEGX+4*, PID+1~
RGSB INIT~, INIT+4
RGSC PV1+1~, PV1+18*, PV1+20, PV1+33, PV1+34
RGSEG SEG~, SEG+10!, PV1+1~, PV1+17, PV1+32, PV1+35
RGSEG( SEG+3, SEG+7, SEG+8, SEG1, SEG1+2, SEG2
RGSEG(2 PV1+19*, PV1+34*, PV1+35
RGSEG(3 PV1+20*, PV1+21*
RGSEG(44 PV1+22*
RGSEG(45 PV1+23*
RGSEG(50 PV1+16*
RGSEG(7 PV1+30*
RGSEG(9 PV1+31*
RGSEQ OBX~, OBX+3
RGSFX SFX~, SFX+1
RGSID OBX~, OBX+5
RGSNM SNM~, SNM+1*, SNM+2
RGSRC OBR~, OBR+5
RGSTAT OBX~, OBX+8
RGSTATUS ORC~, ORC+2
RGT SEGA~, SEGA+1, SEGX~, SEGX+1, SEGX+2*
RGTXT ESCAPE~, ESCAPE+4, ESCAPE+5, WP~, WP+1*, WP+2
RGTYPE SEG~, SEG+2
RGUDAT OBR~, OBR+7
RGUNITS OBX~, OBX+6
RGV PV1~, PV1+2, PV1+3, PV1+4, PV1+6, PV1+7, PV1+8, PV1+9, PV1+10, PV1+11
, PV1+13, PV1+14, PV1+16, PV1+18, PV1+25, PV1+29, UNLCK
RGVAL OBX~, OBX+1, OBX+4, OBX+5
RGX SEGX~, SEGX+1*, SEGX+2*, SEGX+3, SEGX+5, ESCAPE+1~, ESCAPE+2*, ESCAPE+3*, ESCAPE+5
RGZ SEND+1~, SEND+2, SEND+4, ACK+1~, ACK+2, ACK+4, PID+1~, PID+2*, PID+4, PID+5
, PID+6*, PID+7, PV1+1~, PV1+5!, PV1+13*, PV1+14, PV1+25*, PV1+26, PV1+27, PV1+28
, ESCAPE+1~, ESCAPE+3*, ESCAPE+4*, ESCAPE+5, LINK+1~, LINK+3*, LINK+4*, PRV+1~, PRV+4*, PRV+5
, PRV+6*, PRV+7, CPT+1~, CPT+2*, CPT+3
RGZ(1 PV1+6*, PV1+22
RGZ(150 PV1+10*, PV1+11*, PV1+15, PV1+19
RGZ(18 PV1+9*, PV1+23
RGZ(5 PV1+7*, PV1+12
RGZ(6 PV1+8*, PV1+21
RGZ1 PID+1~, PID+2*, PID+3, PV1+1~, ESCAPE+1~, ESCAPE+5*, ESCAPE+6
RGZ1(1 PV1+26*, PV1+30, PV1+31
RGZ1(3 PV1+27*, PV1+29
RGZ1(4 PV1+28*, PV1+30
RGZ2 PID+1~, PID+2*, PID+3, PV1+1~, PV1+24*, PV1+31*
U INIT+3, SEND+4, ACK+4, PID+2, PID+4, PID+5, PV1+34, OBX+5, LINK+4, SNM+2
, CPT+3
USR PRV+1~
USR(200 PRV+3, PRV+4

Marked Items

Name Field # of Occurrence
$T(CODE^RGHOMAP PV1+34
Info |  Source |  Call Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All