Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor UB04 837i X12 feature to make work again. #7412

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

sjpadgett
Copy link
Sponsor Member

@sjpadgett sjpadgett commented Apr 30, 2024

Fixes #7413

Short description of what this resolves:

Many reverts and fixes to project.

Changes proposed in this pull request:

Fixed from issues

  • Fee Sheet doesn't save revenue codes
  • Custom Codes doesn't save or select revenue codes.
  • UB04 form doesn't render
  • 837i X12 claim doesn't generate due to missing revenue code plus.

@@ -20,8 +20,6 @@

namespace OpenEMR\Billing\BillingProcessor;

use OpenEMR\Billing\BillingProcessor\BillingClaimBatchControlNumber;
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @sjpadgett , great work getting this going again

pretty sure need this when using it below in lines 61 and 64

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope it's already in scope

Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, nvm, since it's in the same namespace :)

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also a FYI the latest ci will optimize uses and removed unused automatically so be sure to keep an eye on and verify removals yourself.

Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay for phpstorm?

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still i'm force testing for clarity but i'm confident as it's in same namespace and is static so path is automatic.

$ub04id[367] = $diagnosis[0] ?? '' ? substr($diagnosis[0], 0, 7) : ''; /* 69. ADMITTING DIAGNOSIS CODE */
$ub04id[368] = $diagnosis[1] ?? '' ? substr($diagnosis[1], 0, 7) : ''; /* 70a. PATIENT'S REASON FOR VISIT */
$ub04id[369] = $diagnosis[2] ?? '' ? substr($diagnosis[2], 0, 7) : ''; /* 70b. PATIENT'S REASON FOR VISIT */
$ub04id[370] = $diagnosis[3] ?? '' ? substr($diagnosis[3], 0, 7) : ''; /* 70c. PATIENT'S REASON FOR VISIT */
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seal-dunk

@sjpadgett
Copy link
Sponsor Member Author

image

image

I'm merging so I can get it out to customer to test the 837i claim X12. Hopefully I won't need to come back to this in another 7 years!:)

@sjpadgett sjpadgett merged commit 14e7854 into openemr:master Apr 30, 2024
25 checks passed
@sjpadgett sjpadgett deleted the ub04_fixes branch April 30, 2024 21:09
sjpadgett added a commit to sjpadgett/openemr that referenced this pull request Apr 30, 2024
* Refactor UB04 837i feature to make work again.

* fix PHP 8.2 warnings

(cherry picked from commit 14e7854)
sjpadgett added a commit that referenced this pull request Apr 30, 2024
Refactor UB04 837i X12 feature to make work again. (#7412)
@bradymiller
Copy link
Sponsor Member

dance-bear

sjpadgett added a commit to sjpadgett/openemr that referenced this pull request May 7, 2024
…_last

* 'master' of https://github.com/openemr/openemr:
  Hide dashboard card 2 (openemr#7423)
  fix: ccda zip import and php warnings and deprecations (openemr#7416)
  Fee sheet and Codes revenue code (openemr#7415)
  Refactor UB04 837i X12 feature to make work again. (openemr#7412)
  feat: support loop 2420E (openemr#7405)
  Fix: Revert "Fix: OpenEMR logs sensitive information such as payment details (openemr#7341)" (openemr#7396)
  Weno better error handling from fetches (openemr#7408)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: UB04 837i X12 feature
3 participants