; use this for DX, Staff, Resident secondaries
; set activity log's subfiles to store any secondaries
ANYDX(ARRAY)
; called from RARTE5
; input ARRAY name to store all DXs for this case
; output:
; =1 if one or more diag codes
; =0 if no diag code
; ARRAY() stores diag codes as merged from case
ALERT
; for Outside Report, ck if new/changed diags require alert
; this is called from RARTE5 each time an outside report is edited
PSET
;delete primary and secondary data
MARKDEL
; set field 5 to "X" to mark rpt as deleted
; also update activity log, send report deletion bulletin, store then delete
; associated DX, Staff, Resident data