Investigate using CSV import Modal for REDCap participant import via API
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- data
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
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).
- 主要语言
- TypeScript
- 星标
- 4
- 派生
- 0
- 平均合并
- 8 小时 37 分钟
- 30 天内合并 PR
- 3
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Garvan-Data-Science-Platform/ctrl 的其他 Issue
-
backend enhancement
难度 2/5 1-3 小时 新手友好度 63/100
-
难度 1/5 1-3 小时 新手友好度 82/100
-
admin-client backend bug
难度 2/5 1-3 小时 新手友好度 76/100
-
backend bug
难度 2/5 1-3 小时 新手友好度 68/100
Garvan-Data-Science-Platform/ctrl#970 · 1 条评论 ·
-
backend bug
难度 2/5 1-3 小时 新手友好度 72/100
查看 Garvan-Data-Science-Platform/ctrl 的全部 Issue
相似的 Issue
-
area: aria/combobox gemini-triaged
难度 2/5 1-3 小时 新手友好度 78/100
angular/components#33973 ·
维护者通常 1 天内回复
-
bug priority: P2
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[bug] status, list and push crash with an uncaught NotInitializedError stack trace when teamai is not initialized可能已有人在做 @jay23606 今天认领。 未关闭bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 84/100
Tencent/teamai-cli#1227 ·
维护者通常 1 天内回复
-
[Tool]: Yap未关闭
难度 1/5 1-3 小时 新手友好度 62/100
withkarann/aifoxx#417 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
sindresorhus/eslint-plugin-unicorn#3921 ·
维护者通常 1 天内回复