Effectiveness of the guarantees to the right to health: legislation and jurisprudence in the fight against the pandemic