If the other party can prove that the disease is work-related and occupational disease, then it is illegal for you to terminate the contract, and you should pay economic compensation.
If the other party can't prove it, but it is illegal for you to terminate the contract during the medical treatment period, you should also pay economic compensation.
After the medical treatment period, if the contract is terminated, economic compensation will be paid at this time.
If you don't sign a labor contract, if the other party can prove the labor relationship, you can also ask for economic compensation of 1 1 monthly salary.