GMRAUTL1 ;HIRMFO/WAA-ALLERGY UTILITIES ;12/04/92
Source file <GMRAUTL1.m>
| Package | Total | Call Graph | 
|---|---|---|
| Kernel | 3 | (,$$S)^%ZTLOAD $$FMTE^XLFDT $$PROD^XUPROD | 
| VA Fileman | 3 | WP^DDBR $$TEST^DDBRT ^DIR | 
| Adverse Reaction Tracking | 1 | (CLOSE,DEV)^GMRAUTL | 
| Registration | 1 | ($$TESTPAT,1,KVAR)^VADPT | 
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| PR | ; This is a print utility for the reference card for IRM | |
| VAD(DFN,DAT,LOC,NAM,SEX,SSN,RB,PRO,PID) | ; Call to VADPT ; This call is a generic call to 1^VADPT ; Input: ; 1 DFN = Patient Internal entry number in the Patient File ; 2 DAT = Date for lookup | |
| STPCK() | ; This is to check to see if the user wanted to stop the print | |
| LP1 | ; Main loop | |
| DATE(DATE) | ; This Ex-Function will date the date from the DATE ; and convert it to the old DD("DD") style format ; it returns the answer in DATE | |
| PRDTST(GMRADFN) | ; GMRA*4*33 - Remove Test Patients from Live Reports ; This function will return 0 if the patient should not print on the report, and 1 if the patient ; should appear on the report. This function will allow all patients to print on the report if the ; report is run in a test environment. | |
| BR | ; This is a online reference card entry point | |
| PR1 | ; Print out the card | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
 | 
| Function Call: WRITE | 
 | 
| Function Call: WRITE | 
 | 
| Function Call: WRITE | 
 | 
| Function Call: WRITE | 
 | 
| Routine Call | 
 | 
| FileNo | Call Tags | 
|---|---|
| ^GMRD(120.87 - [#120.87] | WP^DDBR | 
| Name | Line Occurrences (* Changed, ! Killed) | 
|---|---|
| ^GMRD(120.87 - [#120.87] | BR+7, PR1+3, LP1+1, LP1+2 | 
| Name | Line Occurrences | 
|---|---|
| PR1 | PR+7 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| DAT | VAD~, VAD+16 | 
| DATE | DATE~, DATE+4, DATE+5*, DATE+6 | 
| DFN | VAD~, VAD+15* | 
| DIR | LP1+5~ | 
| DIR(0 | LP1+5* | 
| DIROUT | LP1+5~ | 
| DIRUT | LP1+5~ | 
| DTOUT | LP1+5~ | 
| DUOUT | LP1+5~ | 
| GMRACD | PR1+1~, PR1+3*, LP1+1, LP1+2 | 
| GMRADFN | PRDTST~, PRDTST+5, PRDTST+7 | 
| GMRALN | PR1+1~, PR1+4*, LP1+1*, LP1+2 | 
| GMRAOUT | PR+1*, PR1+1~, PR1+4*, LP1+1, LP1+5* | 
| GMRAZIS | PR+1! | 
| IO | PR+7 | 
| IO("Q" | PR+2 | 
| IO(0 | PR+7 | 
| IOF | PR1+2, LP1+5, LP1+6 | 
| IOSL | LP1+4 | 
| IOST | PR1+2, LP1+5 | 
| LOC | VAD~, VAD+18* | 
| NAM | VAD~, VAD+18* | 
| PID | VAD~, VAD+19* | 
| >> POP | PR+1 | 
| PRO | VAD~, VAD+20* | 
| RB | VAD~, VAD+19* | 
| SEX | VAD~, VAD+18* | 
| SSN | VAD~, VAD+19* | 
| U | VAD+18, VAD+19, VAD+20 | 
| VA | VAD+21! | 
| VA("PID" | VAD+19 | 
| >> VADM(1 | VAD+18 | 
| >> VADM(2 | VAD+19 | 
| >> VADM(5 | VAD+18 | 
| >> VAIN(2 | VAD+20 | 
| >> VAIN(4 | VAD+18 | 
| >> VAIN(5 | VAD+19 | 
| VAINDT | VAD+16*! | 
| VAROOT | VAD+21! | 
| X | BR+6~, BR+7*, BR+8, PR1+1~, LP1+2*, LP1+3 | 
| Y | DATE+3~, DATE+4*, DATE+5 | 
| >> ZTDESC | PR+4* | 
| ZTREG | STPCK+3! | 
| >> ZTRTN | PR+3* | 
| >> ZTSAVE("GMAEN" | PR+3* | 
| >> ZTSAVE("GMAST" | PR+3* | 
| >> ZTSAVE("GMRAOUT" | PR+3* | 
| >> ZTSK | PR+5 | 
| >> ZTSTOP | STPCK+1*, STPCK+3*, STPCK+5 |