This NLP tool takes as input a clinical note and returned a de-identified version of the note. This design of this API is a work in progress.
Returns the deidentified note
required | object (Note) A clinical note |
required | Array of objects (DeidentificationStep) A list of deidentification steps |
{- "deidentificationSteps": [
- {
- "confidenceThreshold": 20,
- "maskingCharConfig": {
- "maskingChar": "-"
}, - "annotationTypes": [
- "text_date"
]
}, - {
- "confidenceThreshold": 30,
- "maskingCharConfig": {
- "maskingChar": "#"
}, - "annotationTypes": [
- "text_person_name"
]
}, - {
- "confidenceThreshold": 20,
- "annotationTypeMaskConfig": { },
- "annotationTypes": [
- "text_location"
]
}
], - "note": {
- "identifier": "awesome-note",
- "text": "On 12/26/2020, Ms. Chloe Price met with Dr. Prescott in Seattle.",
- "type": "loinc:LP29684-5",
- "patientId": "awesome-patient"
}
}
{- "originalAnnotations": {
- "textDateAnnotations": [
- {
- "start": 42,
- "length": 10,
- "text": "10/26/2020",
- "dateFormat": "MM/DD/YYYY",
- "confidence": 95.5
}
], - "textPersonNameAnnotations": [
- {
- "start": 42,
- "length": 11,
- "text": "Chloe Price",
- "confidence": 95.5
}
], - "textLocationAnnotations": [
- {
- "start": 42,
- "length": 7,
- "text": "Seattle",
- "locationType": "city",
- "confidence": 95.5
}
], - "textIdAnnotations": [
- {
- "start": 42,
- "length": 11,
- "text": "203-11-4535",
- "idType": "ssn",
- "confidence": 95.5
}
], - "textContactAnnotations": [
- {
- "start": 42,
- "length": 11,
- "text": "dave@uw.edu",
- "contactType": "email",
- "confidence": 95.5
}
]
}, - "deidentifiedAnnotations": {
- "textDateAnnotations": [
- {
- "start": 42,
- "length": 10,
- "text": "10/26/2020",
- "dateFormat": "MM/DD/YYYY",
- "confidence": 95.5
}
], - "textPersonNameAnnotations": [
- {
- "start": 42,
- "length": 11,
- "text": "Chloe Price",
- "confidence": 95.5
}
], - "textLocationAnnotations": [
- {
- "start": 42,
- "length": 7,
- "text": "Seattle",
- "locationType": "city",
- "confidence": 95.5
}
], - "textIdAnnotations": [
- {
- "start": 42,
- "length": 11,
- "text": "203-11-4535",
- "idType": "ssn",
- "confidence": 95.5
}
], - "textContactAnnotations": [
- {
- "start": 42,
- "length": 11,
- "text": "dave@uw.edu",
- "contactType": "email",
- "confidence": 95.5
}
]
}, - "deidentifiedNote": {
- "identifier": "awesome-note",
- "text": "On 12/26/2020, Ms. Chloe Price met with Dr. Prescott in Seattle.",
- "type": "loinc:LP29684-5",
- "patientId": "awesome-patient"
}
}
{- "name": "awesome-nlp-tool",
- "version": "1.0.6",
- "license": "apache-2.0",
- "repository": "github:awesome-org/awesome-nlp-tool",
- "description": "An awesome NLP Tool that takes as input X and outputs Y.",
- "author": "Awesome Team",
- "authorEmail": "author@example.com",
- "type": "nlpsandbox:date-annotator",
- "apiVersion": "1.2.0"
}
{- "tools": [
- {
- "name": "awesome-nlp-tool",
- "version": "1.0.6",
- "license": "apache-2.0",
- "repository": "github:awesome-org/awesome-nlp-tool",
- "description": "An awesome NLP Tool that takes as input X and outputs Y.",
- "author": "Awesome Team",
- "authorEmail": "author@example.com",
- "type": "nlpsandbox:date-annotator",
- "apiVersion": "1.2.0"
}
]
}