Legal action for access to resources inefficiently made available in health care systems in Brazil: a case study on obstructive sleep apnea