SDAMA305 ;BPOIFO/ACS-Filter API Get Data ; 6/21/05 1:50pm
Source file <SDAMA305.m>
| Package | Total | Call Graph | 
|---|---|---|
| Registration | 1 | ELIG^VADPT | 
| Scheduling | 1 | $$STATUS^SDAMA308 | 
| VA Fileman | 1 | $$GET1^DIQ | 
| Package | Total | Caller Graph | 
|---|---|---|
| Scheduling | 3 | SDAMA302 SDAMA303 SDAMA308 | 
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| GETSTOP(SDCLIEN) | ;Primary Stop Code, Credit Stop Code, Non-Count ; return codes or -1 if bad clinic | |
| 24 | ;Auto-Rebooked Appt. Date/Time | |
| 25 | ;No-Show/Cancel Date/Time | |
| 26 | ;RSA Appointment ID | |
| 27 | ;2507 Request IEN | |
| 20 | ;X-Ray Date/time | |
| 21 | ;Lab Date/time | |
| 22 | ;Status ; (Status IEN; Status Description; Print Status; Checked In Date/Time; ; Checked Out Date/Time; Admission Movement IEN) | |
| 23 | ;X-Ray Films | |
| 28 | ;Data Entry Clerk DUZ and Name | |
| 29 | ;No-Show/Cancelled By DUZ and Name | |
| 1 | ;Appt date/time | |
| 3 | ;Appt Status and Status Description | |
| 2 | ;Clinic IEN and Name | |
| 5 | ;Length of Appt | |
| 4 | ;Patient IEN and Name | |
| 7 | ;Overbook (return null if appt cancelled) | |
| 6 | ;Comments | |
| 9 | ;Check-In Date/time | |
| 8 | ;Local & National Eligiblity of Visit Codes and Names | |
| 14 | ;Credit Stop Code IEN and AMIS STOP CODE | |
| 11 | ;Check-Out date/time | |
| 10 | ;Appt Type IEN and Name | |
| 13 | ;Primary Stop Code IEN and AMIS STOP CODE | |
| 12 | ;Outpatient Encounter | |
| 15 | ;Workload Non-Count | |
| SETARRAY(SDARRAY) | ; | |
| 17 | ;Desired Date of Appt | |
| 16 | ;Date Appt Made | |
| 19 | ;EKG Date/time | |
| 18 | ;Purpose of Visit | |
| 31 | ;Check-Out User DUZ and Name | |
| 30 | ;Check-In User DUZ and Name | |
| 33 | ;Consult Link IEN | |
| 32 | ;Cancellation Reason IEN and Name | 
| FileNo | Call Tags | 
|---|---|
| ^VA(200 - [#200] | GET1^DIQ | 
| ^SD(409.2 - [#409.2] | GET1^DIQ | 
| Name | Line Occurrences (* Changed, ! Killed) | 
|---|---|
| ^DIC(40.7 - [#40.7] | GETSTOP+11, GETSTOP+12 | 
| ^DIC(8 - [#8] | 8+12 | 
| ^DIC(8.1 - [#8.1] | 8+18 | 
| ^DPT - [#2] | 4+2 | 
| ^SC - [#44] | 2+3, 23+4, GETSTOP+6, GETSTOP+8, GETSTOP+10, GETSTOP+14 | 
| ^SD(409.1 - [#409.1] | 10+3 | 
| ^TMP($J | SETARRAY+19*, SETARRAY+20*, SETARRAY+21*, SETARRAY+24*, SETARRAY+25*, SETARRAY+26* | 
| Name | Line Occurrences | 
|---|---|
| $$GETSTOP | 13+4, 14+3, 15+3 | 
| 3 | 22+4 | 
| @( | SETARRAY+12 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| DFN | 8+1~, 8+7* | 
| SDARRAY | SETARRAY~ | 
| SDARRAY("CNT" | SETARRAY+6*, SETARRAY+14, SETARRAY+15 | 
| SDARRAY("DATE" | SETARRAY+19, SETARRAY+20, SETARRAY+21, SETARRAY+24, SETARRAY+25, SETARRAY+26, 1+1, 22+5 | 
| SDARRAY("DPT0" | 2+1, 3+2, 8+3, 10+1, 12+1, 13+2, 14+1, 15+1, 16+1, 18+1 , 19+1, 20+1, 21+1, 22+5, 23+3, 24+1, 25+1, 28+2, 28+4, 29+1 , 32+1 | 
| SDARRAY("DPT1" | 17+1 | 
| SDARRAY("FLDS" | SETARRAY+3 | 
| SDARRAY("PAT" | SETARRAY+19, SETARRAY+20, SETARRAY+21, 4+1, 8+7, 22+5 | 
| SDARRAY("SC0" | 5+1, 6+1, 7+1, 8+2, 28+4 | 
| SDARRAY("SCC" | 9+1, 11+1, 22+5, 30+1, 31+1 | 
| SDARRAY("SCOB" | 7+2 | 
| SDARRAY("SCONS" | 33+1 | 
| SDARRAY("SORT" | SETARRAY+18, SETARRAY+23 | 
| SDARRAY("SORT1" | SETARRAY+14*, SETARRAY+24, SETARRAY+25, SETARRAY+26 | 
| SDARRAY("SORT2" | SETARRAY+15*, SETARRAY+24, SETARRAY+25, SETARRAY+26 | 
| SDASTS | 8+1~, 8+3*, 8+6 | 
| SDCLIEN | SETARRAY+2~, 13+2*, 13+3, 13+4, 14+1*, 14+2, 14+3, 15+1*, 15+2, 15+3 , GETSTOP~, GETSTOP+3, GETSTOP+4, GETSTOP+6, GETSTOP+8, GETSTOP+10, GETSTOP+14 | 
| SDCODES | 13+1~, 13+4*, 13+5, 14+3*, 14+4, 15+3*, 15+4, GETSTOP+2~, GETSTOP+3*, GETSTOP+6* , GETSTOP+16*, GETSTOP+17 | 
| SDCOUNT | SETARRAY+2~, SETARRAY+4*, SETARRAY+8 | 
| SDCSC | GETSTOP+2~, GETSTOP+12*, GETSTOP+16 | 
| SDCSCIEN | GETSTOP+2~, GETSTOP+10*, GETSTOP+12, GETSTOP+16 | 
| SDDATA | SETARRAY+2~, SETARRAY+9*, 3+3*, 3+5*, 3+6*, 3+7*, 3+8*, 3+9, 7+2*, 7+3 , 8+2*, 8+6, 8+8*, 8+11, 8+12, 8+14, 18+1*, 18+2, 18+3*, 18+4 , 23+7*, 23+8 | 
| SDDV | SETARRAY+2~ | 
| SDDV( | SETARRAY+19, SETARRAY+20, SETARRAY+21, SETARRAY+24, SETARRAY+25, SETARRAY+26, 1+1*, 2+4*, 3+9*, 4+3* , 5+1*, 6+1*, 7+3*, 8+14*, 8+19*, 9+2*, 10+4*, 11+2*, 12+1*, 13+5* , 14+4*, 15+4*, 16+1*, 17+1*, 18+4*, 19+2*, 20+2*, 21+2*, 22+5*, 23+8* , 24+2*, 25+2*, 28+5*, 29+2*, 30+2*, 31+2*, 32+2*, 33+1* | 
| SDELIG | 8+1~, 8+12*, 8+14, 8+16 | 
| SDFIELD | SETARRAY+2~, SETARRAY+10*, SETARRAY+12, SETARRAY+19, SETARRAY+20, SETARRAY+21, SETARRAY+24, SETARRAY+25, SETARRAY+26, 1+1 , 2+4, 3+9, 4+3, 5+1, 6+1, 7+3, 8+14, 8+19, 9+2, 10+4 , 11+2, 12+1, 13+5, 14+4, 15+4, 16+1, 17+1, 18+4, 19+2, 20+2 , 21+2, 22+5, 23+8, 24+2, 25+2, 28+5, 29+2, 30+2, 31+2, 32+2 , 33+1 | 
| SDFLDS | SETARRAY+2~, SETARRAY+3*, SETARRAY+4, SETARRAY+10 | 
| SDI | SETARRAY+2~, SETARRAY+8*, SETARRAY+10 | 
| SDIEN | SETARRAY+2~, SETARRAY+9*, 2+1*, 2+2, 2+3, 2+4, 4+1*, 4+2, 4+3, 8+16* , 8+17, 8+18, 8+19, 10+1*, 10+2, 10+3, 10+4, 23+3*, 23+4 | 
| SDNAME | SETARRAY+2~, SETARRAY+9*, 2+2*, 2+3*, 2+4, 4+2*, 4+3, 8+18*, 8+19, 10+3* , 10+4 | 
| SDNC | GETSTOP+2~, GETSTOP+14*, GETSTOP+15*, GETSTOP+16 | 
| SDPELIG | 8+1~ | 
| SDPELIG(1 | 8+8 | 
| SDPSC | GETSTOP+2~, GETSTOP+11*, GETSTOP+16 | 
| SDPSCIEN | GETSTOP+2~, GETSTOP+8*, GETSTOP+11, GETSTOP+16 | 
| SDRECS | 23+1~, 23+4*, 23+6*, 23+7 | 
| SDSCRTCH | SETARRAY+2~, 9+1*, 9+2, 11+1*, 11+2, 19+1*, 19+2, 20+1*, 20+2, 21+1* , 21+2, 24+1*, 24+2, 25+1*, 25+2, 28+4*, 28+5, 29+1*, 29+2, 30+1* , 30+2, 31+1*, 31+2, 32+1*, 32+2 | 
| SDSTAT | 3+1~, 3+2*, 3+3, 3+5, 3+6, 3+7, 3+8, 28+1~, 28+2*, 28+4 | 
| VAERR | 8+1~, 8+2*, 8+11 | 
| VAROOT | 8+1~, 8+7* |