-
Notifications
You must be signed in to change notification settings - Fork 0
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
Move MedReq and Allergy references to end of table #295
Conversation
mr.authoredOn, | ||
mr.authoredOn_month, | ||
|
||
concat('MedicationRequest/', mr.id) AS medicationrequest_ref, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a little hard to see because I rearranged how this table gets generated (to more easily inject the code triplet in the middle of the list). But this line here is new - I added it because it seems standard for core tables to have this kind of field (and it makes sense).
9fff4c6
to
1bf4f27
Compare
BOOL_OR(ec.table_name = 'condition') | ||
BOOL_OR(ec.table_name = 'allergyintolerance') | ||
AND BOOL_OR(ec.table_name = 'condition') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is from a previous PR where I forgot to regenerate SQL after making a change.
Since the current flow is to generate SQL from test data, we could add a check in the CI to regenerate SQL and see if there are any changes - failing the PR if so... Just a thought for later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#182 - it's been hanging around for a bit, but it remains a good idea.
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
Checklist
docs/
needs to be updatedgenerate-md
core
study fields that not in US Core, update our list of those incore-study-details.md
manifest.toml