SDRRISRU ;ALB/MAH,BWF,JAS,JHC - Recall Reminder Utilities ;JAN 07, 2026
Source file <SDRRISRU.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 |
|---|---|---|
| OPENSLOT(SDRRIEN,SDRRST,SDRRND) | ; Function returns the number of open (available)
; slots at the clinic during the time period. ; SDRRIEN - IEN of clinic in file #44 ; SDRRST - (optional) start checking on this date (default=today) ; SDRRND - (optional) end of time period (default=last day of month) |
|
| AVAIL(SDRRPAT) | ; Given pattern, returns number of available slots.
; Check the pattern for available slots ; 0-9 and j-z = available slots where j=10, k=11...z=26 ; $A(1)=49 $A(9)=57 $A("j")=106 $A("z")=122 |
|
| YEAR | ; Set-up 1 year dates
; This array is used for available appointments |
|
| DELETE | ; This entry point is invoked by the new style xref A66201 on the .01 field of file 403.5
|
|
| DELAPPT(SDRRIEN,APPT,CLIN1) | ; Record deleted from Recall List because of appointment.
|
|
| DELUSER(SDRRIEN) | ; Record deleted by a user.
|
|
| DELSET(SDRRIEN,SDRRFDA) | ;
|
|
| GETAPPT(RECALLIEN) | ;
|
| Name | Field # of Occurrence |
|---|---|
| FILE^DIE | DELSET+27 |
| UPDATE^DIE | DELSET+17, DELSET+24 |
| $$ROOT^DILFD | GETAPPT+4 |
| $$GET1^DIQ | GETAPPT+3, GETAPPT+7 |
| $$DOW^XLFDT | YEAR+6 |
| $$FMADD^XLFDT | OPENSLOT+10, OPENSLOT+12, OPENSLOT+13, YEAR+5 |
| $$NOW^XLFDT | DELAPPT+5, DELUSER+2, DELSET+21 |
| $$SCH^XLFDT | OPENSLOT+9 |
| $$CTRL^XMXUTIL1 | DELSET+6, DELSET+23 |
| FileNo | Call Tags |
|---|---|
| ^SD(403.5 - [#403.5] | GET1^DIQ, ROOT^DILFD |
| ^SDEC(409.84 - [#409.84] | GET1^DIQ |
| Name | Line Occurrences (* Changed, ! Killed) |
|---|---|
| ^HOLIDAY - [#40.5] | YEAR+7 |
| ^SC - [#44] | OPENSLOT+15, OPENSLOT+17, OPENSLOT+20, OPENSLOT+24, OPENSLOT+27, OPENSLOT+28 |
| ^SD(403.5 - [#403.5] | DELSET+2, DELSET+3 |
| ^SDEC(409.84 - [#409.84] | GETAPPT+6 |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| APPT | DELETE+1, DELETE+2, DELAPPT~, DELAPPT+2 |
| APPTIEN | DELSET+1~, DELSET+26*, DELSET+27, GETAPPT+1~, GETAPPT+6*, GETAPPT+7, GETAPPT+8 |
| CAFDA | DELSET+20~, DELSET+24! |
| CAFDA( | DELSET+21*, DELSET+22*, DELSET+23* |
| CK | OPENSLOT+6~ |
| CLIN1 | OPENSLOT+6~, DELETE+1, DELETE+2, DELAPPT~, DELAPPT+3 |
| DA | OPENSLOT+6~, DELETE+3 |
| DFN | OPENSLOT+6~ |
| DT | OPENSLOT+7 |
| DUZ | DELAPPT+6, DELUSER+3 |
| EAS | DELSET+1~, DELSET+3*, DELSET+16 |
| FDA | DELSET+1~, DELSET+27! |
| FDA( | DELSET+27* |
| FILEROOT | GETAPPT+1~, GETAPPT+4*, GETAPPT+5 |
| FULLREF | GETAPPT+1~, GETAPPT+5*, GETAPPT+7 |
| I | AVAIL+4~, AVAIL+7* |
| NEWIEN | DELSET+1~ |
| NEWIEN(1 | DELSET+18 |
| RECALLIEN | GETAPPT~, GETAPPT+3, GETAPPT+5 |
| RREMIEN | DELSET+1~, DELSET+18*, DELSET+21, DELSET+22, DELSET+23, DELSET+27 |
| SDPATIEN | GETAPPT+1~, GETAPPT+3*, GETAPPT+6 |
| SDRRCHAR | AVAIL+4~, AVAIL+7*, AVAIL+8, AVAIL+9 |
| SDRRCNT | AVAIL+4~, AVAIL+5*, AVAIL+8*, AVAIL+9*, AVAIL+10 |
| SDRRDA | OPENSLOT+5~, DELETE+1, DELETE+2 |
| SDRRDOW | OPENSLOT+16~, OPENSLOT+17* |
| SDRRDT | OPENSLOT+5~, OPENSLOT+21*, OPENSLOT+22*, OPENSLOT+23, OPENSLOT+24, OPENSLOT+26, OPENSLOT+27, YEAR+2~, YEAR+3*, YEAR+4 , YEAR+5*, YEAR+6, YEAR+7 |
| SDRRFDA | DELAPPT+1~, DELAPPT+8, DELUSER+1~, DELUSER+5, DELSET~ |
| SDRRFDA( | DELAPPT+2*, DELAPPT+3*, DELAPPT+5*, DELAPPT+6*, DELAPPT+7*, DELUSER+2*, DELUSER+3*, DELUSER+4*, DELSET+4*, DELSET+5* , DELSET+6*, DELSET+7*, DELSET+8*, DELSET+9*, DELSET+10*, DELSET+11*, DELSET+12*, DELSET+13*, DELSET+14*, DELSET+15* , DELSET+16* |
| SDRRFTR | OPENSLOT+6~, DELAPPT+7, DELUSER+4 |
| SDRRHOL | OPENSLOT+5~, OPENSLOT+20*, OPENSLOT+23 |
| SDRRI | OPENSLOT+16~, OPENSLOT+17*, YEAR+2~, YEAR+4* |
| SDRRIEN | OPENSLOT~, OPENSLOT+15, OPENSLOT+17, OPENSLOT+20, OPENSLOT+24, OPENSLOT+27, OPENSLOT+28, DELAPPT~, DELAPPT+8, DELUSER~ , DELUSER+5, DELSET~, DELSET+2, DELSET+3, DELSET+26 |
| SDRRND | OPENSLOT~, OPENSLOT+8, OPENSLOT+9*, OPENSLOT+10*, OPENSLOT+11, OPENSLOT+12*, OPENSLOT+22, YEAR+4 |
| SDRRNOAV | OPENSLOT+5~, OPENSLOT+14*, OPENSLOT+17*, OPENSLOT+18 |
| SDRRPAT | AVAIL~, AVAIL+6*, AVAIL+7 |
| SDRRREC | DELSET+1~, DELSET+2*, DELSET+4, DELSET+5, DELSET+6, DELSET+7, DELSET+8, DELSET+9, DELSET+10, DELSET+11 , DELSET+12, DELSET+13, DELSET+14, DELSET+15, DELSET+22, DELSET+23 |
| SDRRST | OPENSLOT~, OPENSLOT+7*, OPENSLOT+9, OPENSLOT+11, OPENSLOT+13*, OPENSLOT+15, OPENSLOT+17, OPENSLOT+21, YEAR+3 |
| SDRRT | OPENSLOT+5~, OPENSLOT+26*, OPENSLOT+27, OPENSLOT+28 |
| SDRRTOT | OPENSLOT+5~, OPENSLOT+21*, OPENSLOT+29*, OPENSLOT+30 |
| SDRRTPDT | OPENSLOT+5~, OPENSLOT+24*, OPENSLOT+25, OPENSLOT+28*, OPENSLOT+29 |
| SDRRTPT | OPENSLOT+5~, OPENSLOT+27*, OPENSLOT+28 |
| SDRRYEAR | OPENSLOT+19~ |
| SDRRYEAR( | OPENSLOT+22, OPENSLOT+23, OPENSLOT+26, YEAR+6*, YEAR+7* |
| TRGTAPPT | GETAPPT+1~, GETAPPT+2*, GETAPPT+8*, GETAPPT+9 |
| U | OPENSLOT+20, OPENSLOT+23, YEAR+7, DELSET+4, DELSET+5, DELSET+6, DELSET+7, DELSET+8, DELSET+9, DELSET+10 , DELSET+11, DELSET+12, DELSET+13, DELSET+14, DELSET+15, DELSET+22, DELSET+23, GETAPPT+5 |