Haiz, Istihaazah & Nifaas

Is green discharge considered haidh?

Q: A year or so after I became baaligh, I stopped getting regular periods. I wouldn't know when I would get my period next. From 2015 mid year (this is my discretion) onwards I started having green discharge but didn't know that it should be counted as haiz.

So now all the dates are a blunder as my real period was very few times a year. For the last 5-6 months I am doing ghusl almost regularly. I had pills for green discharge but I am not getting 15 days of tuhr, and for the past 5 months I am taking tablets for my periods too. Because of the tablets I bleed for 4 days every month now. During these days I continue praying because I keep getting green discharge.

Can I consider this as my haiz and the rest as tuhr (though I will be getting green discharge)?

Haidh ending during the salaah time

Q: When my period ends and the time for salah is still there, I understand that the specific salah of that time is obligatory to read. I have more of an inclination to believe that this is what I did in the past months where my period ended - before I had learnt of this fact and I’d like to think that even if my period had ended and I didn't have enough time to do ghusl and read salah in the time, I still did qadha but because I’m not 100% sure, do I have to make qada of all the previous months on the day in which my period ended to be sure or can I leave it?