Skip to content
New issue

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

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

Already on GitHub? # to your account

Update postgres-make-concepts.sql #1494

Closed
wants to merge 1 commit into from
Closed

Conversation

trostalski
Copy link
Contributor

Looks to me like the file medication/norepinephrine.sql is missing here. Therefore, the scripts for the dependent tables are failing (and also score/sofa.sql which also seems to be dependent). 😄

Looks to me like the file `medication/norepinephrine.sql` is missing here. Therefore, the scripts for the dependent tables are failing (and also `score/sofa.sql` which also seems to be dependent). 😄
alistairewj added a commit that referenced this pull request Mar 23, 2023
was due to a regex match succeeding against similarly named
norepinephrine_equivalent_dose. fix was to change to exact
matching with grep. re-ran to regenerate psql concepts.
fixed #1494
@alistairewj
Copy link
Member

Thanks for highlighting this. The postgres-make-concepts script is actually automatically generated by convert_bigquery_to_postgres.sh. The bug is that it skipped adding medication.norepinephrine because the check was a regex which incorrectly matched against medication.norepinephrine_equivalent_dose. Fixing it in an upcoming PR.

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

Successfully merging this pull request may close these issues.

2 participants