Skip to content

Commit

Permalink
Update docs to clarify supported code fields
Browse files Browse the repository at this point in the history
  • Loading branch information
justin13601 committed Oct 26, 2024
1 parent 0cb8b1a commit 7121127
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,10 @@ normal_spo2:
Fields for a "plain" predicate:
- `code` (required): Must be one of the following:
- a string with `//` sequence separating the column name and column value.
- a list of strings as above in the form of `{any: \[???, ???, ...\]}`, which will match any of the listed codes.
- a regex in the form of `{regex: "???"}`, which will match any code that matches that regular expression.
- a string matching values in a column named `code` (for `MEDS` only).
- a string with a `//` sequence separating the column name and the matching column value (for `ESGPT` only).
- a list of strings as above in the form of `{any: \[???, ???, ...\]}` (or the corresponding expanded indented `YAML` format), which will match any of the listed codes.
- a regex in the form of `{regex: "???"}` (or the corresponding expanded indented `YAML` format), which will match any code that matches that regular expression.
- `value_min` (optional): Must be float or integer specifying the minimum value of the predicate, if the variable is presented as numerical values.
- `value_max` (optional): Must be float or integer specifying the maximum value of the predicate, if the variable is presented as numerical values.
- `value_min_inclusive` (optional): Must be a boolean specifying whether `value_min` is inclusive or not.
Expand Down

0 comments on commit 7121127

Please sign in to comment.