Control System Development For A Gastric Retention And Injection Device For Autonomous Urgent Care Therapy