# Simple Data Collection

**URL:** <https://talk.openmrs.org/t/simple-data-collection/25418>\
**Category:** Implementing\
**Created:** [November 8, 2019, 1:46pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418 "2019-11-08T13:46:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dietl](https://talk.openmrs.org/letter_avatar/dietl/32/6_449c533f586939b6e5f246632a46421f.png) [@dietl](https://talk.openmrs.org/u/dietl)\
**Post date:** [November 8, 2019, 1:46pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/1 "2019-11-08T13:46:37Z")

</div>

I’m going to create a simple database for a cardiac department of an Ethiopian clinic using only names, contact details and their diagnosis. Other buttons should not appear. Do you have any idea how this can be implemented?

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 11, 2019, 6:12pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/2 "2019-11-11T18:12:29Z")

</div>

Which version of OpenMRS are you trying out?

---

<div class="post-metadata">

**Author:** ![dietl](https://talk.openmrs.org/letter_avatar/dietl/32/6_449c533f586939b6e5f246632a46421f.png) [@dietl](https://talk.openmrs.org/u/dietl)\
**Post date:** [November 11, 2019, 8:06pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/3 "2019-11-11T20:06:08Z")

</div>

Reference Application 2.9.0 Standalone

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 11, 2019, 8:20pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/4 "2019-11-11T20:20:46Z")

</div>

Did you try out the different roles and privileges as mentioned here? [https://wiki.openmrs.org/display/docs/Reference+Application+2.9.0](https://wiki.openmrs.org/display/docs/Reference+Application+2.9.0)

---

<div class="post-metadata">

**Author:** ![dietl](https://talk.openmrs.org/letter_avatar/dietl/32/6_449c533f586939b6e5f246632a46421f.png) [@dietl](https://talk.openmrs.org/u/dietl)\
**Post date:** [November 11, 2019, 8:41pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/5 "2019-11-11T20:41:20Z")

</div>

Thanks. This is a good guideline. I tried 2 roles and privileges, but not quite as it is described here. I will test it tomorrow.

Do you know how I can generate an icon at the user dashboad (role=doctor) to print a report? Because today I tested your module XReports. Good work!

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 11, 2019, 8:50pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/6 "2019-11-11T20:50:02Z")

</div>

> [@dietl](#):
>
> Do you know how I can generate an icon at the user dashboad (role=doctor) to print a report? Because today I tested your module XReports. Good work!

Can you share a screenshot or mockup of how you would love that to look like?

---

<div class="post-metadata">

**Author:** ![dietl](https://talk.openmrs.org/letter_avatar/dietl/32/6_449c533f586939b6e5f246632a46421f.png) [@dietl](https://talk.openmrs.org/u/dietl)\
**Post date:** [November 11, 2019, 9:07pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/7 "2019-11-11T21:07:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 11, 2019, 9:19pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/8 "2019-11-11T21:19:10Z")

</div>

How does that serve you better than the default one supplied by XReports?

---

<div class="post-metadata">

**Author:** ![dietl](https://talk.openmrs.org/letter_avatar/dietl/32/6_449c533f586939b6e5f246632a46421f.png) [@dietl](https://talk.openmrs.org/u/dietl)\
**Post date:** [November 11, 2019, 9:33pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/9 "2019-11-11T21:33:03Z")

</div>

I could not assign XReports to a user in the account management. It was not available at the capabilities section.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 11, 2019, 9:43pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/10 "2019-11-11T21:43:54Z")

</div>

This is the required privilege: [https://github.com/dkayiwa/openmrs-module-xreports/blob/master/omod/src/main/resources/apps/xreports\_app.json#L19](https://github.com/dkayiwa/openmrs-module-xreports/blob/master/omod/src/main/resources/apps/xreports_app.json#L19)

---

<div class="post-metadata">

**Author:** ![dietl](https://talk.openmrs.org/letter_avatar/dietl/32/6_449c533f586939b6e5f246632a46421f.png) [@dietl](https://talk.openmrs.org/u/dietl)\
**Post date:** [November 11, 2019, 9:54pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/11 "2019-11-11T21:54:43Z")

</div>

Where do I have to paste the syntax code?

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 11, 2019, 10:04pm UTC](https://talk.openmrs.org/t/simple-data-collection/25418/12 "2019-11-11T22:04:06Z")

</div>

You create a role and add that privilege to it. [https://demo.openmrs.org/openmrs/admin/users/role.list](https://demo.openmrs.org/openmrs/admin/users/role.list)

If the privilege does not exist, you can add it. [https://demo.openmrs.org/openmrs/admin/users/privilege.list](https://demo.openmrs.org/openmrs/admin/users/privilege.list)
