Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Investigate using CSV import Modal for REDCap participant import via API

Đang mở
#962 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
TypeScript
Star
4
Fork
0
Merge trung bình
14 giờ 50 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Garvan-Data-Science-Platform/ctrl

Tất cả issue của Garvan-Data-Science-Platform/ctrl

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.