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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: PSOHLSG1

Package: Outpatient Pharmacy

Routine: PSOHLSG1


Information

PSOHLSG1 ;BIR/LC - Build HL7 Segments ; 11/4/04 2:56pm

Source Information

Source file <PSOHLSG1.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Registration 4 6^VADPT  $$EN^VAFHLPID  $$EN^VAFHLZTA  $$SITE^VASITE  
Outpatient Pharmacy 3 $$STATUS^PSOBPSUT  (NTE1,NTE2,NTE3,NTE4,NTE5,NTE6,ZAL,ZML,ZSL)^PSOHLSG2  $$ZZ^PSOSUTL  
VA FileMan 2 NOW^%DTC  EN^DIQ1  
Health Level Seven 1 ($$FMDATE,$$HLDATE,$$HLNAME)^HLFNC  
National Drug File 1 (,$$DFSU,$$PROD2)^PSNAPIS  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Outpatient Pharmacy 1 PSOHLSG  

Entry Points

Name Comments DBIA/ICR reference
RXR(PSI) ;pharmacy route segment
ZRL(PSI) ;Rx label segment
PID(PSI) ;patient ID segment
RXE(PSI) ;pharmacy encoded order segment
START ;
NTE(PSI) ;note segments
ORC(PSI) ;common order segment

External References

Name Field # of Occurrence
NOW^%DTC ZRL+25
EN^DIQ1 ZRL+27
$$FMDATE^HLFNC PID+8, PID+9
$$HLDATE^HLFNC ORC+10, RXE+25, ZRL+25
$$HLNAME^HLFNC ORC+11, RXE+23, ZRL+10
^PSNAPIS RXE+6
$$DFSU^PSNAPIS RXE+6
$$PROD2^PSNAPIS RXE+6
$$STATUS^PSOBPSUT ORC+14
NTE1^PSOHLSG2 NTE+2
NTE2^PSOHLSG2 NTE+3
NTE3^PSOHLSG2 NTE+4
NTE4^PSOHLSG2 NTE+5
NTE5^PSOHLSG2 NTE+6
NTE6^PSOHLSG2 NTE+7
ZAL^PSOHLSG2 START+2
ZML^PSOHLSG2 START+2
ZSL^PSOHLSG2 START+2
$$ZZ^PSOSUTL ZRL+29
6^VADPT ZRL+12
$$EN^VAFHLPID PID+4
$$EN^VAFHLZTA PID+5
$$SITE^VASITE ZRL+26

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(5 - [#5] ZRL+5
^DPT - [#2] ZRL+23
^PS(50.606 - [#50.606] RXE+15, RXE+16
^PS(50.607 - [#50.607] RXE+9
^PS(50.7 - [#50.7] RXE+15, RXE+16
^PS(51.2 - [#51.2] RXR+5
^PS(53 - [#53] ZRL+12
^PS(55 - [#55] ZRL+17, ZRL+23
^PS(59 - [#59] ZRL+3
^PSDRUG - [#50] RXE+3, RXE+10, RXE+11, RXE+16, RXE+18, ZRL+29
^PSNDF( RXE+7, RXE+8, RXE+9
^PSRX - [#52] ORC+3, ORC+4, ORC+5, ORC+6, ORC+7, ORC+8, RXE+15, RXE+19, RXE+20, RXE+21
, RXE+24, RXE+25, RXE+26, RXR+4, RXR+5, ZRL+8, ZRL+9, ZRL+12, ZRL+13, ZRL+14
, ZRL+15, ZRL+16, ZRL+19, ZRL+29
^SC - [#44] ZRL+8
^TMP("PSO" PID+12*, ORC+15*, RXE+27*, RXR+7*, ZRL+35*, ZRL+36*, ZRL+37*
^VA(200 - [#200] ORC+9, RXE+23, ZRL+10

Label References

Name Line Occurrences
NTE START+1
ORC START+1
PID START+1
RXE START+1
RXR START+1
ZRL START+1

Naked Globals

Name Field # of Occurrence
^("MP" ZRL+16
^("ND" RXE+3, RXE+10
^("STA" ZRL+19
^(0 ORC+4, ORC+5, ORC+6, ORC+7, ORC+8, RXE+20, RXE+21, ZRL+3, ZRL+5, ZRL+8
, ZRL+13, ZRL+14, ZRL+15, ZRL+17, ZRL+29
^(2 ORC+3, ORC+4, ORC+7, ZRL+13
^(3 ZRL+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ZRL+25, ZRL+39!
CAP ZRL+17*, ZRL+21, ZRL+39!
CLN ZRL+8*, ZRL+11, ZRL+39!
CLN1 ZRL+8*, ZRL+11, ZRL+39!
COPAY ZRL+19*, ZRL+20*, ZRL+21, ZRL+39!
>> CS ORC+12, ORC+13, ORC+14, RXE+10, RXE+11, RXE+13, RXE+18, RXE+26, RXR+6, ZRL+4
, ZRL+5, ZRL+11
CSINER ZRL+9*, ZRL+10, ZRL+11, ZRL+39!
CSINER1 ZRL+10*, ZRL+11, ZRL+39!
D1 PID+3~, PID+8*, PID+10
D2 PID+3~, PID+9*, PID+10
DA ZRL+26*, ZRL+28!
DASPLY ZRL+13*, ZRL+14*, ZRL+15*, ZRL+30, ZRL+39!
DATE ZRL+25*, ZRL+30, ZRL+39!
DEA ZRL+29*, ZRL+39!
>> DFN PID+1, PID+4, PID+5, ORC+1, RXE+1, RXR+1, ZRL+1, ZRL+17, ZRL+23
DIC ZRL+26!, ZRL+27*, ZRL+28!
DIQ ZRL+26!, ZRL+27*, ZRL+28!
DIQ(0 ZRL+27*
DISPDT RXE+25*, RXE+26, RXE+29!
DR ZRL+26!, ZRL+27*, ZRL+28!
DRUG ZRL+29*, ZRL+39!
DT PID+10
EBY ORC+4*, ORC+6*, ORC+8*, ORC+9, ORC+13, ORC+17!
EBY1 ORC+9*, ORC+11*, ORC+13, ORC+17!
EFDT ORC+4*, ORC+6*, ORC+8*, ORC+10*, ORC+14, ORC+17!
EN ZRL+33*, ZRL+34, ZRL+39!
EXDT ORC+3*, ORC+5*, ORC+7*, ORC+10*, ORC+13, ORC+17!
FDT ORC+3*, ORC+5*, ORC+7*, ORC+10*, ORC+13, ORC+17!, ZRL+13*, ZRL+14*, ZRL+15*, ZRL+25
>> FP ORC+3, ORC+4, ORC+5, ORC+6, ORC+7, ORC+8, RXE+19, RXE+20, RXE+21, ZRL+13
, ZRL+14, ZRL+15, ZRL+24
>> FPN ORC+3, ORC+4, ORC+5, ORC+6, ORC+7, ORC+8, RXE+19, RXE+20, RXE+21, ZRL+13
, ZRL+14, ZRL+15
>> FS ORC+12, ORC+13, ORC+14, RXE+10, RXE+11, RXE+13, RXE+18, RXE+26, RXR+6, ZRL+4
, ZRL+7, ZRL+11, ZRL+12, ZRL+21, ZRL+22, ZRL+24, ZRL+30
>> HL1("ECH" PID+2
>> HL1("FS" PID+2
>> HL1("Q" PID+2
>> HL1("VER" PID+2
>> HLECH PID+2*
>> HLFS PID+2*, PID+7, PID+8, PID+9, PID+11
>> HLQ PID+2*
>> HLVER PID+2*
>> IDGN RXE+3, RXE+10, RXE+11, RXE+16, RXE+18
>> IRXN ORC+3, ORC+4, ORC+5, ORC+6, ORC+7, ORC+8, ORC+12, ORC+14, RXE+15, RXE+19
, RXE+20, RXE+21, RXE+24, RXE+25, RXE+26, RXR+4, RXR+5, ZRL+8, ZRL+9, ZRL+12
, ZRL+13, ZRL+14, ZRL+15, ZRL+16, ZRL+19, ZRL+29, ZRL+30
LTH ZRL+32*, ZRL+37, ZRL+39!
MP ZRL+16*, ZRL+18*, ZRL+21, ZRL+39!
MW ZRL+13*, ZRL+14*, ZRL+15*, ZRL+16, ZRL+18*, ZRL+22, ZRL+39!
NFLD RXE+24*, RXE+25, ZRL+30, ZRL+39!
NOW ZRL+25*, ZRL+30, ZRL+39!
NRFL RXE+25*, RXE+26, RXE+29!
NURSE ZRL+23*, ZRL+24, ZRL+39!
ORC ORC+2~, ORC+12*, ORC+13*, ORC+14*, ORC+15
>> PAS PID+1, PID+13*
PODOSE RXE+15*, RXE+16*, RXE+18, RXE+29!
PODOSENM RXE+15*, RXE+16*, RXE+18, RXE+29!
POIPTR RXE+15*, RXE+16, RXE+29!
PRODUCT RXE+8*, RXE+9, RXE+29!
PSI START+1, START+2, PID~, PID+12, PID+13*, ORC~, ORC+15, ORC+16*, RXE~, RXE+27
, RXE+28*, NTE~, NTE+2, NTE+3, NTE+4, NTE+5, NTE+6, NTE+7, RXR~, RXR+7
, RXR+8*, ZRL~, ZRL+35, ZRL+36, ZRL+37, ZRL+38*
PSND1 RXE+3*, RXE+5, RXE+6, RXE+7, RXE+8, RXE+9, RXE+10, RXE+11, RXE+29!
PSND2 RXE+3*, RXE+10, RXE+29!
PSND3 RXE+3*, RXE+5, RXE+6, RXE+7, RXE+8, RXE+10, RXE+11, RXE+29!
>> PSODBQ ZRL+19
PSOHZIP ZRL+6*, ZRL+7, ZRL+39!
PSOINST ZRL+27!, ZRL+28*, ZRL+30
PSOINST(4 ZRL+28!
>> PSOSITE ZRL+1, ZRL+3
PSOXN RXE+4!, RXE+6*, RXE+9*, RXE+12*, RXE+13, RXE+14!
PSOXN2 RXE+4!, RXE+6*, RXE+7*, RXE+10, RXE+14!
PSROUTE RXR+3*, RXR+5*, RXR+6, RXR+9!
PSRTLP RXR+4*, RXR+5, RXR+9!
PSZIP ZRL+6*, ZRL+39!
PVDR ORC+4*, ORC+6*, ORC+7*, ORC+8*, ORC+9, ORC+14, ORC+17!
PVDR1 ORC+9*, ORC+11*, ORC+14, ORC+17!
QTY ZRL+13*, ZRL+14*, ZRL+15*, ZRL+30, ZRL+39!
RFRM RXE+25*, RXE+26, ZRL+21, ZRL+22, ZRL+39!
RTNAME RXR+3*, RXR+5*, RXR+6, RXR+9!
RXE RXE+2~, RXE+10*, RXE+11*, RXE+13*, RXE+18*, RXE+26*, RXE+27
>> RXFL( ORC+14
RXR RXR+2~, RXR+6*, RXR+7
SITE ZRL+3*, ZRL+4, ZRL+5, ZRL+6, ZRL+7, ZRL+39!
ST ZRL+33*, ZRL+34, ZRL+39!
UNIT RXE+6*, RXE+9*, RXE+13, RXE+29!
UU RXE+24*, RXE+29!
VADM ZRL+39!
VADM(2 ZRL+12
VAPA ZRL+39!
VAPA(10 ZRL+12
VPHARM RXE+22*, RXE+23*, RXE+26, RXE+29!
VPHARMID RXE+19*, RXE+20*, RXE+21*, RXE+22*, RXE+23, RXE+26, RXE+29!
WARN ZRL+29*, ZRL+30, ZRL+39!
WW ZRL+32*, ZRL+33, ZRL+35, ZRL+36, ZRL+39!
X ZRL+17*, ZRL+18, ZRL+39!
X1 PID+3~, PID+4*, PID+11*, PID+12
X2 PID+3~, PID+5*, PID+7, PID+8, PID+9, PID+11
ZRL ZRL+2~, ZRL+4*, ZRL+5*, ZRL+7*, ZRL+11*, ZRL+12*, ZRL+21*, ZRL+22*, ZRL+24*, ZRL+30*
, ZRL+32, ZRL+34, ZRL+37
ZRL1 ZRL+2~, ZRL+34*, ZRL+35, ZRL+36

Marked Items

Name Field # of Occurrence
$T(^PSNAPIS RXE+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All