Synthesis of a novel organosoluble, biocompatible, and antibacterial chitosan derivative for biomedical applications