The fix was not pretty. I created a Patient Appointment doctype with one data field. I was then able to open Sales Invoice. Found a Patient Appointment field on the form, Customized the form to delete the field (had to be done logged in as Administrator) , then deleted the Patient Appointment doctype.
In case someone else runs into the same or similar…