FBSHAUT ;WCIOFO/SAB - ENTER/EDIT STATE HOME AUTHORIZATION ;5/19/2014
Source file <FBSHAUT.m>
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 | 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 |
|
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 |