You must have Billing permissions to view and correct a claim
Invalid/missing patient gender code
What to do
Usually this rejection indicates that the gender is missing from the Insured's information.
You can fix this by going to Client > Details > Bill to and Insurance > Scroll Down under Primary Insurance and make sure the gender of the insured is not "undefined"
Be sure to Save your changes.