diff --git a/app/Views/Setting/Template/discharge_templates.php b/app/Views/Setting/Template/discharge_templates.php index d4ed4a5..c14fbf8 100644 --- a/app/Views/Setting/Template/discharge_templates.php +++ b/app/Views/Setting/Template/discharge_templates.php @@ -475,14 +475,21 @@ $status = (int) ($edit['status'] ?? 1); toolbar: [ { name: 'document', items: ['Source'] }, { name: 'clipboard', items: ['Undo', 'Redo'] }, - { name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'RemoveFormat'] }, + { name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', 'RemoveFormat'] }, { name: 'paragraph', items: ['NumberedList', 'BulletedList', 'Outdent', 'Indent', 'Blockquote'] }, + { name: 'align', items: ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, { name: 'links', items: ['Link', 'Unlink'] }, - { name: 'insert', items: ['Table', 'HorizontalRule', 'SpecialChar'] }, + { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, { name: 'styles', items: ['Format', 'Font', 'FontSize'] }, { name: 'colors', items: ['TextColor', 'BGColor'] }, - { name: 'tools', items: ['Maximize'] } - ] + { name: 'tools', items: ['Maximize', 'ShowBlocks'] } + ], + removeButtons: '', + extraPlugins: 'justify,pagebreak', + allowedContent: true, + entities: false, + basicEntities: false, + fillEmptyBlocks: false }); } catch (e) { console.error('CKEditor replace failed:', e); diff --git a/pdf_test_html.html b/pdf_test_html.html index 3f1e848..90e390e 100644 --- a/pdf_test_html.html +++ b/pdf_test_html.html @@ -1,4 +1,3 @@ -Discharge Summary HTML Source (IPD ID: 1)
| Name | KAMLA SINGH | UHID | P26051000001 |
| Age & Gender | 26 Year / Female | IPD No. | A26050000001 |
| Guardian | W/O of RAM SINGH | Admission | 23-05-2026 |
| Phone No. | 9720958717 | Discharge | 05-06-2026 |
| Address | KASHIPUR | Org. Name | Direct |
| Department | Cardiology |
-Procedure :
Procedure TEST / Date of Procedure : 2026-06-03
+ +
| Patient Name | +SUNITA DEVI | ++ | + | UHID / Patient ID | +P26061331171 | +
| Guardian | +Wife of of JOGENDRA KUMAR | ++ | + | IPD No. | +A26061007144 | +
| Age / Gender | +40 Year / Female | ++ | + | Admission Date | +04-06-2026 03:14 PM | +
| Address | +MALDHAN***** | ++ | + | Discharge Date | +07-06-2026 10:00 AM | +
| Phone No. | +9520497324 | ++ | + | TPA | +Direct | +
| Department | +General Surgery | ++ | + | + | + |
-
-
-
-
-
| Test | Fixed Normals | 31-05-2026 |
|---|---|---|
| Eosinophils | 30 | |
| Hemoglobin | 11 | |
| Total Leukocyte Count | 10 | |
| Neutrophils | 10 | |
| Lymphocytes | 10 | |
| Monocytes | 10 | |
| Red Blood Cells | 10 | |
| Packed Cell Volume | 10 | |
| Mean Corpuscular Volume | 10 | |
| Mean Corpuscular Hemoglobin | 10 | |
| Mean Corpuscular Hemoglobin Concentration | 1 | |
| Platelet Count | 010 |
-
| # | Medicine | Qty | Days | Notes |
|---|---|---|---|---|
| 1 | Capsule Aciloc | 1 day | ||
| 2 | Capsule Aciloc | 1 | ||
| 3 | Capsule Aciloc | 1 day | ||
| 4 | Capsule Aciloc | 1 |
| _________________________ | _________________________ | _________________________ | |||||||||||||||||||||||||||||
| Signature of Consultant | \ No newline at end of file +Final Diagnosis :
| Medicine Name | Dosage | Qty | Day |
|---|---|---|---|
| TAB POP DSR | BID (TWO TIME A DAY) / दिन में दो बार | 1 | 5 DAYS |
| TAB CEFUBON CV | BID (TWO TIME A DAY) / दिन में दो बार | 1 | 5 DAYS |
| TAB DICLOSIS SP | TID (THREE TIME A DAY) / दिन में तीन बार | 1 | 5 DAYS |
| TAB FORECOX | BID (TWO TIME A DAY) / दिन में दो बार | 1 | 15 DAYS |
| TAB BONCORED | BID (TWO TIME A DAY) / दिन में दो बार | 1 | 15 DAYS |
PT WAS K/C/O RT CERVICAL LYMPHADENOPATHY WITH ABSCESS NOW ADMITTED FOR OPERATION . ALL NECESSARY INVESTIGATION WERE CARRIED OUT. PT WAS OPERATED I & D WITH L. N . EXCISION DONE UNDER GA AND MANAGED WITH IVF IV ANTIBIOTICS ANALGESIC AND OTHER SUPPORTIVE MEASURES.
+ +NOW PT IS BEING DISCHARGED IN A STABLE CONDITION WITH MEDICATION .
| _________________________ | _________________________ | _________________________ |
| Signature of Consultant | \ No newline at end of file