blurngr wrote on Monday, September 18, 2006:
Rod – Your plan is understandable. I assume then, that there would be some sort of incoming "queue" / folder view that a user of OpenEMR should be able to select the fax, and then a patient, and link the two, along with some notes.
My guestimate would be that this would be best accomplished using a fax2email gateway, rather than worrying about NFS file mounts. Either approach would work … I suppose. But I think the email interface would be a bit cleaner.
Basically, outgoing faxes could be done either as a front-end to sendmail, or it could use the native PHP mail (err, PHP had a native mail sending capability), and documents to be faxed would simply be attached as attachments. Hylafax will then convert them to faxes, and fax them. The Hylafax server could exist on any server … that the user has access to (the same box, or any box).
Coming back in, the faxrcvd script would need to modified (slightly) to convert the incoming fax to PDF [trivial] from TIFF, and then attach it. Where-ever the mail goes to, it would then sit there.
All of that is Hylafax native capabilities. I’d think that you would need to write an interface that can read the mail queue – the actual messages would be of little consequence. You just need the attachments.
Seems simpler from a user POV to setup (they’d need to know the email address to send email to fax, and the mail server / username / password to retrieve faxes).
However, I’ve done the NFS route once or twice myself … you’ll have to write an interface to sendmail, and an interface to the filesystem [2 interfaces] – rather than a mail interface [1 interface].
–
Anthony