Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radiology insights GA #39813

Open
wants to merge 45 commits into
base: main
Choose a base branch
from

Conversation

koen-mertens
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-health-insights-radiologyinsights

@koen-mertens koen-mertens marked this pull request as ready for review April 30, 2024 11:47
.github/CODEOWNERS Outdated Show resolved Hide resolved
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
### Bugs Fixed

### Other Changes
- GA release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are changes to the public surface area of the SDK, such as model renames or changes to properties, we should call those out here for customers to refer to when upgrading from the beta to the stable version of the library.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I will list all changes

eng/versioning/version_client.txt Show resolved Hide resolved
@@ -84,26 +90,28 @@ Infer radiology insights from a patient's radiology report using a **synchronous
- [SampleCriticalResultInferenceSync.java][ri_sync_sample]

```java com.azure.health.insights.radiologyinsights.inferradiologyinsightssync
RadiologyInsightsInferenceResult riResults = radiologyInsightsClient.beginInferRadiologyInsights(createRadiologyInsightsRequest()).getFinalResult();
RadiologyInsightsJob riJobResponse = radiologyInsightsClient.beginInferRadiologyInsights("job" + new Date().getTime(), createRadiologyInsightsJob()).getFinalResult();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: the previous variable name seems better.

Also what is the new parameter for in this method?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a POST to PUT change which requires now your own unique jobID to be set.
This also impacts the result we get back which is wrapped into a RadiologyInsightsJob object. The InferenceResult is nested in that one

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually GUID is better than the "current date".

@weidongxu-microsoft
Copy link
Member

weidongxu-microsoft commented May 8, 2024

There is FhirR4## classes that could be duplicated in future module from healthinsights (e.g. cancerprofiling, clinicalmatching, etc.). And it would be very hard to move them to shared lib, after GA.

Do we have a decision on this?

@hvanhoe
Copy link
Member

hvanhoe commented May 8, 2024

There is FhirR4## classes that could be duplicated in future module from healthinsights (e.g. cancerprofiling, clinicalmatching, etc.). And it would be very hard to move them to shared lib, after GA.

Do we have a decision on this?

That has been discussed and the current decision was not to have a shared lib.

@weidongxu-microsoft
Copy link
Member

weidongxu-microsoft commented May 9, 2024

There is discussion of the method signature of the LRO API in apiview
https://apiview.dev/Assemblies/Conversation/c48b47bd12a6493aa27b2cec58f9e54e#46f262e257de451485c82b43abb61bb5

Please reach a decision (if possible in SDK review meeting, for cross-language agreement). I can help you customize this API whatever the decision be (the customize on method parameter should be very simple; the customize on method return would need some knowledge). Ping me when you need my help.

RadiologyInsightsClientBuilder clientBuilder = new RadiologyInsightsClientBuilder()
.endpoint(endpoint).serviceVersion(RadiologyInsightsServiceVersion.getLatest());
if (apiKey != null && !apiKey.equals("")) {
clientBuilder = clientBuilder.credential(new AzureKeyCredential(apiKey));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does service support AAD (Microsoft Entra ID)? If yes, we at least want to provide sample on that (you know, the Security initiative).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants