Skip to content

Commit 49889eb

Browse files
gils-msaviyerMSFT
authored andcommitted
Add missing Entity Types and Relation Types (Azure#22322)
* Add missing Entity Types and Relation Types * Fix JSON style issue * Align healthcare document result to use DocumentDetectedLanguage object
1 parent 801006e commit 49889eb

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

dev/cognitiveservices/data-plane/Language/analyzetext.json

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@
871871
"$ref": "#/definitions/HealthcareEntitiesDocumentResult"
872872
},
873873
{
874-
"$ref": "#/definitions/DocumentDetectedLanguageString"
874+
"$ref": "#/definitions/DocumentDetectedLanguage"
875875
}
876876
]
877877
},
@@ -926,6 +926,7 @@
926926
"BodyStructure",
927927
"Age",
928928
"Gender",
929+
"Ethnicity",
929930
"ExaminationName",
930931
"Date",
931932
"Direction",
@@ -934,21 +935,30 @@
934935
"MeasurementUnit",
935936
"RelationalOperator",
936937
"Time",
938+
"Course",
937939
"GeneOrProtein",
938940
"Variant",
941+
"Expression",
942+
"MutationType",
939943
"AdministrativeEvent",
940944
"CareEnvironment",
941945
"HealthcareProfession",
942946
"Diagnosis",
943947
"SymptomOrSign",
944948
"ConditionQualifier",
949+
"ConditionScale",
945950
"MedicationClass",
946951
"MedicationName",
947952
"Dosage",
948953
"MedicationForm",
949954
"MedicationRoute",
950955
"FamilyRelation",
951-
"TreatmentName"
956+
"TreatmentName",
957+
"Allergen",
958+
"Employment",
959+
"LivingStatus",
960+
"SubstanceUse",
961+
"SubstanceUseAmount"
952962
]
953963
},
954964
"subcategory": {
@@ -1007,17 +1017,30 @@
10071017
"type": "string",
10081018
"enum": [
10091019
"Abbreviation",
1020+
"BodySiteOfCondition",
1021+
"BodySiteOfTreatment",
1022+
"CourseOfCondition",
1023+
"CourseOfExamination",
1024+
"CourseOfMedication",
1025+
"CourseOfTreatment",
10101026
"DirectionOfBodyStructure",
10111027
"DirectionOfCondition",
10121028
"DirectionOfExamination",
10131029
"DirectionOfTreatment",
10141030
"DosageOfMedication",
1031+
"ExaminationFindsCondition",
1032+
"ExpressionOfGene",
1033+
"ExpressionOfVariant",
10151034
"FormOfMedication",
1035+
"FrequencyOfCondition",
10161036
"FrequencyOfMedication",
10171037
"FrequencyOfTreatment",
1038+
"MutationTypeOfGene",
1039+
"MutationTypeOfVariant",
10181040
"QualifierOfCondition",
10191041
"RelationOfExamination",
10201042
"RouteOfMedication",
1043+
"ScaleOfCondition",
10211044
"TimeOfCondition",
10221045
"TimeOfEvent",
10231046
"TimeOfExamination",
@@ -1026,7 +1049,8 @@
10261049
"UnitOfCondition",
10271050
"UnitOfExamination",
10281051
"ValueOfCondition",
1029-
"ValueOfExamination"
1052+
"ValueOfExamination",
1053+
"VariantOfGene"
10301054
],
10311055
"x-ms-enum": {
10321056
"name": "relationType",
@@ -3466,15 +3490,6 @@
34663490
}
34673491
}
34683492
},
3469-
"DocumentDetectedLanguageString": {
3470-
"type": "object",
3471-
"properties": {
3472-
"detectedLanguage": {
3473-
"type": "string",
3474-
"description": "If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document."
3475-
}
3476-
}
3477-
},
34783493
"DocumentError": {
34793494
"type": "object",
34803495
"required": [

0 commit comments

Comments
 (0)