ABSPOSFP ; IHS/FCS/DRS - Print NCPDP claim ; [ 09/12/2002 10:09 AM ]
Source file <ABSPOSFP.m>
Package | Total | Caller Graph |
---|---|---|
Pharmacy Point of Sale | 2 | ABSPOSFA ABSPOSFX |
Name | Comments | DBIA/ICR reference |
---|---|---|
BILLINFO | ;
|
|
CCYY(D) | ; year part of the date
|
|
PATYP(X) | ||
QTY(Q) | ; quantity - metric decimal quantity now
; but avoid printing "." unless there is actually a decimal part |
|
; EP - we have the ABSP() and NCPDP() arrays
; Print to the current device |
||
NETAMT(X) | ; compute it
|
|
24 | ||
25 | ; the second prescription
|
|
26 | ||
27 | ||
20 | ||
21 | ||
22 | ||
23 | ||
PANUM(X) | ; prior auth # ; first digit is type, second digit undef
; then 10 digits for the actual number |
|
28 | ||
29 | ||
1 | ||
3 | ||
2 | ||
5 | ||
4 | ||
7 | ||
6 | ||
9 | ||
8 | ||
MM(D) | ; month part of the date
|
|
DD(D) | ; day part of the date
|
|
99 | ;
|
|
11 | ||
10 | ||
13 | ||
12 | ||
15 | ||
14 | ||
17 | ||
16 | ||
19 | ||
18 | ||
31 | ||
30 | ||
GROSSAMT(X) | ;add it up - don't rely on Gross Amount Due field
|
|
MONEY(X) | ; format money amount
|
|
32 | ||
PAGE | ; print one page
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ABSBITMS(9002302 | BILLINFO+5 |
^ABSPTL - [#9002313.57] | BILLINFO+2, BILLINFO+3, BILLINFO+8 |
^AUPNVSIT - [#9000010] | BILLINFO+10 |
^PSDRUG - [#50] | 20+6, 28+7 |
^PSRX - [#52] | 18+1, 26+16 |
^VA(200 - [#200] | 20+7, 28+8 |
Name | Line Occurrences |
---|---|
$$CCYY | 4+2, 13+2, 17+3, 17+6, 24+4, 26+6, 26+9, 32+2 |
$$DD | 4+1, 13+1, 17+2, 17+5, 24+3, 26+5, 26+8, 32+1 |
$$GROSSAMT | 20+8, 29, NETAMT+2 |
$$MM | 4, 13, 17+1, 17+4, 24+2, 26+4, 26+7, 32 |
$$MONEY | 14+1, 15, 16, 19, 20+8, 21, 23, 24, 24+7, 25+2 , 26, 26+13, 28+5, 29, 30+6, 31, 32+5, 32+6 |
$$NETAMT | 24, 32+6 |
$$PANUM | 20+2, 28+2, PATYP |
$$PATYP | 20+3, 28+3 |
$$QTY | 17+8, 26+11 |
99 | 25+1 |
BILLINFO | 14 |
PAGE | PRINT+7 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | PRINT+3~, BILLINFO+1~, BILLINFO+2*, BILLINFO+4, BILLINFO+5*, BILLINFO+6*, BILLINFO+7, BILLINFO+8*, BILLINFO+9, BILLINFO+10 , BILLINFO+12 |
>> ABSP("RX" | PRINT+6, 18, 18+1, 20+6, 20+7, 26+15, 26+16, 28+7, 28+8, BILLINFO+1 |
>> ABSP("Site" | 5, 6, 6+4, 7, 7+1, 8, 8+1 |
B | PRINT+3~, BILLINFO+1~, BILLINFO+3*, BILLINFO+4, BILLINFO+6, BILLINFO+10*, BILLINFO+11 |
C | PRINT+3~ |
D | MM~, MM+1, DD~, DD+1, CCYY~, CCYY+1 |
F | GROSSAMT+2~*, NETAMT+3~* |
HOFF | PRINT+2~*, 1, 1+1, 2, 2+1, 3, 3+1, 3+2, 4, 4+1 , 4+2, 4+3, 4+4, 5, 6, 6+1, 6+4, 7, 7+1, 8 , 8+1, 9, 10, 11, 11+1, 11+2, 12, 12+1, 13, 13+1 , 13+2, 13+3, 14+1, 15, 16, 17, 17+1, 17+2, 17+3, 17+4 , 17+5, 17+6, 17+7, 17+8, 17+9, 18+1, 18+2, 19, 20, 20+1 , 20+2, 20+3, 20+4, 20+6, 20+7, 20+8, 21, 22, 22+1, 22+2 , 22+3, 22+4, 22+5, 23, 24, 24+2, 24+3, 24+4, 24+5, 24+6 , 25+2, 26, 26+3, 26+4, 26+5, 26+6, 26+7, 26+8, 26+9, 26+10 , 26+11, 26+12, 26+13, 26+16, 27, 28, 28+1, 28+2, 28+3, 28+4 , 28+5, 28+7, 28+8, 29, 30, 30+1, 30+2, 30+3, 30+4, 30+5 , 30+6, 31, 32, 32+1, 32+2, 32+3, 32+4, 32+5, 32+6 |
I | PRINT+3~, PRINT+5* |
IOF | PRINT+4, PRINT+8 |
MAXRXN | PRINT+6~*, PRINT+7, 25+1 |
>> NCPDP("RX" | 13, 13+1, 13+2, 13+3, 14+1, 15, 16, 17, 17+1, 17+2 , 17+3, 17+4, 17+5, 17+6, 17+7, 17+8, 17+9, 19, 20, 20+1 , 20+2, 20+3, 20+4, 21, 22, 22+1, 22+2, 22+3, 22+5, 23 , 24+2, 24+3, 24+4, 24+7, 25+2, 26, 26+3, 26+4, 26+5, 26+6 , 26+7, 26+8, 26+9, 26+10, 26+11, 26+12, 26+13, 28, 28+1, 28+2 , 28+3, 28+4, 28+5, 30, 30+1, 30+2, 30+3, 30+5, 30+6, 31 , 32, 32+1, 32+2, 32+5, GROSSAMT+2, NETAMT+3 |
>> NCPDP(201 | 6+1 |
>> NCPDP(301 | 1+1 |
>> NCPDP(302 | 1 |
>> NCPDP(303 | 3+2 |
>> NCPDP(304 | 4, 4+1, 4+2 |
>> NCPDP(305 | 4+3 |
>> NCPDP(306 | 4+4 |
>> NCPDP(308 | 3+1 |
>> NCPDP(310 | 3 |
>> NCPDP(311 | 3 |
>> NCPDP(312 | 2 |
>> NCPDP(313 | 2 |
>> NCPDP(315 | 9 |
>> NCPDP(316 | 10 |
>> NCPDP(317 | 11 |
>> NCPDP(318 | 11+1 |
>> NCPDP(319 | 11+2 |
>> NCPDP(327 | 12 |
Q | QTY~, QTY+2*, QTY+3, QTY+4 |
RX1 | PAGE+1~*, 13, 13+1, 13+2, 13+3, 14+1, 15, 16, 17, 17+1 , 17+2, 17+3, 17+4, 17+5, 17+6, 17+7, 17+8, 17+9, 18, 18+1 , 19, 20, 20+1, 20+2, 20+3, 20+4, 20+6, 20+7, 20+8, 21 , 22, 22+1, 22+2, 22+3, 22+5, 23, 24, 24+2, 24+3, 24+4 , 24+7, BILLINFO+1 |
RX2 | PAGE+1~*, 25+1, 25+2, 26, 26+3, 26+4, 26+5, 26+6, 26+7, 26+8 , 26+9, 26+10, 26+11, 26+12, 26+13, 26+15, 26+16, 28, 28+1, 28+2 , 28+3, 28+4, 28+5, 28+7, 28+8, 29, 30, 30+1, 30+2, 30+3 , 30+5, 30+6, 31, 32, 32+1, 32+2, 32+5, 32+6 |
RXN | PRINT+7~*, PAGE+1 |
T | GROSSAMT+1~*, GROSSAMT+2*, GROSSAMT+3, NETAMT+1~*, NETAMT+2*, NETAMT+3*, NETAMT+4 |
U | 18+1, 20+6, 20+7, 26+16, 28+7, 28+8, BILLINFO+2, BILLINFO+3, BILLINFO+5, BILLINFO+8 , BILLINFO+10 |
VOFF | PRINT+2~*, PRINT+5 |
X | PRINT+3~, 6+4*, MONEY~, MONEY+1, MONEY+2, PANUM~, PANUM+2*, PANUM+3, PATYP~, GROSSAMT~ , GROSSAMT+2, NETAMT~, NETAMT+2, NETAMT+3, BILLINFO+1~*, BILLINFO+2, BILLINFO+3, BILLINFO+8 |
Y | PRINT+3~ |
Z | PRINT+3~ |