-
Notifications
You must be signed in to change notification settings - Fork 2
SCAN
Documentation on the Seattle Coronavirus Assessment Network (SCAN) project
Currently, we return SCAN participant's results via a dedicated page for SFS at the UW LabMed SecureLink portal. (See the private securelink GitHub repo.)
A SCAN participant must provide their collection barcode and date of birth in order to retrieve their results.
The following example data can be entered at the SecureLink dev instance to see a live view what a SCAN participant sees for each of the result codes:
barcode | date of birth | result | |
---|---|---|---|
AAAAAAAA | 2020-01-01 | not-received | no |
BBBBBBBB | 2020-01-01 | pending | no |
CCCCCCCC | 2020-01-01 | never-tested | yes |
DDDDDDDD | 2020-01-01 | negative | yes |
EEEEEEEE | 2020-01-01 | inconclusive | yes |
FFFFFFFF | 2020-01-01 | positive | yes |
Note that only the SecureLink dev instance, not the live site, is compatible with these (fake) example data. These example barcodes may one day reflect a real participant's collection barcode, therefore no test data are used on the live production site.
- First, answer the questions listed in the barcodes documentation pertaining to creating new collections.
- Create a new identifier set.
- Create a new barcode label layout for the labelmaker.
- Enable REDCap DETs for the new project once testing is complete and it's ready for production.
- Update the REDCap DET ETL with the new study's project ID and purview (see example).
Note: If the new REDCap project is not identical to existing SCAN projects, this may required additional updates to the ETL.
- Update the FHIR ETL with the new study's collection identifier set.
- Add a new cronjob for the new REDCap DET ETL.
- Decide if we need to manually generate DETs (for e.g. if the new study arm uses the REDCap mobile app or API for enrollments)
Note: we may not have to manually generate DETs if we receive at least one DET for an instrument containing a manually-updated field. If we have other required instruments, then that DET must come after those instruments are complete. This works fairly well if the manually-updated field is in a later instrument, like kit unboxing.
- Update the manifest ETL expected collection identifier sets
- Update the SCAN RoR shipping view.
- Update the reportable conditions shipping view with the new collection identifier set.
- Update the backoffice export-redcap-scan script.
- Update the export-record-barcodes script in the sfs-switchboard repo with the new language's project ID and purview.
- Update the ID3C Glossary with new definitions of how Encounters, Samples, Individuals (etc.) get created for this project.
Checklist
- Insert
<span>
tags into the REDCap project fields while the project is still in development mode.- Download the existing data dictionary with the download-data-dictionary script.
- Upload a modified data dictionary with injected HTML attributes via upload-data-dictionary.
- Enable REDCap DETs for the new project once testing is complete and it's ready for production.
- Update the REDCap DET ETL with the new language's project ID and ISO code (see example).
- Add a new cronjob for the new REDCap DET ETL.*
- Create a new LaTeX PDF template in lab-result-reports.
Translations for the results PDFs live in a Google drive folder accessible via this Trello card.
- Rebuild the Docker image and push it to Docker Hub (see README).
- Validate the newly generated PDFs with native speakers.
- Update the SCAN RoR workflow in the backoffice repo:
- Bump the Docker image version generate-pdfs uses.†
- Add the new language ISO code to the
SCAN_LANGS
environment variable in generate-pdfs.† - Add the new language to the
export-redcap-data()
function in generate-results-csv.
- Manually generate PDFs for all data on the S3 results file for the new language.†‡
- Update securelink portal:
- Add new "Next steps" translation and PDF button.†‡ Translations are viewable via the Google drive link at this Trello card.
- Add new mock results PDFs for local development (e.g. CCCCCCCC-2020-01-01).†
- Update the get_pdf_report() function in the python module to allow the new language code.
- Update the export-record-barcodes script in the sfs-switchboard repo with the new language's project ID and ISO code.
*: Depends on #3
†: Depends on #5
‡: Depends on #6