Table 1.
Examples of regular expressions used for matching test mentions and values.
| Laboratory/Test | Regular expression for mention | Regular expression for value |
|---|---|---|
| Glucose (for Diabetes mellitus) | (fasting)?(blood)?(glucose|\bGLU (−poc)?\b|\bBG\b|(blood)sugar(s)?| \bFS\b|\bBS\b|fingerstick|\bFG\b) | (?<!/|\d)(\d\d\d?)(−\d\d\d)?(?!/|\d|\w) |
| Blood Pressure (for Hypertension) | (?<!\w)((s)?BP[s]?|b/p|((blood| systolic)[ ]+pressure[s]?)| hypertensive)[:]?(?!\w) | (?<!/|\d)(\d\d\d)/(\d\d\d?)(?!/\d|\d) |