Skip to content

Medication vignette updates + new variable names#10

Merged
rafdoodle merged 15 commits intodevfrom
style-guide-development
Feb 12, 2026
Merged

Medication vignette updates + new variable names#10
rafdoodle merged 15 commits intodevfrom
style-guide-development

Conversation

@rafdoodle
Copy link
Copy Markdown
Collaborator

Hello Doug,

Hope you are doing well. I have updated the last code chunk of recoding-medications.qmd to explain the derivation and use of anymed2 and 'diab_drug2 as intermediate medication variables. Such variables are duplicated from anymed and 'diab_drug and used to recode hypertension and diabetes, respectively, without the need of:

  • listing many required raw variables (atc_101a, atc_102a, etc.) in a single rec_with_table() call
  • using medication variables with multiple rows per respondent (meucatc and npi_25b)

I also deleted the Role column of variables.csv and made minor fixes to variable-details. Additionally, in the Variable naming section of AI.md, Claude and I derived new proposed snake_case names for all the derived variables of chmsflow.

Please let me know what you think.

Rafidul

DougManuel and others added 3 commits October 26, 2025 10:25
…ariables, and fixed databaseStart and variableStart columns for derived medication variables in variable-details
@rafdoodle rafdoodle linked an issue Feb 11, 2026 that may be closed by this pull request
@rafdoodle rafdoodle changed the title Medications updates + new variable names Medication vignette updates + new variable names Feb 11, 2026
@rafdoodle rafdoodle merged commit 04e9b07 into dev Feb 12, 2026
1 check passed
@rafdoodle rafdoodle deleted the style-guide-development branch February 12, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants