Show / Hide Table of Contents

Class RelationEntity

The relation entities details for health ner.

Inheritance
object
RelationEntity
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class RelationEntity

Properties

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

id of the relation

Remarks

Required

ObjectId

Declaration
[Required(ErrorMessage = "ObjectId is required.")]
[JsonProperty(PropertyName = "objectId")]
public string ObjectId { get; set; }
Property Value
Type Description
string

Object entity of the relation. eg, MEDICINE_DOSAGE, MEDICINE_DURATION, MEASUREMENT

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

SubjectId

Declaration
[Required(ErrorMessage = "SubjectId is required.")]
[JsonProperty(PropertyName = "subjectId")]
public string SubjectId { get; set; }
Property Value
Type Description
string

Subject entity of the relation. eg,MEDICINE_NAME, EXAMINATION

Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type Description
string

Type of relation between subject entity and object entity. eg,EXAMINATION_MEASUREMENT, FREQUENCY, DOSAGE

Remarks

Required

In this article
Back to top