Skip to content

Commit

Permalink
Add examples from PR Azure#24079
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed May 26, 2023
1 parent 6cd86e0 commit e5cc3d3
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,55 +5,35 @@
"endpoint": "{endpoint}",
"api-version": "2023-03-01-preview",
"body": {
"configuration": {
"checkForCancerCase": true,
"includeEvidence": false
},
"patients": [
{
"id": "Patient ID Example 1",
"info": {
"sex": "female",
"birthDate": "1975-09-27"
},
"id": "patient1",
"data": [
{
"type": "note",
"clinicalType": "historyAndPhysical",
"id": "1",
"language": "en",
"createdDateTime": "2021-10-26T16:54:44.739Z",
"content": {
"sourceType": "inline",
"value": "Sample note 1"
}
},
{
"type": "note",
"clinicalType": "imaging",
"id": "2",
"kind": "note",
"clinicalType": "pathology",
"id": "document1",
"language": "en",
"createdDateTime": "2020-11-26T16:39:44.739Z",
"createdDateTime": "2022-01-01T00:00:00",
"content": {
"sourceType": "inline",
"value": "Sample note 2"
"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"
}
}
]
}
],
"configuration": {
"verbose": true,
"includeEvidence": true,
"inferenceTypes": [
"histology",
"clinicalStageT"
],
"checkForCancerCase": false
}
]
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{endpoint}/healthinsights/oncophenotype/jobs/{jobId}?api-version=2023-03-01-preview",
"Retry-After": "1"
"Retry-After": "5"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,62 @@
"responses": {
"200": {
"body": {
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDateTime": "2021-11-26T17:22:27.386Z",
"expirationDateTime": "2021-11-26T17:22:27.386Z",
"lastUpdateDateTime": "2021-11-26T17:22:27.386Z",
"status": "succeeded",
"results": {
"patients": [
{
"id": "Patient ID Example 1",
"id": "patient1",
"inferences": [
{
"type": "tumorSite",
"value": "C50.2",
"description": "BREAST",
"confidenceScore": 0.9214
},
{
"type": "histology",
"value": "8561",
"description": "Adenolymphoma",
"confidenceScore": 0.85,
"evidence": [
{
"patientDataEvidence": {
"id": "1",
"text": "string",
"offset": 70,
"length": 135
},
"importance": 1
}
]
"value": "8500",
"confidenceScore": 0.9973
},
{
"type": "clinicalStageT",
"value": "T3",
"description": "Locally advanced disease at risk for micrometastases",
"confidenceScore": 0.88,
"evidence": [
{
"patientDataEvidence": {
"id": "2",
"text": "string",
"offset": 12,
"length": 9
},
"importance": 1
}
],
"caseId": "1"
"confidenceScore": 0.9956
},
{
"type": "clinicalStageN",
"value": "N0",
"confidenceScore": 0.9931
},
{
"type": "clinicalStageM",
"value": "None",
"confidenceScore": 0.5217
},
{
"type": "pathologicStageT",
"value": "T1",
"confidenceScore": 0.9477
},
{
"type": "pathologicStageN",
"value": "N0",
"confidenceScore": 0.7927
},
{
"type": "pathologicStageM",
"value": "M0",
"confidenceScore": 0.9208
}
]
}
],
"modelVersion": "2021-11-26"
}
"modelVersion": "2023-03-01-preview"
},
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDateTime": "2023-03-08T17:02:46Z",
"expirationDateTime": "2023-03-08T17:19:26Z",
"lastUpdateDateTime": "2023-03-08T17:02:46Z",
"status": "succeeded"
}
}
}
Expand Down

0 comments on commit e5cc3d3

Please sign in to comment.