Medical-Event-Data-Standard / meds_etl

A collection of ETLs from common data formats to Medical Event Data Standard
Apache License 2.0
24 stars 5 forks source link

Single `meds` entrypoint for command line tools #43

Open tompollard opened 4 weeks ago

tompollard commented 4 weeks ago

It would be nice to have a single entrypoint for the meds command line tools. e.g.

meds convert --from omop --to meds [OMOP_PATH] [MEDS_PATH]
meds convert --from meds --to omop [MEDS_PATH] [OMOP_PATH]
meds convert --from mimic --to meds [MIMIC_PATH] [MEDS_PATH]

This would be more flexible and enable a single help command meds --help. Not sure how best to manage a single entrypoint across multiple repos.

@rafgia mentioned that he was interested in exploring possibility of converting from MEDS to other formats (e.g. MEDS -> MIMIC). Restructuring entrypoints might be an early step in implementing this?

EthanSteinberg commented 4 weeks ago

Yeah, this seems like a really good idea.

I probably wouldn't do a single entrypoint for meds in general, but a single entry point for meds_etl is a great suggestion.