patient entity fixed