Skip to content

Commit a45d077

Browse files
authored
Merge pull request #100025 from yelsehrawy/ta4h-language-updates
Ta4h-language-updates
2 parents d69c84c + 4fc854a commit a45d077

File tree

4 files changed

+52
-5
lines changed

4 files changed

+52
-5
lines changed

articles/cognitive-services/language-service/text-analytics-for-health/how-to/call-api.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ By default, Text Analytics for health will use the latest available AI model on
3838

3939
| Supported Versions | latest version |
4040
|--|--|
41+
| `2022-08-15-preview` | `2022-08-15-preview` |
4142
| `2022-03-01` | `2022-03-01` |
4243
| `2021-05-15` | `2021-05-15` |
4344

@@ -61,7 +62,7 @@ The [Text Analytics for health container](use-containers.md) uses separate model
6162

6263
### Input languages
6364

64-
Currently the Text Analytics for health hosted API only [supports](../language-support.md) the English language. Additional languages are currently in preview when deploying the API in a container, as detailed [under Text Analytics for health languages support](../language-support.md).
65+
The Text Analytics for health supports English in addition to multiple languages that are currently in preview. You can use the hosted API or deploy the API in a container, as detailed [under Text Analytics for health languages support](../language-support.md).
6566

6667
## Submitting data
6768

@@ -75,6 +76,17 @@ Analysis is performed upon receipt of the request. If you send a request using t
7576
[!INCLUDE [asynchronous-result-availability](../../includes/async-result-availability.md)]
7677

7778

79+
## Submitting a Fast Healthcare Interoperability Resources (FHIR) request
80+
81+
To receive your result using the **FHIR** structure, you must send the FHIR version in the API request body. You can also send the **document type** as a parameter to the FHIR API request body. If the request does not specify a document type, the value is set to none.
82+
83+
| Parameter Name | Type | Value |
84+
|--|--|--|
85+
| fhirVersion | string | `4.0.1` |
86+
| documentType | string | `ClinicalTrial`, `Consult`, `DischargeSummary`, `HistoryAndPhysical`, `Imaging`, `None`, `Pathology`, `ProcedureNote`, `ProgressNote`|
87+
88+
89+
7890
## Getting results from the feature
7991

8092
Depending on your API request, and the data you submit to the Text Analytics for health, you will get:

articles/cognitive-services/language-service/text-analytics-for-health/language-support.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,40 @@ Use this article to learn which natural languages are supported by Text Analytic
1919

2020
## Hosted API Service
2121

22-
The hosted API service supports English language, model version 03-01-2022.
22+
The hosted API service supports English language, model version 03-01-2022. Additional languages, English, Spanish, French, German Italian, Portuguese and Hebrew are supported with model version 2022-08-15-preview.
23+
24+
When structuring the API request, the relevant language tags must be added for these languages:
25+
26+
```
27+
English – “en”
28+
Spanish – “es”
29+
French - “fr”
30+
German – “de”
31+
Italian – “it”
32+
Portuguese – “pt”
33+
Hebrew – “he”
34+
```
35+
```json
36+
json
37+
38+
{
39+
"analysisInput": {
40+
"documents": [
41+
{
42+
"text": "El médico prescrió 200 mg de ibuprofeno.",
43+
"language": "es",
44+
"id": "1"
45+
}
46+
]
47+
},
48+
"tasks": [
49+
{
50+
"taskName": "analyze 1",
51+
"kind": "Healthcare",
52+
}
53+
]
54+
}
55+
```
2356

2457
## Docker container
2558

articles/cognitive-services/language-service/text-analytics-for-health/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ zone_pivot_groups: programming-languages-text-analytics
1919
# Quickstart: Using Text Analytics for health client library and REST API
2020

2121
> [!IMPORTANT]
22-
> Fast Healthcare Interoperability Resources (FHIR) structuring is available for preview using the Language REST API. The client libraries are not currently supported.
22+
> Fast Healthcare Interoperability Resources (FHIR) structuring is available for preview using the Language REST API. The client libraries are not currently supported. [Learn more](./how-to/call-api.md) on how to use FHIR structuring in your API call.
2323
2424
::: zone pivot="programming-language-csharp"
2525

articles/cognitive-services/language-service/whats-new.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ Azure Cognitive Service for Language is updated on an ongoing basis. To stay up-
2828
* Expanded language support for:
2929
* [Sentiment analysis](./sentiment-opinion-mining/language-support.md)
3030
* [Key phrase extraction](./key-phrase-extraction/language-support.md)
31-
* [Named entity recognition](./key-phrase-extraction/language-support.md)
31+
* [Named entity recognition](./named-entity-recognition/language-support.md)
32+
* [Text Analytics for health](./text-analytics-for-health/language-support.md)
3233
* [Multi-region deployment](./concepts/custom-features/multi-region-deployment.md) and [project asset versioning](./concepts/custom-features/project-versioning.md) for:
3334
* [Conversational language understanding](./conversational-language-understanding/overview.md)
3435
* [Orchestration workflow](./orchestration-workflow/overview.md)
@@ -40,7 +41,8 @@ Azure Cognitive Service for Language is updated on an ongoing basis. To stay up-
4041
* [Conversational language understanding](./conversational-language-understanding/service-limits.md#regional-availability)
4142
* [Orchestration workflow](./orchestration-workflow/service-limits.md#regional-availability)
4243
* [Custom text classification](./custom-text-classification/service-limits.md#regional-availability)
43-
* [Custom named entity recognition](./custom-named-entity-recognition/service-limits.md#regional-availability)
44+
* [Custom named entity recognition](./custom-named-entity-recognition/service-limits.md#regional-availability)
45+
* Document type as an input supported for [Text Analytics for health](./text-analytics-for-health/how-to/call-api.md) FHIR requests
4446

4547
## September 2022
4648

0 commit comments

Comments
 (0)