Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Investigate using CSV import Modal for REDCap participant import via API

Aperta
#962 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
data

Direzione di ricerca

Start by reading application/integration/src/mapData.ts and tracing the existing REDCap API import flow and CSV import modal. Explore how study admins could map differing REDCap fields and review invalid input; the issue proposes this direction but leaves the integration design open. Done means REDCap data can use the CSV import flow for field mapping and validation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Currently the REDCap participant import via API functionality has two issues:

  • it uses hard-coded mapping of redcap fields based entirely off an example redcap instrument set up by Australian Genomics ages ago (application/integration/src/mapData.ts). Other redcap instruments may have different field names for particpant data. Current approach may result in empty fields.
  • there is no validation of input from redcap (see screenshot below for an example of malicious prefill data.), nor is there an easy way to include user input validation with current set up (apart from silently dropping emails that have bad prefill data associated with them). It is important to note that PR #937 adds backend user input validation, so any potentially malicious prefill not be saved to the database.
Image

One way to address both of the issues above is to call the REDCap api, and then feed the data to the CSV import modal. This would allow study admins to map diverse field names correctly, while also giving visual feedback about invalid data.

I'm working on #937 PR (related to #891). I propose this issue is out of scope for #937 (beyond adding backend validation).

Lingua principale
TypeScript
Stelle
4
Fork
0
Merge medio
14h 50m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Garvan-Data-Science-Platform/ctrl

Tutte le issue di Garvan-Data-Science-Platform/ctrl

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.