Add fix for the form edit button in Android client Vitals page which is not working

Current behaviour: We are not able to edit the vitals of a patient form the Vitals page in the Patients Dashboard.

On clicking the icon a toast pops up stating 'This form is not supported'.

Expected behaviour: On clicking the edit button on the vitals fragment of a patient, a form should open so that we can edit the details.

How to reproduce:

  • Register a patient (or use an existing one)
  • Go to Patients Dashboard
  • Go to the vitals page (wait for it to sync)
  • Click on the edit icon


On debugging I found that the Encounter corresponding to the vitals has a no form. That is encounter.getform() in the PatientVitalsFragment returns null when called in the startFormDisplayActivity method.

Task tags

  • android
  • java
  • bug

Students who completed this task


Task type

  • code Code