tuva-health / tuva

Main repo including core data model, data marts, reference data, terminology, and the clinical concept library
https://thetuvaproject.com/
172 stars 41 forks source link

Flagging claims with enrollment #509

Closed thutuva closed 1 month ago

thutuva commented 1 month ago

Describe your changes

Please include a summary of any changes.

How has this been tested?

Please describe the tests you ran to verify your changes. Provide instructions or code to reproduce output.

Reviewer focus

Please summarize the specific items you’d like the reviewer(s) to look into. Review the logic and confirm:

  1. Should we infer the claims start date with claim_start_date is missing? (and claim_end_date)
  2. Do we require the whole claim to occur during a valid period of enrollment or just the claim_end_date?

Checklist before requesting a review

Package release checklist

(Optional) Gif of how this PR makes you feel

Loom link

https://www.loom.com/share/258ac5998b6f46aba8ad98de3dc97e79?sid=98b4cc08-d827-43f4-9a8a-07011330ad56