PSONDCUT ;BIRM/MFR - NDC Utilities ;10/15/04
Source file <PSONDCUT.m>
Package | Total | Call Graph |
---|---|---|
Outpatient Pharmacy | 5 | ($$LSTRFL,ECMESND)^PSOBPSU1 ($$MWC,RXACT)^PSOBPSU2 ($$RXSITE,$$STATUS)^PSOBPSUT $$ISVALID^PSONDCV ($$ELIGDISP,$$TRIC)^PSOREJP1 |
VA FileMan | 3 | ^DIE $$GET1^DIQ ^DIR |
E Claims Management Engine | 1 | $$ECMEON^BPSUTIL |
Pharmacy Data Management | 1 | ($$GETNDC,$$NDCFMT,SAVNDC)^PSSNDCUT |
Registration | 1 | DEM^VADPT |
Name | Comments | DBIA/ICR reference |
---|---|---|
CHGNDC(RX,RFL,BCODE,STOCK) | ||
NDCEDT(RX,RFL,DRG,SITE,NDC,BCODE) | ; Allows editing of the Rx NDC code
; Input: (r) RX - Rx IEN (#52) ; (o) RFL - Refill Number (#52.1) ; (o) DRG - Drug IEN (#50) ; (o) NDC - Default NDC Number/Return parameter ("" means no NDC selected) (Note: REQUIRED for Output value) ; (o) BCODE - Display the PID/Drug Name in the NDC prompt |
|
ASK | ; Ask for NDC
|
|
END | ||
SAVNDC(RX,RFL,NDC,CMP,DRG,FROM) | ; Saves the NDC in the PRESCRIPTION and DRUG files
; Input: (r) RX - Rx IEN (#52) ; (o) RFL - Refill Number (#52.1) ; (r) NDC - NDC Number ; (o) CMP - CMOP? (1-YES/0-NO) ; (o) DRG - Save in the DRUG file (1-YES/0-NO) ((Def: 0) ; (o) FROM - Calling function |
|
GETNDC(RX,RFL) | ; Returns the Rx NDC #
; Input: (r) RX - Rx IEN (#52) ; (o) RFL - Refill # ; Output: NDC - Rx NDC # |
|
GPPDU(RX,RFL,NDC,DRUG,SAVE,FROM) | ;-get Price per dispense unit for the NDC
|
|
SPPDU(RX,RFL,PPDU) | ;save price per dispense unit
|
|
NDCHLP2 | ;Help Text for ?? for the NDC Code Selection
|
|
NDCHLP | ; Help Text for the NDC Code Selection
|
Name | Field # of Occurrence |
---|---|
$$ECMEON^BPSUTIL | CHGNDC+11 |
^DIE | SAVNDC+17, SAVNDC+19, SPPDU+2, SPPDU+4 |
$$GET1^DIQ | NDCEDT+10, NDCEDT+24, NDCEDT+47, ASK+1, ASK+3, SAVNDC+22, GETNDC+6, GETNDC+7, GPPDU+12, GPPDU+15 , GPPDU+16 |
^DIR | ASK+6 |
$$LSTRFL^PSOBPSU1 | CHGNDC+10, NDCEDT+11, SAVNDC+11, GETNDC+5, GPPDU+13 |
ECMESND^PSOBPSU1 | CHGNDC+28 |
$$MWC^PSOBPSU2 | GPPDU+24 |
RXACT^PSOBPSU2 | CHGNDC+26, CHGNDC+32 |
$$RXSITE^PSOBPSUT | CHGNDC+11, NDCEDT+12, SAVNDC+22 |
$$STATUS^PSOBPSUT | CHGNDC+30, SAVNDC+22 |
$$ISVALID^PSONDCV | CHGNDC+17 |
$$ELIGDISP^PSOREJP1 | CHGNDC+31 |
$$TRIC^PSOREJP1 | CHGNDC+23 |
$$GETNDC^PSSNDCUT | NDCEDT+29, NDCEDT+34 |
$$NDCFMT^PSSNDCUT | NDCEDT+15, NDCEDT+24, NDCEDT+41, ASK+9, SAVNDC+8, GETNDC+8, GPPDU+15, GPPDU+21 |
SAVNDC^PSSNDCUT | SAVNDC+22 |
DEM^VADPT | ASK+3 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^PSDRUG - [#50] | GET1^DIQ |
^PSRX - [#52] | Classic Fileman Calls, GET1^DIQ |
52.1 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PSDRUG - [#50] | NDCEDT+40, NDCEDT+41, GPPDU+20, GPPDU+21 |
^PSRX - [#52] | SAVNDC+18, SPPDU+3 |
^TMP($J | NDCEDT+9!, NDCEDT+15*, NDCEDT+20, NDCEDT+21*, NDCEDT+30, NDCEDT+31*, NDCEDT+35, NDCEDT+36*, NDCEDT+42, NDCEDT+43* , NDCEDT+44*, NDCEDT+46, ASK+5, ASK+7, ASK+10, ASK+11, END!, NDCHLP+9, NDCHLP+10 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACT | CHGNDC+9~, CHGNDC+31*, CHGNDC+32 |
BCODE | CHGNDC~, CHGNDC+20, CHGNDC+21, NDCEDT~, ASK+2 |
CMOP | GPPDU+11~ |
CMP | SAVNDC~, SAVNDC+22 |
DA | SAVNDC+16~, SAVNDC+17*, SAVNDC+19*, SPPDU+1~, SPPDU+2*, SPPDU+4* |
DA(1 | SAVNDC+19*, SPPDU+4* |
DEFNDC | NDCEDT+8~, NDCEDT+24*, GPPDU+11~, GPPDU+15*, GPPDU+17 |
DEFPPDU | GPPDU+11~, GPPDU+16*, GPPDU+26 |
DFN | NDCEDT+8~, ASK+3* |
DIE | SAVNDC+16~, SAVNDC+17*, SAVNDC+19*, SPPDU+1~, SPPDU+2*, SPPDU+4* |
DIR | NDCEDT+8~, ASK+5! |
DIR("?" | ASK+6* |
DIR("??" | ASK+6* |
DIR("A" | ASK+5* |
DIR("B" | ASK+5*!, NDCHLP+4 |
DIR(0 | ASK+5* |
>> DIRUT | ASK+6 |
DR | SAVNDC+16~, SAVNDC+17*, SAVNDC+19*, SPPDU+1~, SPPDU+2*, SPPDU+4* |
DRG | NDCEDT~, NDCEDT+10*, NDCEDT+24, NDCEDT+29, NDCEDT+34, NDCEDT+40, NDCEDT+41, NDCEDT+47, ASK+1, SAVNDC~ , SAVNDC+22 |
DRGNAM | NDCEDT+8~, ASK+1*, ASK+4, NDCHLP+4 |
DRUG | GPPDU~, GPPDU+12~*, GPPDU+15, GPPDU+16, GPPDU+20, GPPDU+21 |
DUZ | CHGNDC+32 |
FROM | SAVNDC~, SAVNDC+13~*, SAVNDC+14, GPPDU~, GPPDU+25 |
I | CHGNDC+20*, NDCEDT+8~, GETNDC+4~, NDCHLP+1~, NDCHLP+9*, NDCHLP+10 |
IDX | NDCEDT+8~, NDCEDT+12*, NDCEDT+15*, NDCEDT+21*, NDCEDT+26*, NDCEDT+31*, NDCEDT+36*, NDCEDT+43*, NDCEDT+44 |
NDC | NDCEDT~, NDCEDT+15, NDCEDT+19*, NDCEDT+20, NDCEDT+21, NDCEDT+29*, NDCEDT+30, NDCEDT+31, NDCEDT+34*, NDCEDT+35 , NDCEDT+36, NDCEDT+46*, ASK+6*, ASK+7*, ASK+8, ASK+9*, ASK+10*, ASK+11*, ASK+12, SAVNDC~ , SAVNDC+8*, SAVNDC+14, SAVNDC+17, SAVNDC+19, SAVNDC+22, GETNDC+4~*, GETNDC+6*, GETNDC+7*, GETNDC+8, GPPDU~ , GPPDU+23 |
NDCVALID | CHGNDC+9~, CHGNDC+17* |
NEWNDC | CHGNDC+9~, CHGNDC+21*, CHGNDC+25, CHGNDC+26, CHGNDC+27, CHGNDC+28 |
NOREL | CHGNDC+9~, CHGNDC+14*, CHGNDC+25, CHGNDC+29*, CHGNDC+31* |
PID | NDCEDT+8~, ASK+3*, ASK+4 |
PPDU | SAVNDC+14~*, GPPDU+16*, GPPDU+17, GPPDU+23*, GPPDU+26*, GPPDU+27, GPPDU+28, SPPDU~, SPPDU+2, SPPDU+4 |
PPDUARR | GPPDU+11~ |
PPDUARR( | GPPDU+17*, GPPDU+22*, GPPDU+23 |
PRPT | NDCEDT+8~, ASK+1*, ASK+4*, ASK+5 |
PSONDC | CHGNDC+9~, CHGNDC+14*, CHGNDC+21, CHGNDC+25, CHGNDC+26 |
PSOTRIC | CHGNDC+23~*, CHGNDC+29, CHGNDC+30 |
RESP | CHGNDC+28~, CHGNDC+29, CHGNDC+30 |
RFL | CHGNDC~, CHGNDC+10*, CHGNDC+11, CHGNDC+14, CHGNDC+17, CHGNDC+21, CHGNDC+23, CHGNDC+26, CHGNDC+27, CHGNDC+28 , CHGNDC+30, CHGNDC+31, CHGNDC+32, NDCEDT~, NDCEDT+11*, NDCEDT+12, NDCEDT+19, SAVNDC~, SAVNDC+11*, SAVNDC+14 , SAVNDC+17, SAVNDC+18, SAVNDC+19, SAVNDC+22, GETNDC~, GETNDC+5*, GETNDC+6, GETNDC+7, GPPDU~, GPPDU+13* , GPPDU+24, GPPDU+27, SPPDU~, SPPDU+2, SPPDU+3, SPPDU+4 |
RX | CHGNDC~, CHGNDC+10, CHGNDC+11, CHGNDC+14, CHGNDC+17, CHGNDC+21, CHGNDC+23, CHGNDC+26, CHGNDC+27, CHGNDC+28 , CHGNDC+30, CHGNDC+31, CHGNDC+32, NDCEDT~, NDCEDT+10, NDCEDT+11, NDCEDT+12, NDCEDT+18, NDCEDT+19, ASK+3 , SAVNDC~, SAVNDC+11, SAVNDC+14, SAVNDC+17, SAVNDC+18, SAVNDC+19, SAVNDC+22, GETNDC~, GETNDC+5, GETNDC+6 , GETNDC+7, GPPDU~, GPPDU+12, GPPDU+13, GPPDU+24, GPPDU+27, SPPDU~, SPPDU+2, SPPDU+3, SPPDU+4 |
SAVE | GPPDU~, GPPDU+14*, GPPDU+27 |
SITE | CHGNDC+9~, CHGNDC+11*, CHGNDC+21, NDCEDT~, NDCEDT+12*, NDCEDT+34 |
SNDC | NDCEDT+8~, NDCEDT+41*, NDCEDT+42, NDCEDT+43, NDCEDT+44, GPPDU+11~, GPPDU+21*, GPPDU+22 |
STOCK | CHGNDC~, ASK+5, NDCHLP2+2, NDCHLP2+4, NDCHLP+2, NDCHLP+8 |
SYN | NDCEDT+8~, NDCEDT+39*, NDCEDT+40*, NDCEDT+41, GPPDU+11~, GPPDU+18*, GPPDU+20*, GPPDU+21 |
VADM | ASK+3! |
VADM(2 | ASK+3 |
>> X | NDCHLP2+1, NDCHLP2+4, NDCHLP+2 |
Y | NDCEDT+8~, ASK+7, ASK+8, ASK+9, ASK+11, NDCHLP+4 |
Z | NDCEDT+8~, NDCEDT+41*, GPPDU+11~, GPPDU+21*, GPPDU+22 |