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

Update BFD HHA Exporter #1328

Merged
merged 3 commits into from
Jul 17, 2023
Merged

Update BFD HHA Exporter #1328

merged 3 commits into from
Jul 17, 2023

Conversation

hadleynet
Copy link
Collaborator

@hadleynet hadleynet commented Jul 3, 2023

Update BFD HHA exporter to:

  1. Add support for PPS codes
  2. Improve HCPCS to revenue center mapping

Note that two new code files (hha_pps_case_mix_codes.csv, hha_pps_pdgm_codes.csv) and updated hha_rev_centr_code_map.json and hcpcs_code_map.json files are available in the usual places.

A comparison of real vs Synthea revenue center frequency is shown below.

Rev Center Real % of Total Synthea % of Total Diff
0551 39.3% 25.7% -13.59%
0421 24.2% 23.0% -1.23%
0023 9.4% 14.0% +4.55%
0001 7.3% 8.5% +1.26%
0431 6.8% 7.6% +0.78%
0571 5.8% 5.8% -0.04%
0550 2.3% 2.2% -0.11%
0420 1.5% 1.4% -0.11%
0441 1.4% 3.0% +1.60%
0561 0.5% 5.9% +5.33%
0570 0.5% 0.2% -0.28%
0430 0.3% 0.1% -0.21%
0572 0.2% 1.1% +0.91%
0424 0.1% 0.1% -0.03%
0440 0.1% 0.2% +0.12%
0559 0.0% 0.0% -0.00%
0560 0.0% 0.6% +0.54%
0623 0.0% 0.0% -0.03%
0270 0.0% 0.0% -0.03%
0552 0.0% 0.0% -0.00%
0434 0.0% 0.0% -0.01%
0444 0.0% 0.0% +0.01%
0429 0.0% 0.0% +0.00%
0989 0.0% 0.0% +0.00%
0422 0.0% 0.0% -0.00%
0583 0.0% 0.0% -0.00%
0579 0.0% 0.6% +0.56%
0432 0.0% 0.0% +0.01%
0410 0.0% 0.0% -0.00%
0590 0.0% 0.0% -0.00%
0581 0.0% 0.0% -0.00%
0580 0.0% 0.0% -0.00%
0582 0.0% 0.0% -0.00%
0272 0.0% 0.0% -0.00%
0449 0.0% 0.0% -0.00%
0439 0.0% 0.0% -0.00%
0271 0.0% 0.0% -0.00%
(blank) 0.0% 0.0% -

@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #1328 (9f7c6cc) into master (15c8434) will decrease coverage by 1%.
The diff coverage is 22%.

@@           Coverage Diff            @@
##             master   #1328   +/-   ##
========================================
- Coverage        77%     77%   -1%     
+ Complexity     3722    3714    -8     
========================================
  Files           170     170           
  Lines         23953   23981   +28     
  Branches       3320    3325    +5     
========================================
- Hits          18628   18622    -6     
- Misses         4305    4333   +28     
- Partials       1020    1026    +6     
Impacted Files Coverage Δ
.../java/org/mitre/synthea/export/rif/CodeMapper.java 93% <ø> (ø)
...java/org/mitre/synthea/export/rif/HHAExporter.java 9% <11%> (+<1%) ⬆️
...a/org/mitre/synthea/export/rif/BB2RIFExporter.java 74% <35%> (-4%) ⬇️

... and 23 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Jul 3, 2023

🛠 Lift Auto-fix

Some of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1

# Download the patch
curl https://lift.sonatype.com/api/patch/github.com/synthetichealth/synthea/1328.diff -o lift-autofixes.diff

# Apply the patch with git
git apply lift-autofixes.diff

# Review the changes
git diff

Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command:

curl https://lift.sonatype.com/api/patch/github.com/synthetichealth/synthea/1328.diff | git apply

Once you're satisfied, commit and push your changes in your project.

Footnotes

  1. You can preview the patch by opening the patch URL in the browser.

@hadleynet hadleynet changed the title WIP Update BFD HHA Exporter Update BFD HHA Exporter Jul 14, 2023
@hadleynet hadleynet marked this pull request as ready for review July 14, 2023 15:31
@jawalonoski jawalonoski self-assigned this Jul 14, 2023
Co-authored-by: sonatype-lift[bot] <37194012+sonatype-lift[bot]@users.noreply.github.com>
@jawalonoski jawalonoski merged commit dd185eb into master Jul 17, 2023
@jawalonoski jawalonoski deleted the bfd_hha_rev_center branch July 17, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants