FBAALU ;AISC/GRR,WCIOFO/SAB-CPT CODE & MODIFIER LOOKUP ;7/15/1999
Source file <FBAALU.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
CPTM(FBDOS,FBDFN,FBCPT,FBMODL) | ; Ask CPT Code and optional CPT Modifiers
; input ; FBDOS - (optional) date of service, fileman format ; FBDFN - (optional) patient DFN, pointer to file #2 and file #161 ; FBCPT - (optional) default CPT value (internal) ; FBMODL- (optional) list of default modifiers (internal) ; delimited by commas ; only used when FBCPT accepted by user ; output ; FBAACP - CPT code (internal) ; OR null if not selected ; OR @ if default value (FBCPT) was supplied and user ; entered an @ at the service provided prompt. ; FBX - CPT code (external) OR null if not selected ; FBMODA( - (optional) CPT modifier array ; FBMODA(#) = CPT modifier (internal) ; where # is a integer greater than 0 ; FBGOT - flag (0 or 1) =1 if CPT code was specified and confirmed |
|
INIT | ; initialize optional input variables and FBGOT
|
|
ASKCPT | ; prompt for CPT code
|
|
ASKMOD | ; multiply prompt for CPT modifiers
; determine highest number used in list |
|
DIS | ; display entered data
; if default CPT code exists and default code and modifiers were not ; changed then skip display and confirm steps. |
|
CONF | ; confirm entered data
|
|
EXIT | ; exit point
|
|
MODHLP | ; CPT MODIFIER prompt help text
; input ; FBMODA( - (optional) array of modifiers ; FBMODA(#)=CPT MODIFIER (internal) |
Name | Field # of Occurrence |
---|---|
^DIR | ASKCPT+7, ASKCPT+11, ASKMOD+11, ASKMOD+25, CONF+2, MODHLP+25 |
$$CPT^FBAAUTL4 | ASKCPT+3 |
$$MOD^FBAAUTL4 | ASKMOD+22 |
$$MODL^FBAAUTL4 | ASKMOD+9, DIS+3 |
$$CAT^ICPTAPIU | DIS+4 |
$$CPT^ICPTCOD | ASKCPT+15 |
$$CPTD^ICPTCOD | DIS+16 |
$$MOD^ICPTMOD | ASKMOD+29, DIS+11, MODHLP+19 |
$$FMTE^XLFDT | ASKCPT+18, ASKMOD+32 |
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 |
|
Routine Call |
|
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DIR | INIT+1~, ASKCPT+7!, ASKCPT+11!, ASKMOD+11!, ASKMOD+25!, CONF+2!, MODHLP+5~, MODHLP+25! |
DIR("?" | ASKCPT+4*, ASKCPT+5*, ASKCPT+6*, ASKMOD+6* |
DIR("A" | ASKCPT+2*, ASKCPT+10*, ASKMOD+5*, ASKMOD+21*, CONF+1* |
DIR("B" | ASKCPT+3*, ASKMOD+22*, CONF+1* |
DIR(0 | ASKCPT+1*, ASKCPT+9*, ASKMOD+4*, ASKMOD+20*, CONF+1*, MODHLP+25* |
DIROUT | INIT+1~, MODHLP+5~ |
DIRUT | INIT+1~, ASKMOD+19, CONF+2, MODHLP+5~, MODHLP+23, MODHLP+25 |
DT | INIT+3 |
DTOUT | INIT+1~, ASKCPT+7, ASKMOD+11, MODHLP+5~ |
DUOUT | INIT+1~, ASKCPT+7, ASKMOD+11, MODHLP+5~ |
>> FBAACP | ASKCPT+11*, ASKCPT+12*, ASKCPT+15, ASKCPT+21, DIS+3, DIS+16, EXIT+1* |
FBCATX | INIT+2~, DIS+4*, DIS+5, DIS+6 |
FBCPT | CPTM~, ASKCPT+2, ASKCPT+3, ASKCPT+8, ASKCPT+21, DIS+3 |
FBCPTX | INIT+2~, ASKCPT+15*, ASKCPT+16, DIS+4, DIS+7 |
FBDFN | CPTM~, INIT+4*, DIS+16 |
FBDOS | CPTM~, INIT+3*, ASKCPT+7, ASKCPT+15, ASKCPT+18, ASKMOD+11, ASKMOD+25, ASKMOD+29, ASKMOD+32, DIS+11 , DIS+16, MODHLP+19 |
FBEDIT | INIT+2~, ASKMOD+16*, ASKMOD+17*, ASKMOD+19, ASKMOD+22, ASKMOD+26, ASKMOD+34, ASKMOD+36, ASKMOD+38 |
>> FBGOT | INIT+5*, ASKCPT+8, ASKCPT+11*, DIS+3*, CONF+4*, EXIT+1 |
FBI | INIT+2~, ASKCPT+22~, ASKCPT+23*, ASKMOD+16*, ASKMOD+17, ASKMOD+35*, ASKMOD+36, DIS+10*, DIS+11, DIS+17* , MODHLP+6~, MODHLP+15~, MODHLP+18*, MODHLP+19 |
FBL | MODHLP+6~, MODHLP+15~, MODHLP+17*, MODHLP+20*, MODHLP+23*, MODHLP+25, MODHLP+27 |
FBLAST | INIT+2~, ASKMOD+2*, ASKMOD+39* |
FBMOD | INIT+2~, ASKCPT+22~, ASKCPT+23*, ASKMOD+14*, ASKMOD+17, ASKMOD+27*, ASKMOD+29, ASKMOD+34, ASKMOD+35, ASKMOD+36* , ASKMOD+38, ASKMOD+39 |
FBMODA | ASKCPT+11!, ASKCPT+20!, EXIT+1! |
FBMODA( | ASKCPT+23*, ASKMOD+16, ASKMOD+17, ASKMOD+22, ASKMOD+26!, ASKMOD+35, ASKMOD+36, ASKMOD+38*, ASKMOD+39*, DIS+10 , DIS+11, MODHLP+18, MODHLP+19 |
FBMODA(" " | ASKMOD+2 |
FBMODA(0 | DIS+8, MODHLP+14 |
FBMODL | CPTM~, ASKCPT+21, ASKCPT+23, DIS+3 |
FBMODLE | INIT+2~, ASKMOD+9*, ASKMOD+10 |
FBMODX | INIT+2~, ASKMOD+29*, ASKMOD+30, DIS+11*, DIS+12, MODHLP+6~, MODHLP+15~, MODHLP+19*, MODHLP+20 |
FBQUIT | MODHLP+6~ |
FBTX | INIT+2~, DIS+15!, MODHLP+6~ |
FBTX( | DIS+17, MODHLP+20*, MODHLP+23, MODHLP+27 |
FBTX(1 | MODHLP+10* |
FBTX(2 | MODHLP+11* |
FBTX(3 | MODHLP+12* |
FBTX(4 | MODHLP+13* |
FBTX(5 | MODHLP+16* |
>> FBX | ASKCPT+11*, ASKCPT+12*, EXIT+1* |
ICPTVDT | ASKCPT+7*!, ASKMOD+11*!, ASKMOD+25*! |
IOST | MODHLP+25 |
U | ASKCPT+12, ASKCPT+16, ASKMOD+30, DIS+4, DIS+5, DIS+6, DIS+7, DIS+12, MODHLP+20 |
X | INIT+1~, ASKCPT+8, ASKMOD+26, DIS+16* |
Y | INIT+1~, ASKCPT+11, ASKCPT+12, ASKMOD+13, ASKMOD+14, ASKMOD+27, CONF+3 |