ABSPOSE2 ; IHS/SD/lwj - E1 generation routine ; [ 10/24/2005 10:09:07 AM ]
Source file <ABSPOSE2.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GETDATE() | ; Prompt for service date.
|
|
GETPHARM() | ; Prompt for pharmacy.
|
|
PATIENT | ; Patient Seg
|
|
INSURER | ; Insurance Seg
|
|
PROCESS | ;
|
|
CRTE1 | ; Creates transmission record, updates ^ABSPE.
|
|
DISPLAY(E1IEN) | ;EP - E1 result
|
|
PARSE504(INS504,COVER) | ;
|
|
RAWTRANS | ; Raw trans in ^ABSPE
|
|
HEADER | ; Header Seg
|
|
PRMPT(E1IEN) | ;Display previous response and prompt to send again.
|
|
DATE(CCYYMMDD) | ;
|
|
PARSE526(INS526,COVER) | ;
|
|
GETPAT() | ; Prompt for patient.
|
|
MAIN | ;EP
|
|
GETABSPE() | ; If E1 previously sent, find it and prompt to send again.
; If doesn't exist, create new one. |
Name | Field # of Occurrence |
---|---|
DD^%DT | GETDATE+4, GETDATE+11, GETDATE+18, DATE+4 |
C^%DTC | GETDATE+8, GETDATE+15 |
$$ANFF^ABSPECFM | HEADER+18, HEADER+26, PATIENT+37, PATIENT+42, PATIENT+66, INSURER+16 |
$$DTF1^ABSPECFM | HEADER+23, PATIENT+16, PATIENT+19 |
$$NFF^ABSPECFM | PATIENT+26 |
SEND^ABSPOSAE | PROCESS+24 |
DISPLAY^ABSPOSE1 | DISPLAY+14 |
LOG^ABSPOSL2 | RAWTRANS+6 |
$$DATE^ABSPOSU1 | GETDATE+23 |
^DIC | GETPAT+15, GETPHARM+16, GETABSPE+9, GETABSPE+29 |
^DIE | CRTE1+16 |
WP^DIE | RAWTRANS+5 |
^DIK | GETABSPE+20 |
$$GET1^DIQ | PRMPT+5, PRMPT+9, PATIENT+16, PATIENT+33, INSURER+8, INSURER+9, INSURER+12, DISPLAY+6, DISPLAY+7, DISPLAY+8 , DISPLAY+9, DISPLAY+10, DISPLAY+11, DISPLAY+12 |
^DIR | PRMPT+21 |
^XBFMK | DATE+2 |
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 |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^AUPNMCR - [#9000003] | GET1^DIQ |
^ABSPE - [#9002313.7] | Classic Fileman Calls, GET1^DIQ, WP^DIE |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ABSP(9002313.56 - [#9002313.56] | GETPHARM+6, GETPHARM+13, HEADER+4 |
^ABSP(9002313.99 - [#9002313.99] | HEADER+10, HEADER+13 |
^DPT - [#2] | PATIENT+7, PATIENT+8 |
Name | Line Occurrences |
---|---|
$$DATE | DISPLAY+54, DISPLAY+65, DISPLAY+66, DISPLAY+70, DISPLAY+71 |
$$GETABSPE | PROCESS+15 |
$$GETDATE | PROCESS+18 |
$$GETPAT | PROCESS+5 |
$$GETPHARM | PROCESS+11 |
$$PRMPT | GETABSPE+13 |
CRTE1 | PROCESS+22 |
DISPLAY | PRMPT+15 |
HEADER | CRTE1+10 |
INSURER | CRTE1+12 |
PARSE504 | DISPLAY+15 |
PARSE526 | DISPLAY+16 |
PATIENT | CRTE1+11 |
PROCESS | MAIN+4 |
RAWTRANS | CRTE1+19 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ABSP03 | DISPLAY+3~, DISPLAY+7*, DISPLAY+18 |
ABSP112 | DISPLAY+2~, DISPLAY+4*, DISPLAY+8*, DISPLAY+21, DISPLAY+24, DISPLAY+50 |
ABSP301 | INSURER+2~ |
ABSP302 | INSURER+2~, INSURER+8*, INSURER+10*, INSURER+11, INSURER+12*, INSURER+13*, INSURER+15*, INSURER+16*, INSURER+17, INSURER+19 , DISPLAY+3~, DISPLAY+9*, DISPLAY+20 |
>> ABSP302S | INSURER+9*, INSURER+10 |
ABSP304 | PATIENT+2~, PATIENT+16*, PATIENT+19*, PATIENT+20, PATIENT+21 |
ABSP305 | PATIENT+2~, PATIENT+24*, PATIENT+25*, PATIENT+26*, PATIENT+27, PATIENT+28 |
ABSP310 | PATIENT+2~, PATIENT+37*, PATIENT+38, PATIENT+39 |
ABSP311 | PATIENT+2~, PATIENT+42*, PATIENT+43, PATIENT+44 |
ABSP323 | PATIENT+2~ |
ABSP324 | PATIENT+2~ |
ABSP325 | PATIENT+3~, PATIENT+66*, PATIENT+67, PATIENT+68 |
ABSP326 | PATIENT+3~ |
ABSP332 | PATIENT+2~ |
ABSP503 | DISPLAY+3~, DISPLAY+4*, DISPLAY+10*, DISPLAY+22 |
ABSP504 | DISPLAY+2~, DISPLAY+4*, DISPLAY+11*, DISPLAY+13, DISPLAY+15, DISPLAY+30, DISPLAY+32, DISPLAY+33, DISPLAY+36 |
ABSP526 | DISPLAY+2~, DISPLAY+12*, DISPLAY+13, DISPLAY+16, DISPLAY+41, DISPLAY+43, DISPLAY+44, DISPLAY+47 |
>> ABSP536 | DISPLAY+4* |
ABSPCID | INSURER+2~ |
ABSPCUT | DISPLAY+3~, DISPLAY+35*, DISPLAY+46* |
ABSPDUZ2 | GETPAT+2~, GETPAT+8*, GETPAT+19 |
>> ABSPINS | DISPLAY+13*, DISPLAY+14 |
ABSPNAM | PATIENT+3~, PATIENT+33*, PATIENT+34*, PATIENT+37, PATIENT+42 |
ABSPPNAM | DISPLAY+2~, DISPLAY+4*, DISPLAY+6*, DISPLAY+19 |
ABSPSTR | DISPLAY+3~, DISPLAY+31*, DISPLAY+36, DISPLAY+37*, DISPLAY+42*, DISPLAY+47, DISPLAY+48* |
>> BEGDISP | GETDATE+12*, GETDATE+22 |
BEGDT | GETDATE+1~, GETDATE+9*, GETDATE+23 |
CCYYMMDD | DATE~, DATE+1, DATE+3 |
COVER | DISPLAY+2~, DISPLAY+15, DISPLAY+16, PARSE504~, PARSE526~ |
COVER(1 | DISPLAY+52, DISPLAY+53, DISPLAY+54, DISPLAY+56, DISPLAY+57, DISPLAY+58, DISPLAY+59, DISPLAY+60, DISPLAY+61, DISPLAY+62 , DISPLAY+63, DISPLAY+64, DISPLAY+65, DISPLAY+66, DISPLAY+67, DISPLAY+68, DISPLAY+70, DISPLAY+71, PARSE504+2*, PARSE504+3* , PARSE504+4*, PARSE504+5*, PARSE504+6*, PARSE504+7*, PARSE504+8*, PARSE504+9*, PARSE504+10*, PARSE504+11*, PARSE504+12*, PARSE504+13* , PARSE504+14*, PARSE504+15*, PARSE504+16*, PARSE504+17*, PARSE504+18*, PARSE504+19* |
COVER(2 | DISPLAY+75, DISPLAY+78, DISPLAY+79, DISPLAY+80, DISPLAY+81, DISPLAY+82, DISPLAY+83, DISPLAY+84, DISPLAY+85, PARSE526+2* , PARSE526+3*, PARSE526+4*, PARSE526+5*, PARSE526+6*, PARSE526+7*, PARSE526+8*, PARSE526+9*, PARSE526+10* |
COVER(3 | DISPLAY+88, DISPLAY+91, DISPLAY+92, DISPLAY+93, DISPLAY+94, DISPLAY+95, DISPLAY+96, DISPLAY+97, DISPLAY+98, PARSE526+12* , PARSE526+13*, PARSE526+14*, PARSE526+15*, PARSE526+16*, PARSE526+17*, PARSE526+18*, PARSE526+19*, PARSE526+20* |
CRTNWE1 | GETABSPE+3~, GETABSPE+6*, GETABSPE+12*, GETABSPE+22*, GETABSPE+25 |
CURDISP | GETDATE+1~, GETDATE+5*, GETDATE+21 |
DA | GETABSPE+17~, GETABSPE+19*, GETABSPE+21!, CRTE1+3~, CRTE1+7* |
DIC | GETPAT+2~, GETPAT+12*, GETPAT+18!, GETPHARM+2~, GETPHARM+12*, GETABSPE+3~, GETABSPE+4*, GETABSPE+10!, GETABSPE+26* |
DIC("A" | GETPAT+13*, GETPHARM+14* |
DIC("B" | GETPHARM+13* |
DIC(0 | GETPAT+12*, GETPHARM+12*, GETABSPE+4*, GETABSPE+28* |
DIE | CRTE1+3~, CRTE1+7* |
DIK | GETABSPE+17~, GETABSPE+18*, GETABSPE+21! |
DIR | PRMPT+2~ |
DIR("A" | PRMPT+17* |
DIR("B" | PRMPT+19* |
DIR(0 | PRMPT+20* |
DLAYGO | GETABSPE+3~, GETABSPE+28* |
DR | CRTE1+3~, PATIENT+21*, PATIENT+28*, PATIENT+39*, PATIENT+44*, PATIENT+68*, INSURER+19* |
DT | GETDATE+3, GETDATE+7, GETDATE+14, GETDATE+23 |
>> DTOUT | GETPAT+17, GETPHARM+18 |
>> DUOUT | GETPAT+17, GETPHARM+18 |
DUZ(2 | GETPAT+8*, GETPAT+19* |
E1DATE | PROCESS+1~, PROCESS+18*, PROCESS+19, HEADER+23 |
E1DT | GETDATE+1~, GETDATE+23*, GETDATE+24*, GETDATE+25 |
E1IEN | PROCESS+1~, PROCESS+15*, PROCESS+16, PROCESS+24, GETABSPE+3~, GETABSPE+11*, GETABSPE+12, GETABSPE+13, GETABSPE+19, PRMPT~ , PRMPT+5, PRMPT+9, PRMPT+15, CRTE1+7, RAWTRANS+5, DISPLAY~, DISPLAY+6, DISPLAY+7, DISPLAY+8, DISPLAY+9 , DISPLAY+10, DISPLAY+11, DISPLAY+12, DISPLAY+14 |
E1PHARM | PROCESS+1~, PROCESS+11*, PROCESS+12, HEADER+4 |
E1PIEN | PROCESS+1~, PROCESS+7*, GETABSPE+5, GETABSPE+27, PATIENT+7, PATIENT+8, PATIENT+16, PATIENT+33, INSURER+8, INSURER+9 , INSURER+12 |
E1PINFO | PROCESS+1~, PROCESS+5*, PROCESS+6, PROCESS+7, PROCESS+8 |
E1PNAM | PROCESS+1~, PROCESS+8* |
>> ENDDISP | GETDATE+19*, GETDATE+22 |
ENDDT | GETDATE+1~, GETDATE+16*, GETDATE+23 |
FS | CRTE1+2~, CRTE1+8*, HEADER+30, PATIENT+11, PATIENT+20, PATIENT+27, PATIENT+38, PATIENT+43, PATIENT+67, INSURER+4 |
HLDPHARM | GETPHARM+2~, GETPHARM+8*, GETPHARM+9, GETPHARM+13 |
I | RAWTRANS+2~, RAWTRANS+4* |
INS504 | PARSE504~, PARSE504+2, PARSE504+3, PARSE504+4, PARSE504+5, PARSE504+6, PARSE504+7, PARSE504+8, PARSE504+9, PARSE504+10 , PARSE504+11, PARSE504+12, PARSE504+13, PARSE504+14, PARSE504+15, PARSE504+16, PARSE504+17, PARSE504+18, PARSE504+19 |
INS526 | PARSE526~, PARSE526+2, PARSE526+3, PARSE526+4, PARSE526+5, PARSE526+6, PARSE526+7, PARSE526+8, PARSE526+9, PARSE526+12 , PARSE526+13, PARSE526+14, PARSE526+15, PARSE526+16, PARSE526+17, PARSE526+18, PARSE526+19 |
LINECNT | DISPLAY+27~, DISPLAY+28*, DISPLAY+33*, DISPLAY+34*, DISPLAY+35, DISPLAY+39*, DISPLAY+44*, DISPLAY+45*, DISPLAY+46 |
NEWE1 | GETABSPE+3~, GETABSPE+6*, GETABSPE+13*, GETABSPE+16 |
PATDONE | GETPAT+2~, GETPAT+6*, GETPAT+14, GETPAT+17* |
PDONE | GETPHARM+2~, GETPHARM+4*, GETPHARM+15, GETPHARM+18* |
PHARM | GETPHARM+2~, GETPHARM+4*, GETPHARM+6*, GETPHARM+8 |
PHMCNT | GETPHARM+2~, GETPHARM+4*, GETPHARM+7*, GETPHARM+8, GETPHARM+9 |
POP | MAIN+1~, MAIN+2*, MAIN+4, PROCESS+3*, PROCESS+25* |
RESULT | PRMPT+2~, PRMPT+5*, PRMPT+6 |
SS | CRTE1+2~, CRTE1+8*, HEADER+30, PATIENT+67 |
STATUS | PRMPT+2~, PRMPT+9*, PRMPT+10 |
STCODE | PATIENT+5~ |
>> TDATA | PROCESS+24, CRTE1+6*, HEADER+8*, HEADER+10*, HEADER+13*, HEADER+15*, HEADER+18*, HEADER+23*, HEADER+26*, HEADER+30* , PATIENT+11*, PATIENT+20*, PATIENT+27*, PATIENT+38*, PATIENT+43*, PATIENT+67*, INSURER+4*, INSURER+17*, RAWTRANS+4 |
U | PROCESS+7, PROCESS+8, GETPHARM+13, HEADER+13, HEADER+18, PATIENT+19, PATIENT+24, PATIENT+34, PATIENT+66 |
WP | RAWTRANS+2~ |
WP( | RAWTRANS+4* |
X | GETPAT+3~, GETPAT+4*, GETPAT+17, GETDATE+9, GETDATE+10, GETDATE+16, GETDATE+17, GETABSPE+3~, GETABSPE+5*, GETABSPE+27* |
X1 | GETDATE+1~, GETDATE+7*, GETDATE+14* |
X2 | GETDATE+1~, GETDATE+7*, GETDATE+14* |
XDATA | HEADER+2~, HEADER+4*, HEADER+13, HEADER+18, PATIENT+3~, PATIENT+7*, PATIENT+19, PATIENT+24, PATIENT+34 |
XDATA11 | PATIENT+3~, PATIENT+8*, PATIENT+66 |
Y | GETPAT+2~, GETPAT+7*, GETPAT+17, GETPAT+21, GETPHARM+2~, GETPHARM+4*, GETPHARM+18, GETPHARM+20, GETDATE+3*, GETDATE+5 , GETDATE+10*, GETDATE+12, GETDATE+17*, GETDATE+19, GETABSPE+3~, GETABSPE+11, GETABSPE+31, PRMPT+23, DATE+3*, DATE+5 |
ZERR | RAWTRANS+2~, RAWTRANS+6 |