detect_medical_phi: Detect Protected Health Information (PHI) in a source medical...

Description Usage Arguments Value Examples

View source: R/detect_medical_phi.R

Description

Detect Protected Health Information (PHI) in a source medical text

Usage

1

Arguments

text

A character string containing a text to entities analyze, or a character vector to perform analysis separately for each element.

language

A character string containing a two-letter language code. Currently only “en” is supported.

...

Additional arguments passed to comprehendHTTP.

Value

A data frame

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
  # simple example
  medical_detect_phi("Mrs. Smith comes in today complaining of shortness of breath.")
  
  txt <-c("Mrs. Smith comes in today.",
          "She is complaining of shortnesss of breath.")
  medical_detect_phi(txt)

## End(Not run)

aws.comprehend documentation built on April 14, 2020, 6:34 p.m.