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 MedicationRequest: provide simple access to "Category" and "Encounter" #67

Closed
comorbidity opened this issue Jul 3, 2023 · 2 comments

Comments

@comorbidity
Copy link
Contributor Author

comorbidity commented Jul 3, 2023

https://hl7.org/fhir/medicationrequest-definitions.html#MedicationRequest.category

Example usage

select distinct cat_coding.code as category_code
from
core__medicationrequest mr,
unnest(mr.category) AS t (mr_cat),
unnest(mr_cat.coding) AS t (cat_coding)

@dogversioning
Copy link
Contributor

this is handled by the flattening table work done in #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants