# Edit print output for Dashboard

**URL:** <https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854>\
**Category:** Bahmni\
**Created:** [June 12, 2017, 7:38pm UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854 "2017-06-12T19:38:56Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [June 12, 2017, 7:38pm UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/1 "2017-06-12T19:38:57Z")

</div>

Hi all,

I’m trying to edit the printing output of the Dashboard tab. So I have a HystoryAndExamination tab that I renamed “Anamneza” (see picture below!) that is a form properly defined and included in the _All Observation Templates_. This form has fields like Smoking, Alcohol, Drugs etc that are assigned a YES/NO answer (pic below).

 ![](https://talk.openmrs.org/uploads/default/original/2X/c/c80fec7f8af408b419424373e7938ef1ec00f199.png)

But the printing output looks like this:

 ![](https://talk.openmrs.org/uploads/default/original/2X/0/0fb96608741220270d8a249df1b57887562cde82.png)

…with no text describing the question.

Also I would like to display the NAME of the patient and his primary Identification No. And where do I translate Date Of Birth??? Couldn’t find the concept…

Thanks for the help 🙂

---

<div class="post-metadata">

**Author:** ![swathivarkala](https://talk.openmrs.org/user_avatar/talk.openmrs.org/swathivarkala/32/3234_2.png) [@swathivarkala](https://talk.openmrs.org/u/swathivarkala)\
**Post date:** [June 19, 2017, 10:24am UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/2 "2017-06-19T10:24:03Z")

</div>

Hi @margineanm

> [@margineanm](#):
>
> And where do I translate Date Of Birth??? Couldn’t find the concept…

Unfortunately, i see that internationalization of this particular thing is missed which can be found [here in code](https://github.com/Bahmni/openmrs-module-bahmniapps/blob/master/ui/app/common/displaycontrols/patientprofile/views/patientProfile.html#L28). Thank you for pointing out that out. In case if you are interested please go ahead and raise pull request with fix.

> [@margineanm](#):
>
> But the printing output looks like this:

This is not expected. But we can’t reproduce any such issue in our test environments. Can you please share the below details.

1. Which version of Bahmni is installed
2. Which config is being used?
3. Steps to reproduce this issue.

---

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [June 19, 2017, 5:44pm UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/3 "2017-06-19T17:44:59Z")

</div>

thanks @swathivarkala for answering!

Version is the latest (0.89) Config files from the CLINICAL folder [app.txt](https://talk.openmrs.org/uploads/default/original/2X/6/6891c86adb21f45c8014d0b3f5db412d769d369f.txt) (3.4 KB) [extension.txt](https://talk.openmrs.org/uploads/default/original/2X/3/376b7479444539d57ce16ed5c2fc73a97b1797f6.txt) (5.4 KB) [dashboard.txt](https://talk.openmrs.org/uploads/default/original/2X/7/79b4b0ba5a2aa8a78e1b8140424cf2dd327f273f.txt) (8.3 KB)

Steps: Register a patient as usual. Open patient Dashboard in Clinical app. Enter Consultation. Add data for History and Examination form (in my case this is called “Interviu initial”). Go back on patient Dashboard. The data that you just introduced is there as it should be. Press PRINT button from Dashboard. Results are as shown in screenshot before. If you close the Visit and later enter the closed visit to see it’s details you’ll find the History and Examination data there as expected. But if you use the print button from the Visit panel the resulting printout is the same as shown before.

Printout example: [OPD.pdf](https://talk.openmrs.org/uploads/default/original/2X/1/17eab83f445a1a9a95a92395c6a4faa29d7e6489.pdf) (1.3 MB)

Thanks for looking into this. If this is something that you didn’t see before I suspect is because my heavy customisation. I’m trying to adapt Bahmni to my small private practice

---

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [June 23, 2017, 1:49pm UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/4 "2017-06-23T13:49:34Z")

</div>

any idea on this one?

---

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [July 12, 2017, 2:14pm UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/5 "2017-07-12T14:14:00Z")

</div>

sorry for the bump. just trying to keep this alive

---

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [July 16, 2017, 3:33pm UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/6 "2017-07-16T15:33:26Z")

</div>

Hi everyone,

So I installed a fresh vagrant image. But, without any configuration, here is what the print output looks like:

 ![](https://talk.openmrs.org/uploads/default/original/2X/0/0e91e054bae189627a6a1a30321384fa72bebda6.png)

[dash\_print.pdf](https://talk.openmrs.org/uploads/default/original/2X/a/a7bc357c4eab22a5041afdc61c3201bd5ac08941.pdf) (39.4 KB)

or the Patient Summary:

 ![](https://talk.openmrs.org/uploads/default/original/2X/4/45cb3cdef49b0e8ad47d11b3b864845a5a27f7fc.png)

[summary\_print.pdf](https://talk.openmrs.org/uploads/default/original/2X/b/b6a99d54abd355ba4ddde67f5b83ea20c8707659.pdf) (35.1 KB)

I’m trying to use the PRINT function to create a visit summary hand-out to give to the patient so that he/she can have a way of tracking their medical history. Is there another way of doing this?

PS. The problem is that, even if it shows the value for arterial pressure (or any other parameter), it doesn’t show the actual text stating “SYSTOLIC” or “DIASTOLIC”

---

<div class="post-metadata">

**Author:** ![sruti](https://talk.openmrs.org/letter_avatar/sruti/32/6_449c533f586939b6e5f246632a46421f.png) [@sruti](https://talk.openmrs.org/u/sruti)\
**Post date:** [July 21, 2017, 1:48am UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/7 "2017-07-21T01:48:05Z")

</div>

Hi Mihai! Your problem is similar to the one described [here](https://bahmni.mingle.thoughtworks.com/projects/bahmni_emr/cards/3673). The prints are broken because of the latest chrome upgrade. We have fixed it and released a patch for version .89. Hope this helps.

---

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [July 21, 2017, 3:24am UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/8 "2017-07-21T03:24:21Z")

</div>

Thanks sruti, Do you know where can I find this patch?

---

<div class="post-metadata">

**Author:** ![sruti](https://talk.openmrs.org/letter_avatar/sruti/32/6_449c533f586939b6e5f246632a46421f.png) [@sruti](https://talk.openmrs.org/u/sruti)\
**Post date:** [July 21, 2017, 5:39am UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/9 "2017-07-21T05:39:30Z")

</div>

Hi Mihai, You can find it [here](https://bintray.com/bahmni/rpm/bahmni-installer/0.89-206#).

---

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [July 22, 2017, 11:42am UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/10 "2017-07-22T11:42:45Z")

</div>

thank you!

---

<div class="post-metadata">

**Author:** ![margineanm](https://talk.openmrs.org/letter_avatar/margineanm/32/6_449c533f586939b6e5f246632a46421f.png) [@margineanm](https://talk.openmrs.org/u/margineanm)\
**Post date:** [July 22, 2017, 1:40pm UTC](https://talk.openmrs.org/t/edit-print-output-for-dashboard/11854/11 "2017-07-22T13:40:25Z")

</div>

I installed the patch without errors (using a yum install command inside the bahmni box) but apparently it did nothing. Print output looks the same 😕

Could anyone confirm that this patch works?

PS. My Chrome version is 59.0.3071.115 (Official Build) (64-bit)

PSS. Also I tried using Firefox but when pressing the PRINT button on dashboard nothing happens…
