RCHRFSUT ;SLC/SS - High Risk for Suicide Patients Report Utilities ; JAN 22,2021@14:32
Source file <RCHRFSUT.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 |
Package | Total | Caller Graph |
---|---|---|
Accounts Receivable | 4 | PRCABJ RCHRFS RCHRFS1 RCHRFS2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
HRFSDATE() | ;
|
|
PATINFO(DFN) | ;
|
|
HRFSINFO(RCDFN) | ;
|
|
HRFSEVER(RCDFN) | ;
|
|
HASHRFS(RCDFN,RCSTRDT,RCENDDT) | ;
|
|
HRFSDTS(RCDFN,RCDOS) | ;
|
|
CHKACT(RCARR,RCDATE) | ;
|
|
FNDACT(RCARR,DTTIME,DIRECT,USEASIS) | ;
|
|
FNDINACT(RCARR,DTTIME,DIRECT,USEASIS) | ;
|
|
PRFHIST(RCDFN,RETARR,RCSTRDT,RCENDDT) | ;
|
|
CHKHRFS(RCDFN,RCSTDT,RCENDDT) | ; Function to determine status of the HRfS flag
|
Name | Field # of Occurrence |
---|---|
$$GETALL^DGPFAA | HRFSEVER+3, PRFHIST+6 |
$$GETASGN^DGPFAA | HRFSEVER+10, PRFHIST+10 |
$$GETALLDT^DGPFAAH | PRFHIST+16 |
$$GETHIST^DGPFAAH | PRFHIST+21 |
$$GETINF^DGPFAPIH | CHKHRFS+12 |
$$GETFLAG^DGPFAPIU | CHKHRFS+9 |
$$GET1^DIQ | HRFSDATE+1 |
EN^DIQ1 | PATINFO+2 |
$$FMTE^XLFDT | HRFSDTS+17, HRFSDTS+18 |
$$STRIP^XLFSTR | HRFSDTS+17, HRFSDTS+18 |
FileNo | Call Tags |
---|---|
^IBE(350.9 - [#350.9] | GET1^DIQ |
Name | Line Occurrences |
---|---|
$$CHKACT | HRFSDTS+9, PRFHIST+34 |
$$FNDACT | HRFSDTS+13 |
$$FNDINACT | HRFSDTS+15 |
$$HRFSEVER | HRFSINFO+1 |
$$PRFHIST | HASHRFS+2, HRFSDTS+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> DA | PATINFO+2* |
DFN | PATINFO~, PATINFO+2, PATINFO+3, PATINFO+4 |
>> DIC | PATINFO+2* |
>> DIQ | PATINFO+2* |
>> DIQ(0 | PATINFO+2* |
DIRECT | FNDACT~, FNDACT+3, FNDACT+4, FNDACT+5, FNDINACT~, FNDINACT+3, FNDINACT+4, FNDINACT+5 |
>> DR | PATINFO+2* |
DT | CHKHRFS+6 |
DTTIME | CHKACT+1~, CHKACT+3*, CHKACT+4, CHKACT+5, FNDACT~, FNDACT+2, FNDINACT~, FNDINACT+2 |
DTTM | CHKACT+1~, CHKACT+4*, CHKACT+5*, CHKACT+6, FNDACT+1~, FNDACT+2*, FNDACT+3*, FNDACT+4*, FNDACT+5*, FNDACT+6 , FNDINACT+1~, FNDINACT+2*, FNDINACT+3*, FNDINACT+4*, FNDINACT+5*, FNDINACT+6 |
RCACTDT | HRFSDTS+1~, HRFSDTS+11, HRFSDTS+13*, HRFSDTS+15, HRFSDTS+17* |
RCARFLAG | PRFHIST+1~, PRFHIST+8!, PRFHIST+10 |
RCARFLAG("FLAG" | PRFHIST+11 |
RCARR | CHKACT~, FNDACT~, FNDINACT~, CHKHRFS+2~ |
RCARR("HIGH R | ISK FOR SUICIDE" , CHKACT+5, FNDACT+5, FNDINACT+5 |
RCARRH | PRFHIST+1~, PRFHIST+19!, PRFHIST+21 |
RCARRH("ACTION" | PRFHIST+22, PRFHIST+30 |
RCARRH("ASSIGNDT" | PRFHIST+28, PRFHIST+29, PRFHIST+30 |
RCASGNDT | PRFHIST+1~, PRFHIST+29*, PRFHIST+30 |
RCCNT | PRFHIST+1~, PRFHIST+17*, PRFHIST+25* |
RCDATE | CHKACT~, CHKACT+3 |
RCDFN | HRFSINFO~, HRFSINFO+1, HRFSEVER~, HRFSEVER+3, HASHRFS~, HASHRFS+2, HRFSDTS~, HRFSDTS+5, PRFHIST~, PRFHIST+6 , CHKHRFS~, CHKHRFS+1, CHKHRFS+12 |
RCDOS | HRFSDTS~, HRFSDTS+5, HRFSDTS+9, HRFSDTS+13 |
RCDTCHK | PRFHIST+1~, PRFHIST+2*, PRFHIST+4*, PRFHIST+28, PRFHIST+34 |
RCDTTM | PRFHIST+1~, PRFHIST+18* |
RCENDDT | HASHRFS~, HASHRFS+2, PRFHIST~, PRFHIST+4, PRFHIST+28, CHKHRFS~, CHKHRFS+6*, CHKHRFS+12 |
RCFLAG | CHKHRFS+2~, CHKHRFS+9* |
RCFLAGS | HRFSEVER+1~, HRFSEVER+10 |
RCFLAGS("FLAG" | HRFSEVER+11 |
RCFLGNM | PRFHIST+1~, PRFHIST+11*, PRFHIST+12, PRFHIST+13, PRFHIST+30 |
RCFOUND | CHKACT+1~, CHKACT+2*, CHKACT+5, CHKACT+6*, CHKACT+7*, CHKACT+8 |
RCIEN | HRFSEVER+1~, HRFSEVER+7*, HRFSEVER+8*, HRFSEVER+10 |
RCIEN13 | PRFHIST+1~, PRFHIST+7*, PRFHIST+10, PRFHIST+16 |
RCIEN14 | PRFHIST+1~, PRFHIST+18*, PRFHIST+21 |
RCIENS | HRFSEVER+1~, HRFSEVER+3, PRFHIST+1~, PRFHIST+14!, PRFHIST+16 |
RCIENS( | HRFSEVER+8, PRFHIST+18 |
RCINACT | HRFSDTS+1~, HRFSDTS+11, HRFSDTS+15*, HRFSDTS+18* |
RCINRANG | PRFHIST+1~, PRFHIST+2*, PRFHIST+28*, PRFHIST+34*, PRFHIST+36 |
RCLASTCH | PRFHIST+1~, PRFHIST+2*, PRFHIST+31*, PRFHIST+36 |
RCPAT | PATINFO+1~ |
RCPAT(2 | PATINFO+3, PATINFO+4 |
RCREF | CHKHRFS+2~, CHKHRFS+9*, CHKHRFS+10, CHKHRFS+12 |
RCRET | HRFSEVER+1~, HRFSEVER+3*, HRFSEVER+5, HRFSEVER+7*, HRFSEVER+8, HRFSEVER+11*, HRFSEVER+12, HASHRFS+1~, HASHRFS+2*, HASHRFS+3 , PRFHIST+1~, PRFHIST+2*, PRFHIST+6 |
RCRET( | PRFHIST+7 |
RCSTDT | CHKHRFS~, CHKHRFS+4*, CHKHRFS+12 |
RCSTRDT | HASHRFS~, HASHRFS+2, PRFHIST~, PRFHIST+4, PRFHIST+28, PRFHIST+34 |
RCZ | HRFSDTS+1~, PRFHIST+1~, PRFHIST+22*, PRFHIST+24 |
RCZ2 | HRFSDTS+1~ |
RESULT | CHKHRFS+2~, CHKHRFS+12*, CHKHRFS+13 |
RETARR | HASHRFS+1~, HASHRFS+2, HRFSDTS+1~, HRFSDTS+5, HRFSDTS+7, HRFSDTS+9, HRFSDTS+13, HRFSDTS+15, PRFHIST~, PRFHIST+34 |
RETARR( | PRFHIST+30* |
RETARR("HIGH | RISK FOR SUICIDE" , CHKACT+6, FNDACT+5, FNDINACT+5, PRFHIST+31 |
RETVAL | HRFSDTS+1~, HRFSDTS+3*, HRFSDTS+7, HRFSDTS+9*, HRFSDTS+11 |
U | PATINFO+4, HRFSEVER+11, HRFSDTS+11, CHKACT+6, FNDACT+5, FNDINACT+5, PRFHIST+11, PRFHIST+22, PRFHIST+30, PRFHIST+36 |
USEASIS | FNDACT~, FNDACT+3, FNDACT+4, FNDINACT~, FNDINACT+3, FNDINACT+4 |