Created
May 22, 2020 08:46
-
-
Save JonathanBowker/7ce363f868db033755d5dc73b6d30bca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dds_config": [ | |
{ | |
"info_type": { | |
"value": "Patients MRN 444-5-22222" | |
}, | |
"regex": { | |
"pattern": "[1-9]{3}-[1-9]{1}-[1-9]{5}" | |
}, | |
"confidence": "POSSIBLE", | |
"rules": [ | |
{ | |
"inclusion_rule": { | |
"regex": { | |
"pattern": "MRN" | |
}, | |
"proximity": 10 | |
} | |
}, | |
{ | |
"inclusion_rule": { | |
"regex": { | |
"pattern": "patient" | |
}, | |
"proximity": 10 | |
} | |
}, | |
{ | |
"inclusion_rule": { | |
"word_list": { | |
"words": [ | |
"example@example.com" | |
] | |
}, | |
"proximity": 50 | |
"matching_type": "FULL", | |
"confidence_adjustment": 85 | |
} | |
}, | |
{ | |
"inclusion_rule": { | |
"dictionary": { | |
"storage_path": { | |
"path": "s3://[PATH_TO_TXT_FILE]" | |
} | |
}, | |
"matching_type": "FULL", | |
"confidence_adjustment": 80 | |
} | |
}, | |
{ | |
"exclusion_rule": { | |
"dictionary": { | |
"storage_path": { | |
"path": "s3://[PATH_TO_TXT_FILE]" | |
} | |
}, | |
"matching_type": "FULL" | |
} | |
}, | |
{ | |
"exclusion_rule": { | |
"dictionary": { | |
"wordList": { | |
"words": [ | |
"TEST" | |
] | |
} | |
}, | |
"matching_type": "PARTIAL" | |
} | |
}, | |
{ | |
"exclusion_rule": { | |
"dictionary": { | |
"word_list": { | |
"words": [ | |
"example@example.com", | |
"example@example.com" | |
] | |
} | |
}, | |
"matching_type": "FULL" | |
} | |
} | |
] | |
} | |
], | |
"achieved_confidence": "VERY_LIKELY" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment