Hospitals

Filter

This filter identifies US hospitals in text.

Required Parameters

This filter has no required parameters.

Optional Parameters

Parameter
Description
Default Value
hospitalFilterStrategies
A list of filter strategies.
None
sensitivity
Controls the "fuzziness" of allowed values to account for misspellings and derivations. Valid values are low, medium, and high.
medium

Filter Strategies

The filter may have zero or more filter strategies. When no filter strategy is given the default strategy of REDACT is used. When multiple filter strategies are given the filter strategies will be applied in as they are listed. See Filter Strategies for details.
Strategy
Description
REDACT
Replace the sensitive text with a placeholder.
RANDOM_REPLACE
Replace the sensitive text with a similar, random value.
STATIC_REPLACE
Replace the sensitive text with a given value.
CRYPTO_REPLACE
Replace the sensitive text with its encrypted value.
HASH_SHA256_REPLACE
Replace the sensitive text with its SHA256 hash value.

Conditions

Each filter strategy may have one condition. See Conditions for details.
Conditional
Description
Operators
TOKEN
Compares the value of the sensitive text.
== , !=
CONTEXT
Compares the filtering context.
== , !=
CONFIDENCE
Compares the confidence in the sensitive text against a threshold value.
< , <=, > , >=, ==, !=

Example Filter Profile

1
{
2
"name": "hospitals-example",
3
"identifiers": {
4
"hospital": {
5
"sensitivity": "medium",
6
"hospitalFilterStrategies": [
7
{
8
"strategy": "REDACT",
9
"redactionFormat": "{{{REDACTED-%t}}}"
10
}
11
]
12
}
13
}
14
}
Copied!