Print Page as PDF
PSOBPSU2 ICR (4970)

PSOBPSU2    ICR (4970)

Name Value
NUMBER 4970
IA # 4970
DATE CREATED 2007/01/22
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOBPSU2
NAME PSOBPSU2
GENERAL DESCRIPTION
This routine contains Outpatient Pharmacy APIs related
to the electronic billing of prescription claims (ePharmacy).
STATUS Active
KEYWORDS
  • MWC
  • PSOBPSU2
  • RXNUM
DURATION Till Otherwise Agreed
ID PSOBPSU2
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$MWC(RX,RFL)
Returns the prescription dispensing route: (W)indow,
(M)ail or (C)MOP.
VARIABLES TYPE VARIABLES DESCRIPTION
RX Input
Pointer to the PRESCRIPTION file (#52).
RFL Input
Pointer to the REFILL multiple (#52.1) in the
PRESCRIPTION file (#52). (Default: latest refill)
$$MWC Output
Prescription dispensing route:   W - WINDOW
M - MAIL (LOCAL)
C - CMOP

$$DUR(RX,RFL)
This function is used to determine if a prescription
was previously placed on hold due to a host reject error.

A 0 (zero) is returned when reject codes M6, M8, NN, or 99 are present OR if
on suspense hold which means the prescription should not be sent to CMOP.  A 1
(one) is returned if the prescription is not on suspense hold and can be sent
to CMOP.
VARIABLES TYPE VARIABLES DESCRIPTION
RX Input
PRESCRIPTION file #52 IEN.
RFL Input
Refill number.
$$RXNUM(ECME)
The purpose of this function is to return the
internal Prescription IEN given the ECME#.  This function may perform user
interface on the screen so it should never be called in the background or
where screen messages are not desired.
VARIABLES TYPE VARIABLES DESCRIPTION
ECME Input
The ECME number is generated in ePharmacy.  It is
either 7 digits or 12 digits depending upon the NCPDP version number being
used by the payer.  This number passed in may or may not contain leading
zeros.  A "+" is performed on the ECME# first thing within this API.
$$RXNUM Output
The value of the extrinsic function call is the
internal RX ien (pointer to file# 52).
SUBSCRIBING PACKAGE
DATE ACTIVATED 2007/03/15