FBSHAUT ;WCIOFO/SAB - ENTER/EDIT STATE HOME AUTHORIZATION ;5/19/2014
Source file <FBSHAUT.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 |
---|---|---|
Fee Basis | 5 | FBPATDAT FBSH CHANGE AUTH FBSH DELETE AUTH FBSH ENTER AUTH FBSH REINSTATE AUTH |
Name | Comments | DBIA/ICR reference |
---|---|---|
ADD | ; Enter new authorization
; Called from option FBSH ENTER AUTH |
|
CHANGE | ; Change existing authorization
; Called from option FBSH CHANGE AUTH |
|
DELETE | ; Delete existing authorization
; Called from option FBSH DELETE AUTH |
|
REINSTA | ; Reinstate deleted authorization
; Called from option FBSH REINSTATE AUTH |
|
SETUP | ; initial setup - returns FBPOP = 1 when problem
|
|
PAT | ; select patient
; returns DFN as patient ien (or undef if not selected) |
|
WRAPUP | ; clean-up
|
|
BDATES | ; get both from and to dates of new authorization
; input ; DFN patient ien in file 161 ; FBPROG program ien in file ; output ; FBBEGDT From Date, FileMan format, null if dates not selected ; FBENDDT To Date, FileMan format, null if dates not selected |
|
TDATE | ; get to date for existing authorization
; input ; DFN patient ien in file 161 ; FBPROG program ien in file ; FBBEGDT From Date, FileMan format ; FBENDDT (optional) current value of To Date ; output ; FBENDDT To Date, FileMan format, null if date not selected |
|
CONFLICT(DFN,PRG,FDT,TDT,NEWAUT) | ; check for conflict with existing auth.
; input ; DFN - patient ien ; PRG - program ien ; FDT - from date in fileman format ; TDT - to date in fileman format ; NEWAUT - optional flag, true if dates for a new authorization ; returns string with value = ; list of authorization iens (delimited by ^) that conflict OR ; null when no conflict found |
|
RCON(DFN,LIST) | ; Report Conflicts
|
|
QMRA(DFN,AUT,TYP) | ; Queue MRA for transmission to Austin
; input ; DFN - patient ien (file 2) ; AUT - authorization ien (file 161.01) ; TYP - type of MRA (A, C, D, or R) ; returns ien of MRA (file 161.26) |
|
POV | ; get purpose of visit
|
Name | Field # of Occurrence |
---|---|
^%DT | BDATES+9, BDATES+13, TDATE+11 |
^DIC | PAT+3 |
FILE^DICN | ADD+20, PAT+13, QMRA+9 |
^DIE | ADD+26, CHANGE+23, REINSTA+23 |
$$GET1^DIQ | RCON+18, RCON+19, RCON+20 |
^DIR | DELETE+16, PAT+6, POV+5 |
^FBAADEM | ADD+9 |
SITEP^FBAAUTL | SETUP+1 |
GETAUTH^FBAAUTL1 | CHANGE+9, DELETE+9, REINSTA+9 |
GETAUTHK^FBAAUTL1 | WRAPUP+4 |
$$FMTE^XLFDT | CHANGE+17, DELETE+15, REINSTA+17, TDATE+10 |
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 |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^FBAAA - [#161] | Classic Fileman Calls |
161.01 | GET1^DIQ |
^FBAA(161.26 - [#161.26] | Classic Fileman Calls |
^DPT - [#2] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD(161 | ADD+19 |
^DPT - [#2] | PAT+4, PAT+5 |
^FBAA(161.8 - [#161.8] | SETUP+4 |
^FBAAA - [#161] | ADD+31, CHANGE+14, CHANGE+25, CHANGE+31, DELETE+14, DELETE+19*, DELETE+22, REINSTA+14, REINSTA+26!, REINSTA+29 , PAT+8, PAT+10, PAT+14, PAT+16, CONFLICT+25, CONFLICT+26, CONFLICT+32, RCON+9, RCON+16 |
Name | Line Occurrences |
---|---|
$$CONFLICT | BDATES+16, TDATE+14 |
$$QMRA | ADD+28, CHANGE+28, DELETE+18, REINSTA+25 |
BDATES | ADD+12, BDATES+17 |
PAT | ADD+5, CHANGE+5, DELETE+5, REINSTA+5, PAT+4, PAT+6, PAT+16 |
POV | ADD+14 |
RCON | BDATES+17, TDATE+15 |
SETUP | ADD+2, CHANGE+2, DELETE+2, REINSTA+2 |
TDATE | CHANGE+19, REINSTA+19, TDATE+15 |
WRAPUP | ADD+32, CHANGE+32, DELETE+23, REINSTA+30 |
Name | Field # of Occurrence |
---|---|
^( | PAT+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | BDATES+8*, BDATES+9!, BDATES+12*, BDATES+13!, TDATE+9*, TDATE+11! |
%DT("A" | BDATES+8*, BDATES+12*, TDATE+9* |
%DT("B" | TDATE+10* |
%DT(0 | BDATES+12*, TDATE+9* |
AUT | QMRA~ |
CNT | RCON+1~, RCON+2* |
DA | ADD+22*, CHANGE+11*, CHANGE+14, CHANGE+25, DELETE+12*, REINSTA+11*, REINSTA+14, PAT+9*, PAT+10, PAT+11 , WRAPUP+3!, POV+1~ |
DA(1 | ADD+17*, ADD+18, ADD+24, CHANGE+11*, CHANGE+14, CHANGE+21, CHANGE+25, DELETE+12*, REINSTA+11*, REINSTA+14 , REINSTA+21 |
DD | ADD+20!, PAT+11!, QMRA+6~, QMRA+9! |
DFN | ADD+3, ADD+5, ADD+17, ADD+28, ADD+31, CHANGE+3, CHANGE+5, CHANGE+11, CHANGE+28, CHANGE+31 , DELETE+3, DELETE+5, DELETE+12, DELETE+14, DELETE+18, DELETE+19, DELETE+22, REINSTA+3, REINSTA+5, REINSTA+11 , REINSTA+25, REINSTA+26, REINSTA+29, PAT+2!, PAT+3*, PAT+4, PAT+5, PAT+8!, PAT+9, PAT+14 , PAT+16, WRAPUP+1!, BDATES+16, BDATES+17, TDATE+14, TDATE+15, CONFLICT~, CONFLICT+25, CONFLICT+26, CONFLICT+32 , RCON~, RCON+9, RCON+14, RCON+16, QMRA~, QMRA+7 |
DIC | ADD+18*, ADD+20!, PAT+3*, PAT+12*, PAT+13!, WRAPUP+3!, QMRA+6~, QMRA+7*, QMRA+9! |
DIC("DR" | QMRA+8* |
DIC("P" | ADD+19* |
DIC(0 | ADD+18*, PAT+3*, PAT+12*, QMRA+7* |
DIE | ADD+24*, ADD+26!, CHANGE+21*, CHANGE+23!, REINSTA+21*, REINSTA+23!, WRAPUP+3! |
DINUM | PAT+11*, PAT+13! |
DIR | DELETE+16!, PAT+6!, WRAPUP+3!, POV+1~ |
DIR("A" | DELETE+15*, PAT+6* |
DIR("B" | PAT+6* |
DIR(0 | DELETE+15*, PAT+6*, POV+4* |
DIROUT | WRAPUP+3! |
DIRUT | PAT+6, WRAPUP+3!, POV+5 |
DLAYGO | ADD+18*, ADD+20!, PAT+12*, QMRA+6~, QMRA+7*, QMRA+9! |
DO | ADD+20!, PAT+11!, QMRA+6~, QMRA+9! |
DR | ADD+25*, CHANGE+22*, REINSTA+22*, WRAPUP+3! |
DT | DELETE+19 |
DTOUT | WRAPUP+3! |
DUOUT | WRAPUP+3! |
FB | WRAPUP+1! |
FBA | RCON+1~ |
FBA( | RCON+11*, RCON+12, RCON+13 |
FBAAADA | ADD+22*, ADD+28, CHANGE+11*, CHANGE+28, DELETE+12*, DELETE+18, DELETE+19, REINSTA+11*, REINSTA+25, REINSTA+26 , WRAPUP+1! |
FBAAASKV | SETUP+2*, WRAPUP+1! |
FBAADDYS | SETUP+2*, WRAPUP+1! |
FBANEW | CHANGE+14*, CHANGE+25*, CHANGE+26, REINSTA+14*, WRAPUP+1! |
FBAOLD | CHANGE+14*, CHANGE+15, CHANGE+26, REINSTA+14*, REINSTA+15, WRAPUP+1! |
FBBEGDT | ADD+15, ADD+17, CHANGE+15*, CHANGE+17, REINSTA+15*, REINSTA+17, WRAPUP+1!, BDATES+9*, BDATES+10*, BDATES+12 , BDATES+13*, BDATES+16, TDATE+9, TDATE+14 |
FBDMRA | CHANGE+12, WRAPUP+2! |
FBENDDT | CHANGE+15*, CHANGE+19, REINSTA+15*, REINSTA+19, WRAPUP+2!, BDATES+9*, BDATES+13*, BDATES+14*, BDATES+16, TDATE+10 , TDATE+11*, TDATE+12*, TDATE+14 |
FBFD | RCON+1~, RCON+9*, RCON+10, RCON+11, RCON+12*, RCON+13 |
FBI | CONFLICT+22~, CONFLICT+25*, CONFLICT+26, CONFLICT+31, CONFLICT+32, CONFLICT+33, RCON+1~, RCON+8*, RCON+9, RCON+11 , RCON+13*, RCON+14, RCON+16 |
FBIEN | RCON+1~, RCON+14*, RCON+18, RCON+19, RCON+20 |
FBOPT | WRAPUP+2! |
FBP | RCON+1~, RCON+8* |
FBPOP | ADD+3, CHANGE+3, DELETE+3, REINSTA+3, SETUP+1, SETUP+9*, WRAPUP+2! |
FBPOV | ADD+15, WRAPUP+2!, POV+2*, POV+6* |
FBPROG | ADD+7, ADD+8*, ADD+10*, ADD+31, CHANGE+7, CHANGE+8*, CHANGE+9*, CHANGE+31, DELETE+7, DELETE+8* , DELETE+9*, DELETE+22, REINSTA+7, REINSTA+8*, REINSTA+9*, REINSTA+29, SETUP+4*, SETUP+5, PAT+16, WRAPUP+2! , BDATES+16, TDATE+14, POV+3 |
FBPROG(0 | ADD+7*, ADD+10, CHANGE+7*, CHANGE+9, DELETE+7*, DELETE+9, REINSTA+7*, REINSTA+9 |
FBRET | CONFLICT+22~, CONFLICT+23*, CONFLICT+31*, CONFLICT+33*, CONFLICT+34 |
FBSITE | WRAPUP+2! |
FBSITE(0 | SETUP+2 |
FBSITE(1 | SETUP+2 |
FBTYPE | WRAPUP+2!, POV+1~, POV+3* |
FBX | ADD+28*, CHANGE+28*, DELETE+18*, REINSTA+25*, WRAPUP+2!, BDATES+16*, BDATES+17, TDATE+14*, TDATE+15 |
FBY | DELETE+11~, DELETE+14*, DELETE+15, CONFLICT+22~, CONFLICT+26*, CONFLICT+27, CONFLICT+28, CONFLICT+31, CONFLICT+33 |
FDT | CONFLICT~, CONFLICT+31, CONFLICT+33 |
FTP | CHANGE+10, CHANGE+11, DELETE+10, DELETE+12, DELETE+14, REINSTA+10, REINSTA+11, WRAPUP+2! |
LIST | RCON~, RCON+2, RCON+8 |
NEWAUT | CONFLICT~, CONFLICT+31 |
PRG | CONFLICT~, CONFLICT+27 |
TDT | CONFLICT~, CONFLICT+33 |
TYP | QMRA~ |
U | ADD+19, CHANGE+12, CHANGE+15, CHANGE+26, DELETE+15, DELETE+19, REINSTA+15, CONFLICT+27, CONFLICT+28, CONFLICT+31 , CONFLICT+32, CONFLICT+33, RCON+2, RCON+8, RCON+9, RCON+16 |
X | ADD+17*, PAT+5*, PAT+6, PAT+11*, WRAPUP+3!, QMRA+7* |
Y | ADD+21, ADD+22, DELETE+16, PAT+3, PAT+6, PAT+8, PAT+10*, WRAPUP+3!, BDATES+9, BDATES+10 , BDATES+13, BDATES+14, TDATE+11, TDATE+12, QMRA+10, POV+6 |