Skip to content

Commit 6cb5f52

Browse files
prajwalkumar-msftPrajwal Kumar
andauthored
[HealthInsights] Publish Private branch prajwalkumar/healthinsights (#24079)
* Update OncoPhenotype examples * Update dates for consistency --------- Co-authored-by: Prajwal Kumar <[email protected]>
1 parent de54b00 commit 6cb5f52

File tree

2 files changed

+54
-68
lines changed

2 files changed

+54
-68
lines changed

specification/cognitiveservices/HealthInsights/healthinsights.openapi/examples/2023-03-01-preview/SuccessfulOncoPhenotypeRequest.json

Lines changed: 12 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,35 @@
55
"endpoint": "{endpoint}",
66
"api-version": "2023-03-01-preview",
77
"body": {
8+
"configuration": {
9+
"checkForCancerCase": true,
10+
"includeEvidence": false
11+
},
812
"patients": [
913
{
10-
"id": "Patient ID Example 1",
11-
"info": {
12-
"sex": "female",
13-
"birthDate": "1975-09-27"
14-
},
14+
"id": "patient1",
1515
"data": [
1616
{
17-
"type": "note",
18-
"clinicalType": "historyAndPhysical",
19-
"id": "1",
20-
"language": "en",
21-
"createdDateTime": "2021-10-26T16:54:44.739Z",
22-
"content": {
23-
"sourceType": "inline",
24-
"value": "Sample note 1"
25-
}
26-
},
27-
{
28-
"type": "note",
29-
"clinicalType": "imaging",
30-
"id": "2",
17+
"kind": "note",
18+
"clinicalType": "pathology",
19+
"id": "document1",
3120
"language": "en",
32-
"createdDateTime": "2020-11-26T16:39:44.739Z",
21+
"createdDateTime": "2022-01-01T00:00:00",
3322
"content": {
3423
"sourceType": "inline",
35-
"value": "Sample note 2"
24+
"value": "Laterality: Left \n Tumor type present: Invasive duct carcinoma; duct carcinoma in situ \n Tumor site: Upper inner quadrant \n Invasive carcinoma \n Histologic type: Ductal \n Size of invasive component: 0.9 cm \n Histologic Grade - Nottingham combined histologic score: 1 out of 3 \n In situ carcinoma (DCIS) \n Histologic type of DCIS: Cribriform and solid \n Necrosis in DCIS: Yes \n DCIS component of invasive carcinoma: Extensive \n"
3625
}
3726
}
3827
]
3928
}
40-
],
41-
"configuration": {
42-
"verbose": true,
43-
"includeEvidence": true,
44-
"inferenceTypes": [
45-
"histology",
46-
"clinicalStageT"
47-
],
48-
"checkForCancerCase": false
49-
}
29+
]
5030
}
5131
},
5232
"responses": {
5333
"202": {
5434
"headers": {
5535
"Operation-Location": "{endpoint}/healthinsights/oncophenotype/jobs/{jobId}?api-version=2023-03-01-preview",
56-
"Retry-After": "1"
36+
"Retry-After": "5"
5737
}
5838
}
5939
}

specification/cognitiveservices/HealthInsights/healthinsights.openapi/examples/2023-03-01-preview/SuccessfulOncoPhenotypeResponse.json

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,56 +9,62 @@
99
"responses": {
1010
"200": {
1111
"body": {
12-
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
13-
"createdDateTime": "2021-11-26T17:22:27.386Z",
14-
"expirationDateTime": "2021-11-26T17:22:27.386Z",
15-
"lastUpdateDateTime": "2021-11-26T17:22:27.386Z",
16-
"status": "succeeded",
1712
"results": {
1813
"patients": [
1914
{
20-
"id": "Patient ID Example 1",
15+
"id": "patient1",
2116
"inferences": [
17+
{
18+
"type": "tumorSite",
19+
"value": "C50.2",
20+
"description": "BREAST",
21+
"confidenceScore": 0.9214
22+
},
2223
{
2324
"type": "histology",
24-
"value": "8561",
25-
"description": "Adenolymphoma",
26-
"confidenceScore": 0.85,
27-
"evidence": [
28-
{
29-
"patientDataEvidence": {
30-
"id": "1",
31-
"text": "string",
32-
"offset": 70,
33-
"length": 135
34-
},
35-
"importance": 1
36-
}
37-
]
25+
"value": "8500",
26+
"confidenceScore": 0.9973
3827
},
3928
{
4029
"type": "clinicalStageT",
4130
"value": "T3",
42-
"description": "Locally advanced disease at risk for micrometastases",
43-
"confidenceScore": 0.88,
44-
"evidence": [
45-
{
46-
"patientDataEvidence": {
47-
"id": "2",
48-
"text": "string",
49-
"offset": 12,
50-
"length": 9
51-
},
52-
"importance": 1
53-
}
54-
],
55-
"caseId": "1"
31+
"confidenceScore": 0.9956
32+
},
33+
{
34+
"type": "clinicalStageN",
35+
"value": "N0",
36+
"confidenceScore": 0.9931
37+
},
38+
{
39+
"type": "clinicalStageM",
40+
"value": "None",
41+
"confidenceScore": 0.5217
42+
},
43+
{
44+
"type": "pathologicStageT",
45+
"value": "T1",
46+
"confidenceScore": 0.9477
47+
},
48+
{
49+
"type": "pathologicStageN",
50+
"value": "N0",
51+
"confidenceScore": 0.7927
52+
},
53+
{
54+
"type": "pathologicStageM",
55+
"value": "M0",
56+
"confidenceScore": 0.9208
5657
}
5758
]
5859
}
5960
],
60-
"modelVersion": "2021-11-26"
61-
}
61+
"modelVersion": "2023-03-01-preview"
62+
},
63+
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
64+
"createdDateTime": "2023-03-08T17:02:46Z",
65+
"expirationDateTime": "2023-03-08T17:19:26Z",
66+
"lastUpdateDateTime": "2023-03-08T17:02:46Z",
67+
"status": "succeeded"
6268
}
6369
}
6470
}

0 commit comments

Comments
 (0)