Skip to content

Commit

Permalink
Add templates & non-phenotype patterns (addresses #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsgoncalves committed Jan 2, 2024
1 parent 8315134 commit fc9cd76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion code/resources/blocklist_regexps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
.*[Ll]anguage [Uu]sed.*
.*[Ii]nterpreter [Uu]sed.*
.*Dietary (.*) sample weight.*
.* 2 year weights
Reasons for Not Done
Pool identification number
Respondent sequence number
Respondent sequence number
Now attend headstart
What does Dr say .* should be
Who was it that died
How do you get to .*
6 changes: 6 additions & 0 deletions code/resources/templates.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
Ever been told you have (.*)
Ever been told you had (.*)
Ever told[ you]? had[ any]? (.*)
Ever been told of (.*)
Parents ever told had (.*);:;family history
Ever treated for (.*)
(.*) treated by (.*) doctor
Close blood relative have (.*);:;family history
Doctor told you have (.*)
Doctor ever told you have (.*)
Ever told by MD you had (.*)
First time being told to have (.*)
Age when first had (.*);:;age
Age when told you had (.*);:;age
Age when (.*) first diagnosed;:;age
Expand All @@ -30,6 +33,8 @@ HH Ref Person (.*)
(.*) eaten during past 30 days
(.*) eaten in past 30 days
Num times (.*) eaten in past 30 days
.* Did you eat (.*) rest of year
.* Did you eat (.*)
Had (.*) in last 30 minutes\?
Excluded per (.*)
Amount of (time )spend (in) (.*)
Expand Down Expand Up @@ -57,5 +62,6 @@ Location [A-Za-z]+: (.*)
(.*): temporal pattern
(.*): how long to develop
(.*) exam status
Under/over 50 when (.*) .* time
(.*) @ [A-z 0-9]+
(.*)\?

0 comments on commit fc9cd76

Please sign in to comment.