# No events for bacteriology/micro-biology obs when edited from display controls

**URL:** <https://talk.openmrs.org/t/no-events-for-bacteriology-micro-biology-obs-when-edited-from-display-controls/27434>\
**Category:** Bahmni\
**Created:** [March 16, 2020, 9:50am UTC](https://talk.openmrs.org/t/no-events-for-bacteriology-micro-biology-obs-when-edited-from-display-controls/27434 "2020-03-16T09:50:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivarachakonda](https://talk.openmrs.org/letter_avatar/shivarachakonda/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivarachakonda](https://talk.openmrs.org/u/shivarachakonda)\
**Post date:** [March 16, 2020, 9:50am UTC](https://talk.openmrs.org/t/no-events-for-bacteriology-micro-biology-obs-when-edited-from-display-controls/27434/1 "2020-03-16T09:50:22Z")

</div>

There are no events published to _event\_records_ table when observations are edited from bacteriology display control. It is observed that the API used to update bacteriology observations from the display control is different from the API used to save from the consultation page.

API used in consultation page(encounter data) where events are raised: [https://192.168.33.10/openmrs/ws/rest/v1/bahmnicore/bahmniencounter](https://192.168.33.10/openmrs/ws/rest/v1/bahmnicore/bahmniencounter)

API used when bacteriology obs updated from bacteriology display control: [https://192.168.33.10/openmrs/ws/rest/v1/specimen](https://192.168.33.10/openmrs/ws/rest/v1/specimen)

Looks like above(the second one) API is not generating events.

It is better to use the same API (bahmniencounter) even in display-control since other display controls also work in same way (eg: obs, edit forms) also it generates events.

@angshuonline @mksrom@kirity @binduak @vmalini@swedhan

---

<div class="post-metadata">

**Author:** ![binduak](https://talk.openmrs.org/letter_avatar/binduak/32/5_5575768a8748004e209b776fc1b2916d.png) [@binduak](https://talk.openmrs.org/u/binduak)\
**Post date:** [September 14, 2021, 12:54pm UTC](https://talk.openmrs.org/t/no-events-for-bacteriology-micro-biology-obs-when-edited-from-display-controls/27434/2 "2021-09-14T12:54:38Z")

</div>

The above mentioned issue got fixed as part of the below JIRA card and changes will available from Bahmni 0.93 version [https://bahmni.atlassian.net/browse/BAH-1220](https://bahmni.atlassian.net/browse/BAH-1220)
