;gets the type of form to print from the clinic setup - sets FORMS
DEVICE
;
; -- always ask with param as default
CLINIC
;asks the user for the clinic
EXIT
;
WI(DFN,IBCLINIC,IBAPPT)
; -- procedure
; -- print encounter form for walk-ins (not tested)
WIQ
ERROR
;prints a message
MAIN(WITHDATA)
;
; -- prints encounter forms, either with patient data for a patient
; with no appointment (in which case it uses time of printing as
; the appointment time) or without patient data (only if a form
; is defined for the clinic for such use)
; $G(WITDATA) if the form should be printed with data
; 0 if a blank form for use without patient data should be printed