v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1376177324.7 KB
projects

Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities.

post/v1/{+nlpService}:analyzeEntities

Path parameters

nlpServicestring required

The resource name of the service of the form: "projects/{project_id}/locations/{location_id}/services/nlp".

Request body

alternativeOutputFormat'ALTERNATIVE_OUTPUT_FORMAT_UNSPECIFIED' | 'FHIR_BUNDLE'

Optional. Alternative output format to be generated based on the results of analysis.

licensedVocabulariesstring[]

A list of licensed vocabularies to use in the request, in addition to the default unlicensed vocabularies.

documentContentstring

document_content is a document to be annotated.

Response

Successful response