Print Page as PDF
PSOCMOP ICR (2476)

PSOCMOP    ICR (2476)

Name Value
NUMBER 2476
IA # 2476
DATE CREATED 1998/07/09
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
CUSTODIAL ISC Birmingham
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOCMOP
NAME PSOCMOP
GENERAL DESCRIPTION
This integration agreement between the Consolidated
Mail Outpatient Pharmacy (CMOP) package with the Outpatient Pharmacy V 7.0
(OP) package allows CMOP to call the routine PSOCMOP (used exclusively for
CMOP purposes) at line tag TEST from routine PSXRESUB. This call allows an Rx
fill that has been rejected by a CMOP host facility to be resubmitted to that
facility a single time.

Two input variables are passed to PSOCMOP: PPL = IEN of Rx in Prescription
file (#52) ZD(IEN of Rx in 52) = Current Date/Time

One output variable is returned: PPL = If contains a value indicates that Rx
was not eligible for CMOP
resubmission.
If null, then Rx has been placed in suspense for CMOP transmission.


CMOP Routine   OP Routine      Variables in    Variables out

PSXRESUB       TEST^PSOCMOP        PPL              PPL
ZD(IEN 52)
STATUS Active
DURATION Till Otherwise Agreed
ID PSOCMOP
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
TEST
VARIABLES TYPE VARIABLES DESCRIPTION
PPL Both
PPL on input contains the IEN of an Rx in file #52.
PPL on output may contain the IEN or may be Null.
ZD(IEN) Input
ZD(IEN 52) is set to the current Date/Time.
$$CMPRXTYP(DA)
VARIABLES TYPE VARIABLES DESCRIPTION
DA Input
The IEN of the Rx in RX SUSPENSE file 52.5
$$CMPRXTYP Output

'C' for Controlled Substance (CS)
'N' for Non-CS
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
CMOP Birmingham