$$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.
|
|