This pull request is intended to reflect all recent changes that have been made to the L2 Logic document and value set spreadsheet since our last pull request (February 15th) to this repository.
Details of each change is described by each individual commit message, and for most cases can be traced back to a comment thread in either the L2 Development Document or the Value Set Tracking Sheet.
Some of the more major changes in the pull request include:
Refactoring Common Abnormality management recommendations to include Special Population K.5 (>65 years old) logic, as well as more descriptive recommendation text that differs depending on the recommendation advised.
Adding an initial case to the Common Abnormality management recommendations that will recommend reflex cytology for patients with a recent positive primary HPV test.
Updating newer value sets that were added to the value set spreadsheet. In several cases, this involved changing a reference to a code into a reference to a value set, and in some cases required changes to codes in our test cases.
Change to how HPV+ tests are referenced. The typed HPV+ result codes changed to only reference DNA tests, so our test cases had to be updated to remove all cases where synthetic patients received a typed antigen test result. Additionally, the cases in the HPVInterpretation() function switch statement had to be reordered - since the more general 'HPV-positive' HPV result references a value set that includes the more specific genotyped tests, these more specific genotyped test results ('HPV16+' and 'HPV18+') had to be checked first. Then the "High Risk HPV Positive Results" value set is checked, and acts almost like an else clause for the positive HPV results, mapping any other positive HPV values to the general 'HPV-Positive' risk table input.
Logic for Rare Abnormality section G.2 changed slightly to reference all positive HPV tests not including HPV16+ or HPV18+, which was added as a new value set.
This pull request is intended to reflect all recent changes that have been made to the L2 Logic document and value set spreadsheet since our last pull request (February 15th) to this repository.
Details of each change is described by each individual commit message, and for most cases can be traced back to a comment thread in either the L2 Development Document or the Value Set Tracking Sheet.
Some of the more major changes in the pull request include:
HPVInterpretation()
function switch statement had to be reordered - since the more general 'HPV-positive' HPV result references a value set that includes the more specific genotyped tests, these more specific genotyped test results ('HPV16+' and 'HPV18+') had to be checked first. Then the "High Risk HPV Positive Results" value set is checked, and acts almost like anelse
clause for the positive HPV results, mapping any other positive HPV values to the general 'HPV-Positive' risk table input.