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

core__observation missing "code_display" #338

Open
comorbidity opened this issue Jan 16, 2025 · 1 comment
Open

core__observation missing "code_display" #338

comorbidity opened this issue Jan 16, 2025 · 1 comment
Labels
data Issue with output data formats, or FHIR spec compliance

Comments

@comorbidity
Copy link
Contributor

https://github.com/smart-on-fhir/cumulus-library/blob/main/cumulus_library/studies/core/builder_observation.py

Probably what needs to happen is to interlace the LOINC dictionary from UMLS to hydrate Display names.

Example:

{coding=[{code=8713424, display=Temperature, system=https://fhir.cerner.com/96976f07-eccb-424c-9825-e0d0b887148b/codeSet/72, userselected=true, id=null, version=null}, {code=8310-5, display=null, system=http://loinc.org, userselected=null, id=null, version=null}], text=Temperature, id=null}

@comorbidity comorbidity added the data Issue with output data formats, or FHIR spec compliance label Jan 16, 2025
@dogversioning
Copy link
Contributor

Code/display values are in core__observation_dn_code - we did this to minimize the amount of data in the resource tables (especially observation, since it's huge regardless of what we do). You can always join to this table by code to get the display value if needed, hopefully after you've already filtered observations down.

If that's not sufficient, we can talk about alternate approaches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Issue with output data formats, or FHIR spec compliance
Projects
None yet
Development

No branches or pull requests

2 participants