The key plot item of what I’m trying to find is that a child was born, there was some argument about one of the hopital fees or a point of procedure, the father refused to pay, the hospital refused to release the baby, and the child grew up in the hospital until emancipated at 18.
Science fiction, may have been by Heinlein or Clarke. I think this was part of a novel, rather than a short story.
I have a feeling this is well known, but searching Google and here didn’t turn up anything.