Skip to content

Commit

Permalink
WIP openemr#7480 openemr#7494 email prescriptions
Browse files Browse the repository at this point in the history
Currently a work in progress.  This supports sending a prescription as a
pdf to an email address, sending the prescription inline as a formatted
html email, and sending the prescription in the native mail client using
the mailto: protocol.  Mailto: doesn't support email attachments so the
pdf option currently doesn't work with this.

I've looked at potentially generating an EML file that will have the pdf
file inlined to support that sending option.  If that doesn't work I'll
need to disable the pdf option when the Use Default Mail Client option
is selected.

When the Default Mail Client is selected (openemr#7494) then the mailto link is
generated and if the browser or operating system has a mailto: protocol
handler setup it will launch the registered handler with the subject and
email body populated.

I need to test on prescription lists greater than 3 (for handling with
paginations).

I also need to make sure I haven't broken any of the faxing and other
prescription sending functionality.

Also, if anyone has customized these views this will have an impact on
them so putting this PR out there for people to comment on as needed.
  • Loading branch information
adunsulag committed Jun 18, 2024
1 parent 434b273 commit b0f573e
Show file tree
Hide file tree
Showing 3 changed files with 530 additions and 258 deletions.
Loading

0 comments on commit b0f573e

Please sign in to comment.