From 50114392df901fabbd43b86f37b7bfe75cad04b8 Mon Sep 17 00:00:00 2001 From: tschaffter Date: Tue, 26 Jan 2021 21:18:01 -0800 Subject: [PATCH] Add /healthCheck to all services --- openapi/date-annotator/openapi.yaml | 4 ++++ openapi/person-name-annotator/openapi.yaml | 4 ++++ openapi/phi-deidentifier/openapi.yaml | 4 ++++ openapi/physical-address-annotator/openapi.yaml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/openapi/date-annotator/openapi.yaml b/openapi/date-annotator/openapi.yaml index 382e390a..1f0bfc91 100644 --- a/openapi/date-annotator/openapi.yaml +++ b/openapi/date-annotator/openapi.yaml @@ -19,6 +19,8 @@ info: This NLP tool detects date references in the clinical note specified and returns a list of date annotations. tags: + - name: HealthCheck + description: Operations about health checks - name: TextDateAnnotation description: Operations about text date annotations - name: Tool @@ -27,6 +29,8 @@ servers: - url: 'http://example.com/api/v1' - url: 'https://example.com/api/v1' paths: + /healthCheck: + $ref: '../commons/paths/healthCheck.yaml' /textDateAnnotations: $ref: 'paths/textDateAnnotations.yaml' /tool: diff --git a/openapi/person-name-annotator/openapi.yaml b/openapi/person-name-annotator/openapi.yaml index 3b1e77c4..0fb16e8e 100644 --- a/openapi/person-name-annotator/openapi.yaml +++ b/openapi/person-name-annotator/openapi.yaml @@ -19,6 +19,8 @@ info: This NLP tool detects references of person names in the clinical notes given as input and returns a list of person name annotations. tags: + - name: HealthCheck + description: Operations about health checks - name: TextPersonNameAnnotation description: Operations about text person name annotations - name: Tool @@ -27,6 +29,8 @@ servers: - url: 'http://example.com/api/v1' - url: 'https://example.com/api/v1' paths: + /healthCheck: + $ref: '../commons/paths/healthCheck.yaml' /textPersonNameAnnotations: $ref: 'paths/textPersonNameAnnotations.yaml' /tool: diff --git a/openapi/phi-deidentifier/openapi.yaml b/openapi/phi-deidentifier/openapi.yaml index 3df90e16..87d5ca99 100644 --- a/openapi/phi-deidentifier/openapi.yaml +++ b/openapi/phi-deidentifier/openapi.yaml @@ -20,6 +20,8 @@ info: tags: - name: DeidentifiedNotes description: Operations about deidentified notes + - name: HealthCheck + description: Operations about health checks - name: Tool description: Operations about this tool servers: @@ -28,6 +30,8 @@ servers: paths: /deidentifiedNotes: $ref: 'paths/deidentifiedNotes.yaml' + /healthCheck: + $ref: '../commons/paths/healthCheck.yaml' /tool: $ref: '../commons/paths/tool.yaml' /tool/dependencies: diff --git a/openapi/physical-address-annotator/openapi.yaml b/openapi/physical-address-annotator/openapi.yaml index 4a225d01..17aed082 100644 --- a/openapi/physical-address-annotator/openapi.yaml +++ b/openapi/physical-address-annotator/openapi.yaml @@ -19,6 +19,8 @@ info: This NLP tool detects references of physical addresses in the clinical notes given as input and returns a list of physical address annotations. tags: + - name: HealthCheck + description: Operations about health checks - name: TextPhysicalAddressAnnotation description: Operations about text physical address annotations - name: Tool @@ -27,6 +29,8 @@ servers: - url: 'http://example.com/api/v1' - url: 'https://example.com/api/v1' paths: + /healthCheck: + $ref: '../commons/paths/healthCheck.yaml' /textPhysicalAddressAnnotations: $ref: 'paths/textPhysicalAddressAnnotations.yaml' /tool: