Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Support multiple patient identifier mappings in transmart-copy #453

Open
gijskant opened this issue Sep 9, 2019 · 0 comments
Open

Support multiple patient identifier mappings in transmart-copy #453

gijskant opened this issue Sep 9, 2019 · 0 comments
Labels
transmart-copy Data uploader tool for TranSMART

Comments

@gijskant
Copy link
Contributor

gijskant commented Sep 9, 2019

Currently, transmart-copy fails if multiple identifier mappings are used for patients. In that case there will be multiple rows in patient_mapping.tsv for the same patient, which is rejected by transmart-copy: it expects exactly one row per patient, with the patient index in order.

It would be nice if the input format is more permissive. To check if a patient already exists, we could use as convention that always a mapping with source SUBJ_ID must be present. Other mappings will then be replaced such: all existing mappings deleted, mappings from the patient_mapping.tsv file added.

@gijskant gijskant added the transmart-copy Data uploader tool for TranSMART label Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
transmart-copy Data uploader tool for TranSMART
Projects
None yet
Development

No branches or pull requests

1 participant