I looked into all those files, I found something useful here at DiagnosisController2_2Test and this talk thread, but I still have few doubts:
- Is diagnosis created when we POST visit forms or it needs to be posted separately
- looking at the swagger, it says that I need to pass the query to get the diagnosis list, I tried passing patient UUID, patientId but it always returns empty result