Help Please Doctype None not found

When I click patient name
a message appears as atttached
Screenshot%202021-09-28%20180448

Double check your permissions. I get similar error when user doesn’t have access to the specific doctype.