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

fix!: use correct representation of Coding object in mappings #221

Merged
merged 11 commits into from
Jan 29, 2025

Conversation

korikuzma
Copy link
Member

@korikuzma korikuzma commented Jan 18, 2025

close #220

  • correct Coding representation
    • system MUST use iriReference, not a free-text label
    • code MUST use syntax defined by the system
    • id will use record concept_id
  • NAMESPACE_TO_SYSTEM_URI is now a MappingProxyType
  • Removes SYSTEM_URI_TO_NAMESPACE mapping (since it's no longer needed)
  • Removes unused NamespacePrefix members (if needed, will be added back in NamespacePrefix contains external sources that we don't capture #214):
    • COHD, DECIPHER, HP, HPO, ICD9, ICD11, IDO, MF, MP, MPATH, NIFSTD, OBI, OGMS, PATO, SCDO, WIKIPEDIA, WIKIDATA

close #220

* `system` MUST use `iriReference`, not a free-text label
* `code` MUST use syntax defined by the `system`
* `id` will use record `concept_id`
@korikuzma korikuzma added bug Something isn't working priority:high High priority labels Jan 18, 2025
@korikuzma korikuzma self-assigned this Jan 18, 2025
@korikuzma korikuzma added priority:medium Medium priority and removed priority:high High priority labels Jan 20, 2025
src/disease/query.py Outdated Show resolved Hide resolved
@korikuzma korikuzma marked this pull request as ready for review January 21, 2025 16:30
@korikuzma korikuzma requested a review from jsstevenson January 21, 2025 16:30
src/disease/schemas.py Outdated Show resolved Hide resolved
src/disease/schemas.py Outdated Show resolved Hide resolved
@korikuzma korikuzma requested review from jsstevenson and removed request for jsstevenson January 22, 2025 15:11
Copy link

This PR is stale because it has been open 3 day(s) with no activity. Please review this PR.

@github-actions github-actions bot added the stale label Jan 27, 2025
@korikuzma korikuzma removed the stale label Jan 27, 2025
@korikuzma
Copy link
Member Author

Meeting with Alex tomorrow to discuss this

@korikuzma
Copy link
Member Author

@jsstevenson looks like the MONDO changes are already in. Ready for your re-review

@korikuzma korikuzma removed the request for review from ahwagner January 28, 2025 18:24
jsstevenson
jsstevenson previously approved these changes Jan 28, 2025
@korikuzma korikuzma merged commit 81a9fd3 into main Jan 29, 2025
24 checks passed
@korikuzma korikuzma deleted the issue-220 branch January 29, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:medium Medium priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coding object in mappings is not being represented correctly
4 participants