# Adding "Close Visit" button to Patient Dashboard

**URL:** <https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171>\
**Category:** Bahmni\
**Created:** [February 20, 2017, 10:10pm UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171 "2017-02-20T22:10:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![htorresb](https://talk.openmrs.org/letter_avatar/htorresb/32/6_449c533f586939b6e5f246632a46421f.png) [@htorresb](https://talk.openmrs.org/u/htorresb)\
**Post date:** [February 20, 2017, 10:10pm UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/1 "2017-02-20T22:10:30Z")

</div>

I would like to be able to close a visit from the Patient Dashboard screen. Is there a way to do it?

Thank you

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [February 20, 2017, 11:20pm UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/2 "2017-02-20T23:20:53Z")

</div>

@htorresb have you read the wiki documentation about [Auto expiry of Visits in Bahmni](https://bahmni.atlassian.net/wiki/x/HIA1)?

I know this doesn’t answer your exact question, but on the other thread you said your client wants the simplest workflow. There are two very simple approaches that don’t require the users to do anything:

1. close all (outpatient) visits at the end of the day
2. auto-close visits after the patient has no encounter activity for some number of hours

---

<div class="post-metadata">

**Author:** ![htorresb](https://talk.openmrs.org/letter_avatar/htorresb/32/6_449c533f586939b6e5f246632a46421f.png) [@htorresb](https://talk.openmrs.org/u/htorresb)\
**Post date:** [February 21, 2017, 12:07am UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/3 "2017-02-21T00:07:59Z")

</div>

Darius, Thank you so much ! One more question: is there a way to open the Clinical app after clicking on the “Start OPD Visit” button? Or, even better, is there a way to open the Patient’s Dashboard after clicking on the “Start OPD Visit” button?

Regards and thanks again

---

<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:** [February 21, 2017, 5:09am UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/4 "2017-02-21T05:09:35Z")

</div>

Hi Humberto, It is possible to configure the next page on Registration Save.Please refer [Bahmni WIKI](https://bahmni.atlassian.net/wiki/display/BAH/Registration+Page#RegistrationPage-Registration2ndPage). Please do let us know if any issues.

---

<div class="post-metadata">

**Author:** ![sravanthi17](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sravanthi17/32/1357_2.png) [@sravanthi17](https://talk.openmrs.org/u/sravanthi17)\
**Post date:** [February 21, 2017, 5:43am UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/5 "2017-02-21T05:43:27Z")

</div>

> [@htorresb](#):
>
> is there a way to open the Clinical app after clicking on the “Start OPD Visit” button?

Yes this is possible. [https://bahmni.atlassian.net/wiki/display/BAH/Customizing+Bahmni+Connect#CustomizingBahmniConnect-8](https://bahmni.atlassian.net/wiki/display/BAH/Customizing+Bahmni+Connect#CustomizingBahmniConnect-8))RegistrationSecondPageortheVisitDetailsPage

---

<div class="post-metadata">

**Author:** ![sravanthi17](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sravanthi17/32/1357_2.png) [@sravanthi17](https://talk.openmrs.org/u/sravanthi17)\
**Post date:** [February 21, 2017, 5:44am UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/6 "2017-02-21T05:44:20Z")

</div>

> [@htorresb](#):
>
> I would like to be able to close a visit from the Patient Dashboard screen.

No this is not possible. As @swathivarkala mentioned, one can close visit from registration visit page (second page of registration)

---

<div class="post-metadata">

**Author:** ![htorresb](https://talk.openmrs.org/letter_avatar/htorresb/32/6_449c533f586939b6e5f246632a46421f.png) [@htorresb](https://talk.openmrs.org/u/htorresb)\
**Post date:** [February 22, 2017, 9:57pm UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/7 "2017-02-22T21:57:22Z")

</div>

Swathivarkala, The registration/extension.json file that came with my Bahmni install does not include the “enterConsultation” section that is listed in the Wiki link you provided. Should I add it instead?

Thank you

---

<div class="post-metadata">

**Author:** ![sravanthi17](https://talk.openmrs.org/user_avatar/talk.openmrs.org/sravanthi17/32/1357_2.png) [@sravanthi17](https://talk.openmrs.org/u/sravanthi17)\
**Post date:** [February 23, 2017, 5:19am UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/8 "2017-02-23T05:19:47Z")

</div>

Yes, you have to add it

---

<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:** [May 30, 2017, 7:28am UTC](https://talk.openmrs.org/t/adding-close-visit-button-to-patient-dashboard/10171/9 "2017-05-30T07:28:44Z")

</div>

Closed on May 30, 2017, 7:28am UTC


