Print Page as PDF
OE/RR CALL TO PSOORCPY ICR (6719)

OE/RR CALL TO PSOORCPY    ICR (6719)

Name Value
NUMBER 6719
IA # 6719
DATE CREATED 2017/01/11
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOORCPY
NAME OE/RR CALL TO PSOORCPY
GENERAL DESCRIPTION
The Order Entry/Results Reporting would like approval
to call the extrinsic function $$ORCOPY^PSOORCPY(Placer).
STATUS Active
KEYWORDS PSOORCPY
DURATION Till Otherwise Agreed
ID PSOORCPY
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$ORCOPY(PLACER)
Extrinsic function to determine whether an order can
be copied or not.
VARIABLES TYPE VARIABLES DESCRIPTION
PLACER Input
CPRS Placer, which can be a pointer to the
PRESCRIPTION file (#52) or the OUTPATIENT PENDING ORDER file (#52.41). If the
value is numeric only it is assumed to be a pointer to the PRESCRIPTION file
(#52), otherwise if the value is appended with the letter "S" at the end it
means the numeric part of the input parameter is a pointer to the PENDING
OUTPATIENT ORDER file (#52.41).
$$ORCOPY Output
Returns "-1^Not a Valid Outpatient Medication Order."
if the prescription record cannot be found.

Returns "0^<Reason>" if the order cannot be copied (e.g., "0^This Drug has
been Inactivated.")

Returns "1" if the order can be copied.
SUBSCRIBING PACKAGE ORDER ENTRY/RESULTS REPORTING
DATE ACTIVATED 2017/07/10