Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
0612b51
Health Insights API Version 2
asaflevi-ms Jan 2, 2024
4d34e35
add custom_words
asaflevi-ms Jan 2, 2024
1655036
update radiology insights doc descriptions
asaflevi-ms Jan 16, 2024
1b644ad
misspell
asaflevi-ms Jan 16, 2024
9366183
add java service-name option to emit the service name
asaflevi-ms Jan 16, 2024
222579b
update openAPI spec. misspell
asaflevi-ms Jan 24, 2024
1441e71
Merge branch 'main' into asaflevi/healthinsights-api-v2
asaflevi-ms Jan 24, 2024
8e8031c
model is Element instead of extends element
asaflevi-ms Jan 24, 2024
3fadaf0
Fhir.R4 namespace as PascalCase
asaflevi-ms Jan 24, 2024
a5bbaa7
Fix: workaround - force order resolution
asaflevi-ms Jan 25, 2024
15e7609
fix: suppression to get additionalProperties. DomainResource is Resource
asaflevi-ms Jan 25, 2024
80a8ba9
suppress in patient timeline to get additionalProperties
asaflevi-ms Jan 25, 2024
c9279c7
Merge branch 'main' into asaflevi/healthinsights-api-v2
asaflevi-ms Jan 26, 2024
ddd0683
[Health Insights] Project structure updates (#27545)
catalinaperalta Jan 28, 2024
8e60753
use clientName decorator to decorate Fhir_R4 models
asaflevi-ms Jan 28, 2024
be562d0
Operation types as camelCase
asaflevi-ms Jan 28, 2024
052157e
replace projectedName with clientName
asaflevi-ms Jan 29, 2024
87b3ac5
model extends Element - same as FHIR spec
asaflevi-ms Jan 29, 2024
d3d52ce
move clientName to client.tsp
asaflevi-ms Jan 29, 2024
02b71b5
fix: clientName - typename
asaflevi-ms Jan 29, 2024
0b71a89
fix: token-expected: ';'
asaflevi-ms Jan 29, 2024
ebd3455
remove import, typespec-client-generator-core
asaflevi-ms Jan 29, 2024
34e9852
tsp format
asaflevi-ms Jan 29, 2024
8617dea
fix: LRO response schema to include result
asaflevi-ms Jan 29, 2024
e6d4e5c
add @clientName to all models
asaflevi-ms Jan 29, 2024
4dfb2ef
replace decimal with decimal128, add RI sample
asaflevi-ms Jan 29, 2024
c074001
replace decimal128 with float64
asaflevi-ms Jan 29, 2024
a4993c5
tsp format
asaflevi-ms Jan 29, 2024
e4f5c39
suppress AvoidAnonymousTypes
catalinaperalta Jan 29, 2024
bb11fb7
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
catalinaperalta Jan 30, 2024
73d40cf
comment clientName decorators
asaflevi-ms Jan 30, 2024
a739963
Merge branch 'asaflevi/healthinsights-api-v2' of https://github.com/A…
asaflevi-ms Jan 30, 2024
ce51886
comment clientName decorators
asaflevi-ms Jan 30, 2024
a6506bb
comment clientName decorator for RI client.tsp
asaflevi-ms Jan 30, 2024
47934ed
Add projectedName
asaflevi-ms Jan 30, 2024
f13f11d
Merge branch 'main' into asaflevi/healthinsights-api-v2
asaflevi-ms Jan 30, 2024
5390ee3
move projectedName to client.tsp
asaflevi-ms Jan 30, 2024
bce8324
fix: projectedName on client
asaflevi-ms Jan 30, 2024
da323e9
updat tspconfig.yaml
catalinaperalta Jan 30, 2024
7242cf2
move service.tsp
catalinaperalta Jan 31, 2024
c25d6a3
update ref
catalinaperalta Jan 31, 2024
e734ee1
revert structure changes
catalinaperalta Jan 31, 2024
b0a9a26
move examples
catalinaperalta Jan 31, 2024
9e1bfd7
tspconfig
catalinaperalta Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
replace decimal with decimal128, add RI sample
  • Loading branch information
asaflevi-ms committed Jan 29, 2024
commit 4dfb2ef48b4c66686b883afa0d344b49e2d159c8
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Based on [FHIR Quantity](https://www.hl7.org/fhir/R4/datatypes.html#Quantity)
""")
model Quantity extends Element {
@doc("Numerical value (with implicit precision)")
value?: decimal;
value?: decimal128;

@doc("< | <= | >= | > - how to understand the value")
comparator?: string;
Expand Down Expand Up @@ -287,16 +287,16 @@ model SampledData extends Element {
origin: Quantity;

@doc("Number of milliseconds between samples")
period: decimal;
period: decimal128;

@doc("Multiply data by this before adding to origin")
factor?: decimal;
factor?: decimal128;

@doc("Lower limit of detection")
lowerLimit?: decimal;
lowerLimit?: decimal128;

@doc("Upper limit of detection")
upperLimit?: decimal;
upperLimit?: decimal128;

@doc("Number of sample points at each time point")
@minValue(1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ model RadiologyInsightsModelConfiguration {
@doc("Options regarding follow up recommendation inferences and finding inferences.")
model RadiologyInsightsInferenceOptions {
@doc("Follow-up recommendation options.")
followupRecommendation?: FollowupRecommendationOptions;
followupRecommendationOptions?: FollowupRecommendationOptions;

@doc("Finding options.")
finding?: FindingOptions;
findingOptions?: FindingOptions;
}

@doc("Follow-up recommendation options.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,105 @@
"endpoint": "{endpoint}",
"api-version": "2023-09-01-preview",
"body": {
"patients": []
"configuration": {
"inferenceOptions": {
"followupRecommendationOptions": {
"includeRecommendationsWithNoSpecifiedModality": false,
"includeRecommendationsInReferences": false,
"provideFocusedSentenceEvidence": false
},
"findingOptions": {
"provideFocusedSentenceEvidence": false
}
},
"inferenceTypes": [
"finding",
"ageMismatch",
"lateralityDiscrepancy",
"sexMismatch",
"completeOrderDiscrepancy",
"limitedOrderDiscrepancy",
"criticalResult",
"criticalRecommendation",
"followupRecommendation",
"followupCommunication",
"radiologyProcedure"
],
"locale": "en-US",
"verbose": false,
"includeEvidence": true
},
"patients": [
{
"id": "sample id 1",
"info": {
"sex": "male",
"clinicalInfo": [
{
"resourceType": "Observation",
"status": "unknown",
"code": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls",
"code": "C0018802",
"display": "MalignantNeoplasms"
}
]
},
"valueBoolean": "true"
}
]
},
"encounters": [
{
"id": "encounterid1",
"period": {
"start": "2023-12-21T00:00:00",
"end": "2023-12-21T00:00:00"
},
"class": "inpatient"
}
],
"patientDocuments": [
{
"type": "note",
"clinicalType": "radiologyReport",
"id": "docid1",
"language": "en",
"authors": [
{
"id": "authorid1",
"fullName": "authorname1"
}
],
"specialtyType": "radiology",
"createdDateTime": "2023-12-21T00:00:00",
"administrativeMetadata": {
"orderedProcedures": [
{
"code": {
"coding": [
{
"system": "Http://hl7.org/fhir/ValueSet/cpt-all",
"code": "111111",
"display": "CT ABD/PELVIS"
}
]
},
"description": "CT ABD/PELVIS"
}
],
"encounterId": "encounterid1"
},
"content": {
"sourceType": "inline",
"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"
}
}
]
}
]
}
},
"responses": {
Expand All @@ -16,7 +114,7 @@
},
"body": {
"status": "notStarted",
"id": "a4d3d73e-2be3-4ca1-bd4f-66a5bdd19754"
"id": "ad28aef5-87f3-4d2d-97eb-5cdeb4519d12"
}
}
}
Expand Down
Loading