Skip to content

Commit 446132c

Browse files
authored
Update the default measurement of interest to be Hemoglobin A1c. (#61)
1 parent 2b9262d commit 446132c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: sql-snippets/snippets_setup.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ COHORT_QUERY <- str_glue('SELECT person_id FROM `{CDR}.person`') # Default to a
3131
MEASUREMENT_OF_INTEREST <- 'hemoglobin'
3232
# Tip: the next four parameters could be set programmatically using one row from
3333
# the result of measurements_of_interest_summary.sql
34-
MEASUREMENT_CONCEPT_ID <- 3000963 # Hemoglobin
35-
UNIT_CONCEPT_ID <- 8636 # gram per liter
34+
MEASUREMENT_CONCEPT_ID <- 3004410 # Hemoglobin A1c
35+
UNIT_CONCEPT_ID <- 8554 # percent
3636
MEASUREMENT_NAME <- '<this should be the measurement name>'
3737
UNIT_NAME <- '<this should be the unit name>'

Diff for: sql-snippets/snippets_setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_boxplot_fun_data(df):
2828
MEASUREMENT_OF_INTEREST = 'hemoglobin'
2929
# Tip: the next four parameters could be set programmatically using one row from
3030
# the result of measurements_of_interest_summary.sql
31-
MEASUREMENT_CONCEPT_ID = 3000963 # Hemoglobin
32-
UNIT_CONCEPT_ID = 8636 # gram per liter
31+
MEASUREMENT_CONCEPT_ID = 3004410 # Hemoglobin A1c
32+
UNIT_CONCEPT_ID = 8554 # percent
3333
MEASUREMENT_NAME = '<this should be the measurement name>'
3434
UNIT_NAME = '<this should be the unit name>'

0 commit comments

Comments
 (0)