Text this: State regulation of the quality of medical services