Print Page as PDF
PSSNDCUT ICR (4707)

PSSNDCUT    ICR (4707)

Name Value
NUMBER 4707
IA # 4707
DATE CREATED 2005/06/27
CUSTODIAL PACKAGE PHARMACY DATA MANAGEMENT
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSSNDCUT
NAME PSSNDCUT
GENERAL DESCRIPTION
This routine contains apis for retrieving and saving
NDC in the DRUG file (#50).
STATUS Active
KEYWORDS
  • ECME
  • BPS
  • PSSNDCUT
  • GETNDC
  • SAVNDC
  • EPHARMACY
ID PSSNDCUT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$GETNDC(DRG,SITE,CMOP)
This api returns the CMOP/LOCAL NDC for a specific
drug and division.
VARIABLES TYPE VARIABLES DESCRIPTION
DRG Input
Pointer to the DRUG file (#50).
SITE Input
Pointer to the OUTPATIENT SITE file (#59).
CMOP Input
Indicates wheter the CMOP or the LOCAL NDC should be
returned.

1 - CMOP NDC
0 - LOCAL NDC

$$GETNDC Output
Validated/formatted (5-4-2) NDC for the specific drug
passed in.
SAVNDC(DRG,SITE,NDC,CMP)
This api is used to save an NDC in the DRUG file.
VARIABLES TYPE VARIABLES DESCRIPTION
DRG Input
Pointer to the DRUG file (#50).
SITE Input
Pointer to the OUTPATIENT SITE file (#59).
NDC Input
NDC to be saved in the NDC BY OUTPATIENT SITE
multiple (#50.032) in the DRUG file (#50).
CMP Input
Indicates whether the NDC is from CMOP (CMP=1) or not
(CMP=0).
$$NDCFMT(NDC)
Used to format/validate NDC codes.
VARIABLES TYPE VARIABLES DESCRIPTION
NDC Input
NDC to be formatted/validated.
$$NDCFMT Output
Validated/formatted (5-4-2) NDC or "" (null) if NDC
is not valid.
SUBSCRIBING PACKAGE OUTPATIENT PHARMACY