Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Self-mappings for OCL imports #860

Closed
jamlung-ri opened this issue Jul 30, 2021 · 1 comment
Closed

Support Self-mappings for OCL imports #860

jamlung-ri opened this issue Jul 30, 2021 · 1 comment
Assignees
Labels
api2 OCL API v2 enhancement New feature or request
Milestone

Comments

@jamlung-ri
Copy link
Contributor

Currently, it appears that we cannot import a mapping that has the same concept as the "from" and "to" concepts. There are use cases that require this, however.

Example mapping from a bulk import file that should be supported:
{"type":"Mapping","map_type":"Associated Observations","to_concept_url":"/orgs/Regenstrief-Institute/sources/LOINC-3/concepts/81323-8/","from_concept_url":"/orgs/Regenstrief-Institute/sources/LOINC-3/concepts/81323-8/","source":"LOINC-3","owner_type":"Organization","owner":"Regenstrief-Institute"}

@jamlung-ri jamlung-ri added this to the Sprint 16 milestone Jul 30, 2021
@jamlung-ri jamlung-ri added Epic and removed Epic labels Jul 30, 2021
@snyaggarwal snyaggarwal added api2 OCL API v2 enhancement New feature or request labels Aug 2, 2021
snyaggarwal added a commit to OpenConceptLab/oclapi2 that referenced this issue Aug 2, 2021
@jamlung-ri
Copy link
Contributor Author

I was able to import a self-mapping in QA. Link: https://app.qa.openconceptlab.org/#/orgs/Regenstrief-Institute/sources/LOINC-3/mappings/572811/

Just for fun, I also imported fake mappings into QA that included concepts that were not part of the source, and these seemed to work well too. Link: https://app.qa.openconceptlab.org/#/orgs/Regenstrief-Institute/sources/LOINC-3/mappings/?q=&isTable=true&isList=false&isSplit=false&page=1&exactMatch=off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api2 OCL API v2 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants