;Get all subscribers (not associated with application)... To be excluded as recipients..
; Get all logical links to be in business, so we can control flow of messages
GETHLP(RAEID,HLP,ADR)
; Get excluded subcribers set into HLP array
SETVARS
; Setup key Rad/Nuc Med variables
CHSUM
;CHECKSUM
RESEND(RADFN,RADTI,RACNI)
; re-send exam message(s) to HL7 subscribers
; for every 10 messages sent, make sure queue is not clogged... $$HANG
STOP
;
GETAP(XX)
;
1
2
;user selects the application
RAED(RADFN,RADTI,RACNI)
; identify correct ^RAHLRPC entry point(s)
GETSUM(RABD,RAED)
; Get number of exams for period called from RAHLR RAHLR1 RAHLRPT RAHLRPT1
HANG()
; scan all logical links to see if queue is bigger than 100