Class HealthEntity
Health entity object
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class HealthEntityProperties
Assertions
Declaration
[JsonProperty(PropertyName = "assertions")]
public List<AssertionDetails> Assertions { get; set; }Property Value
| Type | Description | 
|---|---|
| List<AssertionDetails> | list of all assertions associated with this entity. | 
Category
Declaration
[JsonProperty(PropertyName = "category")]
public string Category { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Entity category e.g, MEDICAL_CONDITION, MEDICATION, GENERAL, ANATOMY | 
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique id of the entity | 
Remarks
Required
Length
Declaration
[Required(ErrorMessage = "Length is required.")]
[JsonProperty(PropertyName = "length")]
public int? Length { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | Length of entity text | 
Remarks
Required
MatchedConcepts
Declaration
[JsonProperty(PropertyName = "matchedConcepts")]
public List<MelConcept> MatchedConcepts { get; set; }Property Value
| Type | Description | 
|---|---|
| List<MelConcept> | This contains the list of matched concepts which are ranked by the relevant score with the input text | 
Offset
Declaration
[Required(ErrorMessage = "Offset is required.")]
[JsonProperty(PropertyName = "offset")]
public int? Offset { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | The number of Unicode code points preceding this entity in the submitted text. | 
Remarks
Required
Score
Declaration
[Required(ErrorMessage = "Score is required.")]
[JsonProperty(PropertyName = "score")]
public double Score { get; set; }Property Value
| Type | Description | 
|---|---|
| double | Score or confidence for detected entity. | 
Remarks
Required
SubType
Declaration
[JsonProperty(PropertyName = "subType")]
public string SubType { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Sub-type of entity text like GPE for LOCATION type | 
Text
Declaration
[Required(ErrorMessage = "Text is required.")]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Entity text like name of person, location, and so on. | 
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Type of entity text like PER, LOC. | 
Remarks
Required