avni-bahmni-integration / integration-service

GNU Affero General Public License v3.0
2 stars 5 forks source link

TRI09040905 has child enrolment data but it is not displayed on the disease template on the general dashboard #73

Open petmongrels opened 3 years ago

petmongrels commented 3 years ago

TRI09040905

TRI03113003

petmongrels commented 3 years ago

This happens when the form in Avni has all fields non-mandatory and the user can fill simply complete the form without filling anything. This is the case with enrolments only in practice. While observation control picks up all observations in the encounter. The disease template control will display only items within the form and will ignore observations that are in the encounter but not in the form.

Avni Bahmni integration code adds a few metadata observations which can be of help here, like Event Date [Avni]. If this concept is added to the form then the disease template starts showing the data on the control.

This has been done for Child Enrolment [Avni] form. Since doing this remotely is difficult, @kannangudalur can you please do it for the rest of the enrolment forms.