;gets the type of form to print from the clinic setup - sets FORMS
ASKFORM
;asks to select single form
DEVICE
;
CLINIC
;asks the user for the clinic
EXIT
;
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