Templating Drug Nanoparticles in Hydrogels for Next Generation Pharmaceutical Formulation