Skip to content

Commit 93b4c39

Browse files
committed
update spec to allow for list of values
1 parent 546e5a4 commit 93b4c39

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

rfc/003-skip-values.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,33 +56,33 @@ values should be excluded from comparisons. This approach is beneficial because:
5656
and this system provides the flexibility to accommodate those changes.
5757

5858
The `skip_values` section will be defined at the algorithm level (not per pass) and will
59-
contain a list of conditions. Each condition will have two elements: `feature` and `value`.
60-
The `feature` specifies the field to which the condition applies, while `value` indicates
61-
the case-insensitive value to skip. A wildcard value `*` can be used for feature to apply
62-
the condition to all fields. Example:
59+
contain a list of conditions. Each condition will have two elements: `feature` and `values`.
60+
The `feature` specifies the field to which the condition applies, while `values` indicates
61+
the case-insensitive list of values to skip. The `*` wildcard can be used to apply in the
62+
`feature` field to apply the condition to all fields. Example:
6363

6464
```json
6565
...
6666
"skip_values": [
6767
{
6868
"feature": "NAME",
69-
"value": "John Doe"
69+
"values": ["John Doe", "Jane Doe"]
7070
},
7171
{
7272
"feature": "IDENTIFIER:SS",
73-
"value": "999-99-9999"
73+
"values": ["999-99-9999"]
7474
},
7575
{
7676
"feature": "*",
77-
"value": "unknown"
77+
"values": ["unknown", "not specified"]
7878
}
7979
]
8080
```
8181

8282
In this example, the algorithm will exclude fields from comparison if they match:
83-
- `John Doe` in the patient's name
83+
- `John Doe` or `Jane Doe` in the patient's name
8484
- `999-99-9999` in the patient's social security number
85-
- `unknown` in any patient field
85+
- `unknown` or `not specified` in any patient field
8686

8787
### Pre-Processing Details
8888

0 commit comments

Comments
 (0)