CDCgov / prime-simplereport

SimpleReport is a fast, free, and easy way for COVID-19 testing facilities to report results to public health departments.
https://simplereport.gov
Creative Commons Zero v1.0 Universal
55 stars 58 forks source link

Address discrepancy in acceptable non-SNOMED test result values in bulk upload #7826

Open emyl3 opened 2 weeks ago

emyl3 commented 2 weeks ago

Description

On the backend we accept the following non-SNOMED test result values: https://github.com/CDCgov/prime-simplereport/blob/a4f7c3e4fd2558ddb972a8e123a305a17d7d2f29/backend/src/main/java/gov/cdc/usds/simplereport/validators/CsvValidatorUtils.java#L185

This is what is displayed in the bulk upload guidance:

Screenshot 2024-06-17 at 13 50 50

However, for the device code look up we provide different values that we do not accept on the backend: Screenshot 2024-06-17 at 13 55 44

Steps to reproduce

Please see above

Expected behavior

The accepted non-SNOMED test result values are consistent throughout the app.

Additional context

Issue first discovered here: https://github.com/CDCgov/prime-simplereport/pull/7809/files/bb3626fbc4af4b2302e95c12d874243209b5e0df#r1640364862