Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace HealthEntity

Health entity object

Properties

Optional assertions

assertions: Array<AssertionDetails>

list of all assertions associated with this entity.

Optional category

category: undefined | string

Entity category e.g, MEDICAL_CONDITION, MEDICATION, GENERAL, ANATOMY

id

id: string

Unique id of the entity

length

length: number

Length of entity text Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional matchedConcepts

matchedConcepts: Array<MelConcept>

This contains the list of matched concepts which are ranked by the relevant score with the input text

offset

offset: number

The number of Unicode code points preceding this entity in the submitted text. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

score

score: number

Score or confidence for detected entity. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional subType

subType: undefined | string

Sub-type of entity text like GPE for LOCATION type

text

text: string

Entity text like name of person, location, and so on.

type

type: string

Type of entity text like PER, LOC.

Functions

getDeserializedJsonObj

getJsonObj