How long can I stay out of the country and mantain emergency medical coverage?

It varies by province. But generally the limit is 6 months away. Some provinces now allow 7 months away. Provincial government healthcare is a prerequisite for travel insurance coverage.