Title: Make a module that will handle all the PDF generation requirements of the software autonomously | Project proposal
Mentors: Tony McCormick, Nilesh Prasad
Organization: LibreHealth
The software used a lot of exteranal libraries like HTML2PDF, MPDF, FPDF and TCPDF. My aim for the project was to make a custom PHP library based on TCPDF as backbone to create PDFs autonomously according to the data present in the database and the choices made by the user.
Commit 1
a)I added Test Download buttons.
b)Code for Patient billing, communications, demographics, history, immunizations, insurance, notes, transactions.
c)Code for selector.php. This is the main file which selects the above mentioned codes according to the user selections.
Commit 2
a)Added the code for procedure orders.
b)Updated selector.php for procedure orders code.
Commit 3
a)Added xlt() functions.
b)Added proper standard LibreEHR headers on all new files.
c)While testing Mua Laurent told me that there were some errors in patient history code. I found that the HTML tags were not closed properly due to which the PDF was not created. I rewrote the history code from scratch again.
d)Code for clinical instructions, patient issues and procedures.
e)Updated selector.php.
Commit 4
a)This was accidental commit to remove merge conflict. Later Mua Laurent told me that merge conflicts will be removed after GSOC.
Commit 5
a)In initial testing, error was found in demographics.php. I Rewrote the whole code for it from scratch.
b)Added diagnosis code support for patient history.
c)Added code for patient encounter, soap, speech dictation and vitals.
d)Updated selector.php.
Commit 6
a)Removed old download buttons.
b)Improved date checking logic.
c)Added facility for Procedures orders PDF to be downloaded by the use of two separate buttons.
d)Added the code in selector.php to serve PDFs in two formats: Download or Inline(in browser itself).
- Writing the code to generate PDFs for Review of Systems and Review of Systems Checks.
- Adding the code with Trodrige's project.
- Github profile: 2208Abhinav
- Blog posts: Blog Post 1, Blog Post 2, Blog Post 3, Blog Post 4
- Project PR: lh-ehr
- Discussion forums for the project: forums@LibreHealth