Official Ministry of Defence of Ukraine table of medical conditions and fitness for military service (VLK)
https://zakon.rada.gov.ua/laws/show/uk-ru/z0024-23/ed20221212#n14
Yes it is in Ukrainian only.
Disclaimer: this table is pretty nuanced and is intended to be used by people with both medical and military bureaucracy proficiency. You can however get an idea from it whether you might confront any issues. The final interpretation still stays with VLK.