SR Result bulk uploader device validation logic - CDCgov/prime-simplereport GitHub Wiki

SR Result bulk uploader requires two fields that helps us identify the device used to conduct the test

  • equipment_model_name
  • test_performed_code

Device validation logic

Check the LIVD table for the combination of equipment_model_name/test_performed_code in the same row

  • if match was found: then its a valid covid/multiplex device
  • if no match was found:

    Check the short list of flu-only loincs,

    • if the loinc matches: then its a valid flu-only device
    • if no match was found: then device is invalid

Flow-chart