Oh Jane, I'm so sorry to hear Elliot is having a bit of trouble. Rest assured, that "thingy" they are putting in will make a huge difference. My husband has one (they call his a port) in his chest for infusions. That has made it so very much easier to administer medicines. I'm sure it will help Elliot, too.
If you can't sleep, then get up and do something instead of lying there worrying. It's the worry that gets you, not the lack of sleep.