Skip to content

Commit 2d786fe

Browse files
Frederik-Coppenspjpatel12
authored andcommitted
Frederik/ri healthinsights typespec v4: added 3 models (Azure#29181)
* Added 3 more typespec models * refactor: Update HealthInsights API specification * Changed date * Corrected spelling error in comment * Added some words that should not be marked "misspellings" by swagger spellcheck * Added text for the latest openapi version to readme; and just some indentation changes in cSpell. * Corrected mistake in file path * Replaced versions 2024-04-01 with 2024-10-01 * Replaced version of "current release" with latest version * Changed all old 09-31 versions to 10-01; and added "added"-decorator to the 3 new inferences * Some changes based on doc from Ann, mainly different @docs * Some more changes, deleted enum * Minor changes * Minor changes * No more type for guidance proposals * Some more changes, again enum for scoring and assessment category, and documention was adapted so that the previous version is the same again. * One more small documentation change for previous version * Small doc change * With new open api specs * MAde "presentGuidanceValues" optional, because it might not be filled if "sizes" or "maximumDiameterAsInText" is filled * More changes, agreed with Asaf and Gil * Replaced old version date with new one in more places * Added words to cSpell, solved one real spelling mistake * Corrected mistake, and regenerated open api spec * Changes after running "tsv"" * For sizes, changes an array of components to one Observation. And replaced field "extension" with "...Fihr.R4.Extendible". * Fix readme file * Changed readme files, but there some unexpected changes. * REmove '^' in version * Just removed "^" * Ran "npx prettier" for 2 files
1 parent 0a15575 commit 2d786fe

16 files changed

+81078
-2
lines changed

cSpell.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,25 @@
16171617
"rerank"
16181618
]
16191619
},
1620+
{
1621+
"filename": "**/specification/ai/data-plane/HealthInsights/stable/**/openapi.json",
1622+
"words": [
1623+
"Acrad",
1624+
"acrad",
1625+
"BIRADS",
1626+
"mednax",
1627+
"frax",
1628+
"extracolonic",
1629+
"ascvd",
1630+
"tyrer",
1631+
"cusick",
1632+
"agatston",
1633+
"ceus",
1634+
"HNPCC",
1635+
"kellgren",
1636+
"tonnis"
1637+
]
1638+
},
16201639
{
16211640
"filename": "**/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/**/*.json",
16221641
"words": [
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
{
2+
"operationId": "RadiologyInsights_CreateJob",
3+
"title": "Creates a Radiology Insights job with the given request body.",
4+
"parameters": {
5+
"endpoint": "{endpoint}/health-insights/radiology-insights/jobs/{id}?api-version={api-version}",
6+
"api-version": "2024-10-01",
7+
"id": "ad28aef5-87f3-4d2d-97eb-5cdeb4519d12",
8+
"resource": {
9+
"jobData": {
10+
"configuration": {
11+
"inferenceOptions": {
12+
"followupRecommendationOptions": {
13+
"includeRecommendationsWithNoSpecifiedModality": false,
14+
"includeRecommendationsInReferences": false,
15+
"provideFocusedSentenceEvidence": false
16+
},
17+
"findingOptions": {
18+
"provideFocusedSentenceEvidence": false
19+
}
20+
},
21+
"inferenceTypes": [
22+
"finding",
23+
"ageMismatch",
24+
"lateralityDiscrepancy",
25+
"sexMismatch",
26+
"completeOrderDiscrepancy",
27+
"limitedOrderDiscrepancy",
28+
"criticalResult",
29+
"criticalRecommendation",
30+
"followupRecommendation",
31+
"followupCommunication",
32+
"radiologyProcedure"
33+
],
34+
"locale": "en-US",
35+
"verbose": false,
36+
"includeEvidence": true
37+
},
38+
"patients": [
39+
{
40+
"id": "sample id 1",
41+
"details": {
42+
"sex": "male",
43+
"clinicalInfo": [
44+
{
45+
"resourceType": "Observation",
46+
"status": "unknown",
47+
"code": {
48+
"coding": [
49+
{
50+
"system": "http://www.nlm.nih.gov/research/umls",
51+
"code": "C0018802",
52+
"display": "MalignantNeoplasms"
53+
}
54+
]
55+
},
56+
"valueBoolean": "true"
57+
}
58+
]
59+
},
60+
"encounters": [
61+
{
62+
"id": "encounterid1",
63+
"period": {
64+
"start": "2023-12-21T00:00:00",
65+
"end": "2023-12-21T00:00:00"
66+
},
67+
"class": "inpatient"
68+
}
69+
],
70+
"patientDocuments": [
71+
{
72+
"type": "note",
73+
"clinicalType": "radiologyReport",
74+
"id": "docid1",
75+
"language": "en",
76+
"authors": [
77+
{
78+
"id": "authorid1",
79+
"fullName": "authorname1"
80+
}
81+
],
82+
"specialtyType": "radiology",
83+
"createdAt": "2023-12-21T00:00:00",
84+
"administrativeMetadata": {
85+
"orderedProcedures": [
86+
{
87+
"code": {
88+
"coding": [
89+
{
90+
"system": "Http://hl7.org/fhir/ValueSet/cpt-all",
91+
"code": "111111",
92+
"display": "CT ABD/PELVIS"
93+
}
94+
]
95+
},
96+
"description": "CT ABD/PELVIS"
97+
}
98+
],
99+
"encounterId": "encounterid1"
100+
},
101+
"content": {
102+
"sourceType": "inline",
103+
"value": "[**2143-4-13**] 5:04 PM\r\nCT ABD W&W/O C; CT CHEST W&W/O C Clip # [**Clip Number (Radiology) 38350**]\r\nCT PELVIS W&W/O C\r\nReason: ? PE, evidence of pneumonia\r\nAdmitting Diagnosis: SEPSIS\r\nField of view: 38 Contrast: OPTIRAY Amt: 130\r\n______________________________________________________________________________\r\n[**Hospital 4**] MEDICAL CONDITION:\r\n52 year old man with urosepsis, s/p nephrostogram on [**4-12**], today with acute\r\nSOB, fever, rigors.\r\nREASON FOR THIS EXAMINATION:\r\n? PE, evidence of pneumonia\r\nNo contraindications for IV contrast\r\n______________________________________________________________________________\r\nFINAL REPORT\r\nINDICATION: History of urosepsis status post nephrostogram on [**4-12**], today\r\nwith acute shortness of breath, fevers, and rigors. Also reported hematocrit\r\ndrop. Evaluate for pulmonary embolism or hematoma.\r\nCOMPARISON: Non-contrast CT of the abdomen and pelvis dated [**2143-4-11**].\r\nTECHNIQUE: MDCT acquired images of the chest, abdomen, and pelvis were\r\nobtained before and after the administration of IV contrast. A true CT\r\nangiogram could not be performed due to lack of appropriate intravenous\r\naccess.\r\nCT OF THE CHEST WITHOUT AND WITH IV CONTRAST: Evaluation of the pulmonary\r\narteries is limited with no large central pulmonary embolism seen. Evaluation\r\nof the segmental and subsegmental branches is limited. There is a central\r\nvenous catheter that terminates in the right atrium. There are numerous small\r\nmesenteric and axillary lymph nodes that do not meet CT criteria for\r\npathologic enlargement. There are coronary artery calcifications. There are\r\nbilateral small layering pleural effusions with associated compressive\r\natelectasis. The images of the lungs are limited due to motion. There\r\nappears to be a patchy, predominantly ground-glass opacity in both lower\r\nlobes, left worse than right. The aorta appears intact. There is debris in\r\nthe trachea.\r\nCT OF THE ABDOMEN WITHOUT AND WITH IV CONTRAST: There is high-density\r\nmaterial tracking along the course of a dilated left ureter consistent with\r\nhemorrhage that is new compared to the previous study. New stranding in the\r\nleft retroperitoneum is also present consistent with retroperitoneal\r\nhemorrhage. Perinephric stranding is present, as was seen on the previous\r\nstudy. The degree of dilatation of the left ureter is unchanged. Several\r\nfoci of air outside of the collecting system are present, presumably\r\npostprocedural in nature. Contrast-enhanced images show abnormal perfusion of\r\nthe left kidney with a striated appearance, most severe at the upper pole with\r\nperipheral wedge-shaped hypoenhancing areas also present on top of the areas\r\nof reduced perfusion. No active extravasation of contrast is seen. The right\r\nkidney is normal. The liver, spleen, and adrenal glands are unremarkable.\r\nPancreas is unremarkable with slightly prominent distal common bile duct\r\nmeasuring up to 8-9 mm. There is a small cystic lesion measuring 5 mm at the\r\nhead of the pancreas (series 10, image 143). Small and large bowel are\r\n(Over)\r\n[**2143-4-13**] 5:04 PM\r\nCT ABD W&W/O C; CT CHEST W&W/O C Clip # [**Clip Number (Radiology) 38350**]\r\nCT PELVIS W&W/O C\r\nReason: ? PE, evidence of pneumonia\r\nAdmitting Diagnosis: SEPSIS\r\nField of view: 38 Contrast: OPTIRAY Amt: 130\r\n______________________________________________________________________________\r\nFINAL REPORT\r\n(Cont)\r\ngrossly unremarkable. The aorta, celiac artery, superior mesenteric artery,\r\ninferior mesenteric artery, and renal arteries appear patent.\r\nCT OF THE PELVIS WITHOUT AND WITH IV CONTRAST: The prostate gland is\r\nenlarged. Thickening of the bladder wall is again demonstrated. Several foci\r\nof air within the bladder are presumably secondary to the Foley catheter. The\r\nrectum and sigmoid colon are unremarkable.\r\nBONE WINDOWS: There are degenerative changes with no suspicious lytic or\r\nsclerotic lesions.\r\nIMPRESSION:\r\n1. New high-density material surrounding the left ureter and tracking within\r\nthe retroperitoneum consistent with hemorrhage.\r\n2. Abnormal perfusion of the left kidney, most severe at the upper pole.\r\nFindings are consistent with pyelonephritis. Edema and abnormal perfusion at\r\nthe upper pole and interpolar region medially with multiple peripheral\r\nhypoenhancing wedge- shaped regions likely represent ischemia and a component\r\nof infarction.\r\n3. Limited examination for pulmonary embolism due to suboptimal contrast\r\nbolus with no large central embolus seen. Evaluation of distal segmental and\r\nsubsegmental branches is limited.\r\n4. Small bilateral layering pleural effusions with associated compressive\r\natelectasis. Patchy predominantly ground-glass opacities in both lower lobes,\r\nleft worse than right could represent pneumonia or pneumonitis.\r\n5. 5mm cystic lesion in the head of the pancreas. Recommend 1 year follow up.\r\nThe above was discussed with Dr. [**First Name8 (NamePattern2) 951**] [**Last Name (NamePattern1) 1238**] at approximately 6:30 p.m. on\r\n[**2143-4-13**].\r\n"
104+
}
105+
}
106+
]
107+
}
108+
]
109+
}
110+
}
111+
},
112+
"responses": {
113+
"200": {
114+
"headers": {
115+
"x-ms-request-id": "c7e9a8d7-6b5f-4e3d-9a2c-1f8b0e2c3f4a",
116+
"Operation-Location": "{endpoint}/health-insights/radiology-insights/jobs/{id}?api-version=2024-10-01"
117+
},
118+
"body": {
119+
"status": "notStarted",
120+
"id": "ad28aef5-87f3-4d2d-97eb-5cdeb4519d12"
121+
}
122+
},
123+
"201": {
124+
"headers": {
125+
"x-ms-request-id": "c7e9a8d7-6b5f-4e3d-9a2c-1f8b0e2c3f4a",
126+
"Operation-Location": "{endpoint}/health-insights/radiology-insights/jobs/{id}?api-version=2024-10-01"
127+
},
128+
"body": {
129+
"status": "notStarted",
130+
"id": "ad28aef5-87f3-4d2d-97eb-5cdeb4519d12"
131+
}
132+
}
133+
}
134+
}

0 commit comments

Comments
 (0)