-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Annotator & Deidentifier Versions Also renames docker container networks. * Add Scripts for Generating Deidentifier Client SDK * Add Auto-Generated API Client * Update ToolDependencies Reference Keeps pace with the schema update. * Update ToolDependency Member Names * Update Member Name of Note Type * Add Contact & ID to Named Annotation Types * Add New Annotation Types to Annotation Table * Update Web Client Version Number
- Loading branch information
1 parent
e406d72
commit 1834ffe
Showing
37 changed files
with
1,519 additions
and
85 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apis/DeidentifiedNoteApi.ts | ||
apis/HealthCheckApi.ts | ||
apis/ToolApi.ts | ||
apis/index.ts | ||
index.ts | ||
models/AnnotationSet.ts | ||
models/DateOffsetConfig.ts | ||
models/DeidentificationStep.ts | ||
models/DeidentifyRequest.ts | ||
models/DeidentifyResponse.ts | ||
models/HealthCheck.ts | ||
models/License.ts | ||
models/MaskingCharConfig.ts | ||
models/ModelError.ts | ||
models/Note.ts | ||
models/TextAnnotation.ts | ||
models/TextContactAnnotation.ts | ||
models/TextContactAnnotationAllOf.ts | ||
models/TextDateAnnotation.ts | ||
models/TextDateAnnotationAllOf.ts | ||
models/TextIdAnnotation.ts | ||
models/TextIdAnnotationAllOf.ts | ||
models/TextPersonNameAnnotation.ts | ||
models/TextPhysicalAddressAnnotation.ts | ||
models/TextPhysicalAddressAnnotationAllOf.ts | ||
models/Tool.ts | ||
models/ToolDependencies.ts | ||
models/index.ts | ||
runtime.ts |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.0.1 | ||
5.1.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
@@ -14,10 +14,18 @@ | |
|
||
import { exists, mapValues } from '../runtime'; | ||
import { | ||
TextContactAnnotation, | ||
TextContactAnnotationFromJSON, | ||
TextContactAnnotationFromJSONTyped, | ||
TextContactAnnotationToJSON, | ||
TextDateAnnotation, | ||
TextDateAnnotationFromJSON, | ||
TextDateAnnotationFromJSONTyped, | ||
TextDateAnnotationToJSON, | ||
TextIdAnnotation, | ||
TextIdAnnotationFromJSON, | ||
TextIdAnnotationFromJSONTyped, | ||
TextIdAnnotationToJSON, | ||
TextPersonNameAnnotation, | ||
TextPersonNameAnnotationFromJSON, | ||
TextPersonNameAnnotationFromJSONTyped, | ||
|
@@ -52,6 +60,18 @@ export interface AnnotationSet { | |
* @memberof AnnotationSet | ||
*/ | ||
textPhysicalAddressAnnotations: Array<TextPhysicalAddressAnnotation>; | ||
/** | ||
* ID annotations in a text | ||
* @type {Array<TextIdAnnotation>} | ||
* @memberof AnnotationSet | ||
*/ | ||
textIdAnnotations: Array<TextIdAnnotation>; | ||
/** | ||
* Contact annotations in a text | ||
* @type {Array<TextContactAnnotation>} | ||
* @memberof AnnotationSet | ||
*/ | ||
textContactAnnotations: Array<TextContactAnnotation>; | ||
} | ||
|
||
export function AnnotationSetFromJSON(json: any): AnnotationSet { | ||
|
@@ -67,6 +87,8 @@ export function AnnotationSetFromJSONTyped(json: any, ignoreDiscriminator: boole | |
'textDateAnnotations': ((json['textDateAnnotations'] as Array<any>).map(TextDateAnnotationFromJSON)), | ||
'textPersonNameAnnotations': ((json['textPersonNameAnnotations'] as Array<any>).map(TextPersonNameAnnotationFromJSON)), | ||
'textPhysicalAddressAnnotations': ((json['textPhysicalAddressAnnotations'] as Array<any>).map(TextPhysicalAddressAnnotationFromJSON)), | ||
'textIdAnnotations': ((json['textIdAnnotations'] as Array<any>).map(TextIdAnnotationFromJSON)), | ||
'textContactAnnotations': ((json['textContactAnnotations'] as Array<any>).map(TextContactAnnotationFromJSON)), | ||
}; | ||
} | ||
|
||
|
@@ -82,6 +104,8 @@ export function AnnotationSetToJSON(value?: AnnotationSet | null): any { | |
'textDateAnnotations': ((value.textDateAnnotations as Array<any>).map(TextDateAnnotationToJSON)), | ||
'textPersonNameAnnotations': ((value.textPersonNameAnnotations as Array<any>).map(TextPersonNameAnnotationToJSON)), | ||
'textPhysicalAddressAnnotations': ((value.textPhysicalAddressAnnotations as Array<any>).map(TextPhysicalAddressAnnotationToJSON)), | ||
'textIdAnnotations': ((value.textIdAnnotations as Array<any>).map(TextIdAnnotationToJSON)), | ||
'textContactAnnotations': ((value.textContactAnnotations as Array<any>).map(TextContactAnnotationToJSON)), | ||
}; | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
@@ -73,9 +73,11 @@ export interface DeidentificationStep { | |
* @enum {string} | ||
*/ | ||
export enum DeidentificationStepAnnotationTypesEnum { | ||
PhysicalAddress = 'text_physical_address', | ||
Date = 'text_date', | ||
PersonName = 'text_person_name' | ||
PersonName = 'text_person_name', | ||
PhysicalAddress = 'text_physical_address', | ||
Id = 'text_id', | ||
Contact = 'text_contact' | ||
} | ||
|
||
export function DeidentificationStepFromJSON(json: any): DeidentificationStep { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
@@ -36,7 +36,7 @@ export interface Note { | |
* @type {string} | ||
* @memberof Note | ||
*/ | ||
noteType: string; | ||
type: string; | ||
/** | ||
* The ID of the FHIR patient | ||
* @type {string} | ||
|
@@ -57,7 +57,7 @@ export function NoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): Note | |
|
||
'identifier': json['identifier'], | ||
'text': json['text'], | ||
'noteType': json['noteType'], | ||
'type': json['type'], | ||
'patientId': json['patientId'], | ||
}; | ||
} | ||
|
@@ -73,7 +73,7 @@ export function NoteToJSON(value?: Note | null): any { | |
|
||
'identifier': value.identifier, | ||
'text': value.text, | ||
'noteType': value.noteType, | ||
'type': value.type, | ||
'patientId': value.patientId, | ||
}; | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
* NLP Sandbox PHI Deidentifier API | ||
* # Introduction 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. # Examples - [NLP Sandbox PHI Deidentifier](https://github.com/nlpsandbox/phi-deidentifier) | ||
* | ||
* The version of the OpenAPI document: 1.0.1 | ||
* Contact: [email protected] | ||
* The version of the OpenAPI document: 1.1.2 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
|
Oops, something went wrong.