APSEWMSG ;IHS/DSD/LWJ - Patient Drug Education Database expiration message [ 11/13/2003 11:04 AM ]
Source file <APSEWMSG.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| WARNMSG | ; This subroutine will generate the message that is sent
; one and two weeks prior to the First DataBank Patient Education ; Database expiring, and daily once the database has expired. ; APSEMTP will indicate which message type should be sent (two ; weeks prior, one week prior, or daily message). |
|
| CONVDAT(VADATE,NUMDAYS) | ||
| MSGHED | ; this is the header portion of all messages
|
|
| MSGEND(APSETIM,APSEDATE) | ; this is the final portion of the messages
|
|
| MSGMID2 | ; this is the middle portion of the message displayed 2 weeks out
|
|
| MSGMID1 | ; this is the middle portion of the message displayed 1 week out
|
|
| TEST | ; this routine is used to test the messages
|
|
| MSGMIDD | ; this is the middle portion of the daily message
|
|
| EP | ;EP -this subroutine will decipher if a warning message needs to be
; sent and if one does need to be sent, which message should display. |
| 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 |
|
| Routine Call |
|
| Name | Line Occurrences (* Changed, ! Killed) |
|---|---|
| ^APSAPPI("EXPWARN" | EP+10, MSGEND+27, MSGEND+29* |
| Name | Line Occurrences |
|---|---|
| $$CONVDAT | EP+17, EP+19, EP+20 |
| $$MSGEND | WARNMSG+10 |
| EP | TEST+4 |
| MSGHED | WARNMSG+6 |
| MSGMID1 | WARNMSG+8 |
| MSGMID2 | WARNMSG+7 |
| MSGMIDD | WARNMSG+9 |
| WARNMSG | EP+25, EP+28, EP+31 |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| APSECDT | EP+5~ |
| APSEDATE | MSGEND~, MSGEND+28 |
| APSEDT15 | EP+6~, EP+19*, EP+22, EP+24 |
| APSEDT7 | EP+6~, EP+20*, EP+24, EP+27, EP+28 |
| APSEEDT | EP+4~, EP+12*, EP+19, EP+20, EP+27, EP+31 |
| APSEMTP | EP+7~, EP+25*, EP+28*, EP+31*, WARNMSG+7, WARNMSG+8, WARNMSG+9 |
| APSEREC | MSGEND+1~, MSGEND+27*, MSGEND+28*, MSGEND+29 |
| APSETDY | EP+6~, EP+15*, EP+17*, EP+22, EP+24, EP+27, EP+31, WARNMSG+10 |
| APSETIM | MSGEND~, MSGEND+22 |
| APSEWEX | EP+5~, EP+9*, WARNMSG+10* |
| APSEWREC | EP+4~, EP+10*, EP+11, EP+12, EP+13 |
| APSEWST | EP+4~, EP+13*, EP+25, EP+28, EP+31 |
| >> COUNT | TEST+4*, EP+17 |
| DIR | MSGEND+1~ |
| DIR("T" | MSGEND+22* |
| DIR(0 | MSGEND+22* |
| DUOUT | MSGEND+1~, MSGEND+2*, MSGEND+24*, MSGEND+31 |
| I | TEST+1~, TEST+4* |
| NUMDAYS | CONVDAT~, CONVDAT+5 |
| TEST | TEST+2~, TEST+3*, EP+17 |
| VADATE | CONVDAT~, CONVDAT+5 |
| X | EP+7~, EP+15, CONVDAT+4~, CONVDAT+8 |
| X1 | CONVDAT+4~, CONVDAT+5* |
| X2 | CONVDAT+4~, CONVDAT+5* |