# Using "Visit Type" and "Visit Attribute Type" on visit note page

**URL:** <https://talk.openmrs.org/t/using-visit-type-and-visit-attribute-type-on-visit-note-page/2241>\
**Category:** Development\
**Created:** [June 22, 2015, 12:12pm UTC](https://talk.openmrs.org/t/using-visit-type-and-visit-attribute-type-on-visit-note-page/2241 "2015-06-22T12:12:15Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![mksrom](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksrom/32/20221_2.png) [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Post date:** [January 5, 2016, 10:05am UTC](https://talk.openmrs.org/t/using-visit-type-and-visit-attribute-type-on-visit-note-page/2241/18 "2016-01-05T10:05:41Z")

</div>

Hi all,

We have had a use case too where our client needed to tag visits with specific visit types. See thread:

> [@How to use the Visit Type?](https://talk.openmrs.org/t/how-to-use-the-visit-type/3722):
>
> Hi all, I would like to implement different possible types of visit such as Outreach visit, Emergency visit… I think the Visit Type would do the job. This feature is not really in use in the Reference Application: Every new visit is assign to the default AtFacilityVisitType and I can’t find any place where it could be set differently. Is there any other project that uses Visit Type ?

So now, we’ve developed an app to bring a set of modifications to achieve this goal.

- override ‘Start Visit’ button to let user chose the Visit Type ![](https://talk.openmrs.org/uploads/default/original/2X/4/434b71b29d9b700d8d548e001ebd2d2e76ef5718.png)
- let the user change any visit’s Type ![](https://talk.openmrs.org/uploads/default/original/2X/a/a79268a011f497db121712c576fa7ba4f954d3d8.png)
- display the Visit Type in the ‘Recent Visits’ widget ![](https://talk.openmrs.org/uploads/default/original/2X/7/726dea879930d6ca9dd5bb9d6b5732b73edaf8ea.png)
- display the Visit Type in the ‘Patient Header’ visit status bar ![](https://talk.openmrs.org/uploads/default/original/2X/5/58452ed0035ac55d7c7a781458cc19c6713d7992.png)
- add the ablility to filter active visits by type, in the Active Visit page ![](https://talk.openmrs.org/uploads/default/original/2X/f/f92e1256e60edf92489f3332bd546d7ab6cc0f59.png)

You can find it here:

- [visit\_app.json](https://github.com/mekomsolutions/openmrs-module-lfhcforms/blob/master/omod/src/main/resources/apps/visit_app.json)
- [https://github.com/mekomsolutions/openmrs-module-lfhcforms/tree/master](https://github.com/mekomsolutions/openmrs-module-lfhcforms/tree/master)

**Note** that it runs with Reference Application 2.2 and our own fork of Coreapps (for now) (that adds an extension point in the patient header) available on github too: [Coreapps-1.6.0.1 (fork)](https://github.com/mekomsolutions/openmrs-module-coreapps/tree/master)

Hope that helps ! Thanks

---

_[View the full topic](https://talk.openmrs.org/t/using-visit-type-and-visit-attribute-type-on-visit-note-page/2241)._
