stupidedi icon indicating copy to clipboard operation
stupidedi copied to clipboard

Unknown patient gender in 270 causes validation error

Open hdaum opened this issue 2 years ago • 1 comments

I am getting a validation error when generating a 5010 270 for a patient with U in DMG03. I am using Stupidedi::Config.hipaa to configure my builder object.

It looks like the code should allow it but it's not.

hdaum avatar Sep 16 '21 11:09 hdaum

Hi @hdaum, sorry this was buried in my inbox. Without an example (runnable code or plaintext X12 file), I can't really say what's going on. There are a two different DMG segments in HS270 though, and this one does not allow "U". But you're correct the default list does allow "U" unless it's overridden like it is in the first link.

I don't have the HIPAA X12 documentation easily available right now, but it's possible I made a typo by omitting "U". However it's also possible that's what was documented in that X279A1 HS270.

If the standard doesn't allow "U", that means some payers could reject the file and someone would have to manually intervene. I do want to avoid those chances where possible. But my guess is by now, even if the standard does not allow "U", that it might be common practice to allow it anyway.

If you can confirm what the documentation says, I'd feel better making the change.

kputnam avatar Oct 02 '21 03:10 kputnam

Closing due to inactivity. If you still need help, you are welcome to re-open the issue.

kputnam avatar Oct 11 '22 02:10 kputnam