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 |  Used in HL7 Interface |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: PSOHLINC

Package: Outpatient Pharmacy

Routine: PSOHLINC


Information

PSOHLINC ;BIR/RTR - Process incoming order messages from CHCS ;06/17/02

Source Information

Source file <PSOHLINC.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Outpatient Pharmacy 4 ADD^PSOHCPRS  ENDC^PSOHLDC  (ACK,CHECK,NAK)^PSOHLEXC  (COMM,ENCOMM,ENSIG,ORC,RXO,SIG)^PSOHLINL  
VA Fileman 2 NOW^%DTC  ^DIWP  
Kernel 1 ($$DT,$$HL7TFM)^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
PV1 ;Process PV1 segment
EN ;Process incoming outpatient order messages
FORM ;
RXO ;Process RXO segment
ZCL
PID ;Process PID segment
ZRX ;Process ZRX segment
DG1 ;Process DG1 segment ; future use
COMM ;Process Provider Comments
MSH ;Process MSH segment
SIG ;Process SIG
RXR ;Process RXR segment
NTE ;
ORC ;Process ORC segment

External References

Name Field # of Occurrence
NOW^%DTC ORC+8
^DIWP COMM+5, SIG+5
ADD^PSOHCPRS EN+26
ENDC^PSOHLDC EN+12
ACK^PSOHLEXC EN+28
CHECK^PSOHLEXC EN+22
NAK^PSOHLEXC EN+13, EN+15, EN+16
COMM^PSOHLINL COMM+1
ENCOMM^PSOHLINL COMM+6
ENSIG^PSOHLINL SIG+6
ORC^PSOHLINL ORC+3
RXO^PSOHLINL RXO+2
SIG^PSOHLINL SIG+1
$$DT^XLFDT EN+2
$$HL7TFM^XLFDT ORC+10

Used in HL7 Interface

HL7 Protocol Name Call Tags
PSO RECEIVE ORDER EN

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^UTILITY($J COMM+2!, COMM+7!, SIG+2!, SIG+7!

Label References

Name Line Occurrences
@( EN+9
COMM NTE+2
FORM PID+1, PV1+1, DG1+1, ORC+2, RXO+1, RXR+1, ZRX+1, NTE+1
SIG NTE+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % ORC+8
>> DIWF COMM+5*, SIG+5*
>> DIWL COMM+5*, SIG+5*
>> DIWR COMM+5*, SIG+5*
DT EN+2*
>> HL("ECH" EN+4
>> HL("FS" MSH+1, PID+2, PV1+2, DG1+2, ORC+4, ORC+7, ORC+9, ORC+12, ORC+13, RXO+3
, RXO+4, RXO+5, ZRX+2, NTE+2, NTE+3, COMM+3, SIG+3, FORM+1
>> HLNEXT EN+6
>> HLNODE EN+6
>> HLNODE( EN+7
>> HLQUIT EN+6
PSOBH EN+1~
PSOEXMS EN+1~, EN+13*, EN+15*, EN+16*
PSOEXXQ EN+1~, EN+14*, EN+16, EN+18, EN+24, EN+28
PSOHB EN+6!*, MSH+1, PID+2, PV1+2, DG1+2, ORC+4, ORC+7, ORC+9, ORC+12, ORC+13
, RXO+3, RXO+4, RXO+5, ZRX+2, NTE+2, NTE+3, COMM+3, SIG+3, FORM+1*
PSOHB( EN+7*
PSOHB("" ORC+3, RXO+2, COMM+1, SIG+1
PSOHBDS EN+1~, EN+14*, EN+16*
PSOHDFOR EN+1~, EN+3*, EN+6, EN+7, EN+8*, EN+15
PSOHEID EN+1~
PSOHEIDS EN+1~
PSOHFSP EN+1~, EN+4*, ORC+7
PSOHG EN+1~, EN+7*
PSOHLMIS EN+1~, EN+5!
PSOHLMIS( EN+16
PSOHLMIS("MSH" MSH+2*
PSOHLMIS("ORC" ORC+14*
PSOHLMIS("PID" PID+3*
PSOHLMIS("PV1" PV1+3*
PSOHLMIS("RXO" RXO+6*
PSOHLNOP EN+1~, EN+3*, EN+6, EN+7, EN+11, MSH+1*
PSOHLRS EN+1~
PSOHLRXO EN+1~, EN+3*, ORC+1*
PSOHLTAG EN+1~
PSOHLZ EN+1~
PSOHLZC EN+1~
PSOHMSG EN+1~, EN+16*
PSOHY EN+1~
PSOHY("CHNUM" ORC+7*
PSOHY("DRUG" RXO+3*
PSOHY("EDT" ORC+8*, ORC+11
PSOHY("ENTER" ORC+12*
PSOHY("ICD" DG1+2*
PSOHY("LOC" PV1+2*
PSOHY("OCC" EN+12, ORC+4*
PSOHY("PAT" PID+2*
PSOHY("PICK" ZRX+2*
PSOHY("PRIOR" ORC+6*
PSOHY("PROV" ORC+13*
PSOHY("QTY" RXO+4*
PSOHY("REF" RXO+5*
PSOHY("SDT" ORC+10*, ORC+11*
PSOXHI EN+1~, EN+6*
PSOXLONG EN+1~, EN+3*, EN+6, EN+7, EN+13, COMM+4*, SIG+4*
PSOXMH EN+1~, EN+6*, EN+8, EN+9
U DG1+2
X EN+1~, ORC+9*, ORC+10, COMM+3*, COMM+4, SIG+3*, SIG+4
Y EN+1~

Marked Items

Name Field # of Occurrence
$T(@PSOXMH EN+9
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in HL7 Interface |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All