Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
2f11bab
Regenerated with customization-options typespec
Nov 2, 2024
0871c0a
Fixes + pagedDocumentDetails
Nov 5, 2024
eb8e384
Revert pagedDocumentDetails
Nov 5, 2024
00e0916
nextLink in DocumentDetails
Nov 5, 2024
8c110d1
DocumentDetail
Nov 5, 2024
82f194c
Regenerated with no continuationToken
Nov 5, 2024
f37ca92
OperationType
Nov 5, 2024
6937f98
CustomizationOptions and suppression
Nov 6, 2024
06ba6c0
Change Config to Options
Nov 6, 2024
f75627b
Regenerated after marking ListJobs and ListJobDocuments as internal
Nov 7, 2024
4c64491
Customizations to remove continuationToken
Nov 7, 2024
f305ca1
Update tests and samples for new API version
Nov 9, 2024
57c60a4
Samples
Nov 9, 2024
ef59807
Updating tests for new API version
Nov 12, 2024
5067ed6
Enable local testing
Nov 12, 2024
b7380a8
Add sanitizers
Nov 13, 2024
199f464
Update tests and sanitizers
Nov 13, 2024
e8e9985
Rename "body" to "content"
Nov 14, 2024
623f9ff
Merge branch 'main' into healthdataaiservices/stable
alexathomases Nov 14, 2024
eb6753c
Tests working in all modes
Nov 14, 2024
e490678
Merge branch 'healthdataaiservices/stable' of https://github.com/alex…
Nov 14, 2024
134976c
Update commit in tsp-location.yaml
Nov 15, 2024
bf8e765
Updated serialization with dotnet build codegen
Nov 15, 2024
7ba7c42
Version 1.0.0
Nov 15, 2024
e52e6f5
GA installation instructions
Nov 15, 2024
d7e9a30
Use Deidentification prefix naming convention
Nov 15, 2024
62e2a71
Update tsp-location.yaml commit
Nov 15, 2024
ac4e2ca
Updates tests and samples with new prefix
Nov 15, 2024
142c9b1
Ran dotnet build /t:GenerateCode
Nov 16, 2024
8152401
Deidentification prefix for CustomizationOptions
Nov 18, 2024
0131961
Update tsp-location.yaml
Nov 18, 2024
61d91cb
Improve samples
Nov 20, 2024
9246bee
Update commit in tsp-location
Nov 20, 2024
07eaa32
Update commit again
Nov 20, 2024
7fb69d2
Update README sample
Nov 20, 2024
12f0438
Regenerated with customization-options typespec
Nov 2, 2024
f2c431d
Fixes + pagedDocumentDetails
Nov 5, 2024
8307736
Revert pagedDocumentDetails
Nov 5, 2024
e37663d
nextLink in DocumentDetails
Nov 5, 2024
d9eb65c
DocumentDetail
Nov 5, 2024
f33da6e
Regenerated with no continuationToken
Nov 5, 2024
7b8eb7d
OperationType
Nov 5, 2024
9785c66
CustomizationOptions and suppression
Nov 6, 2024
3515140
Change Config to Options
Nov 6, 2024
0538d3a
Regenerated after marking ListJobs and ListJobDocuments as internal
Nov 7, 2024
6fb16bb
Customizations to remove continuationToken
Nov 7, 2024
a222446
Update tests and samples for new API version
Nov 9, 2024
616cd32
Samples
Nov 9, 2024
3fe7be6
Updating tests for new API version
Nov 12, 2024
c5d3ce6
Enable local testing
Nov 12, 2024
a96760d
Add sanitizers
Nov 13, 2024
3f78d55
Update tests and sanitizers
Nov 13, 2024
116c7ee
Rename "body" to "content"
Nov 14, 2024
3d830f6
Tests working in all modes
Nov 14, 2024
4463ec7
Update commit in tsp-location.yaml
Nov 15, 2024
16394d2
Updated serialization with dotnet build codegen
Nov 15, 2024
7d3b8ac
Version 1.0.0
Nov 15, 2024
e75e82a
GA installation instructions
Nov 15, 2024
6d6ef8a
Use Deidentification prefix naming convention
Nov 15, 2024
58c00a4
Update tsp-location.yaml commit
Nov 15, 2024
242223e
Updates tests and samples with new prefix
Nov 15, 2024
d516e24
Ran dotnet build /t:GenerateCode
Nov 16, 2024
2f1413f
Deidentification prefix for CustomizationOptions
Nov 18, 2024
2051357
Update tsp-location.yaml
Nov 18, 2024
7fcdc72
Improve samples
Nov 20, 2024
ddb76f4
Update commit in tsp-location
Nov 20, 2024
b6f9d0b
Update commit again
Nov 20, 2024
123161d
Update README sample
Nov 20, 2024
e5c2553
Merge branch 'healthdataaiservices/stable' of https://github.com/alex…
Nov 20, 2024
1fe5b90
Export API
Nov 20, 2024
770c98d
Switch back to ResourceList
Nov 22, 2024
8ee84f1
Update commit hash
Nov 23, 2024
6f51847
New tests with overwrite
Nov 23, 2024
e0a0200
Use public setter for overwrite
Nov 24, 2024
21c4469
Regenerated after removing PartialFailed
Nov 26, 2024
272ed13
Rm DeidentificationJobStatus from tests
Nov 26, 2024
f999515
Regenerated with merged typespec
Dec 7, 2024
7999c11
Update changelog.md
Dec 8, 2024
ec2fd4c
Merge branch 'main' into healthdataaiservices/stable
alexathomases Jan 3, 2025
149ad78
Updating generated code
Jan 3, 2025
3d442bf
Update changelog
Jan 7, 2025
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
Updating tests for new API version
  • Loading branch information
Alexa Thomases committed Nov 12, 2024
commit ef59807c310c75f450775de3d35cc1e7e42fa701
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
"CHIEF COMPLAINT

Follow-up of chronic problems.

HISTORY OF PRESENT ILLNESS

Brian White is a 58-year-old male with a past medical history significant for congestive heart failure and hypertension, who presents today for follow-up of his chronic problems.

The patient states he has been feeling out of sorts lately. He is not sure if it is due to the change in the seasons or due to performing lots of projects and some construction on his home. He reports fatigue and lightheadedness. This has been going on for about 5 weeks. While exerting energy, he has experienced some shortness of breath and chest cramps. The patient also notes a slight cough, but he is not sure if it is just the change in seasons.

He feels bloated every once in a while. His diet has been a little bit of a struggle. They had construction on their kitchen begin over Labor Day weekend, and have been eating less healthy food as a result.

Regarding his heart failure, he has been pretty good with his salt intake. He has been pretty good about his diet since the last year and is staying on top of that as much as possible. The patient has continued to utilize Lasix daily.

For his hypertension, this has been well controlled with lisinopril 20 mg a day. He has continued to monitor his blood pressure regularly.

The patient did the review of systems sheet when he checked in. He denies weight gain, swelling in the lower extremities, fevers, chills, dizziness, nausea, vomiting, and diarrhea.

REVIEW OF SYSTEMS

Constitutional: Endorses fatigue. Denies fevers, chills, or weight loss.
Cardiovascular: Endorses chest pain or dyspnea on exertion.
Respiratory: Endorses cough and shortness of breath.
Gastrointestinal: Endorses bloating.

PHYSICAL EXAMINATION

Neck: JVD 8 cm.
Respiratory: Rales bilateral bases.
Cardiovascular: 3/6 systolic ejection murmur.
Musculoskeletal: 1+ pitting edema bilateral lower extremities.

RESULTS

X-ray of the chest demonstrates a mild amount of fluid in the lungs.

Echocardiogram demonstrates decreased ejection fraction of 45% and mild mitral regurgitation.

ASSESSMENT AND PLAN

Brian White is a 58-year-old male with a past medical history significant for congestive heart failure and hypertension, who presents today for follow up of his chronic problems.

Congestive heart failure.
Medical Reasoning: The patient reports increased fatigue, dizziness, and chest discomfort on exertion. He also exhibits some jugular venous distention, lung base crackles, and lower extremity edema on exam today. He has been compliant with his current medications but admits to dietary indiscretion lately. His recent echocardiogram demonstrated a reduced ejection fraction of 45%, as well as mitral regurgitation.
Additional Testing: We will order a repeat echocardiogram.
Medical Treatment: Increase Lasix to 80 mg daily.
Patient Education and Counseling: I advised the patient to monitor and record his daily weight and report those to me via the patient portal. He will contact me should he continue to experience any dyspnea.

Hypertension.
Medical Reasoning: This is well controlled based on home monitoring.
Medical Treatment: Continue lisinopril 20 mg daily.
Patient Education and Counseling: I advised him to monitor and record his blood pressures at home and report these to me via the patient portal.

Patient Agreements: The patient understands and agrees with the recommended medical treatment plan."
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@

job = (await client.DeidentifyDocumentsAsync(WaitUntil.Started, jobName, job)).Value;

// Test list jobs with maxpagesize = 2 to ensure pagination works.
var jobs = client.GetJobsAsync(2).GetAsyncEnumerator();

bool jobFound = false;
Expand Down Expand Up @@ -125,23 +124,26 @@
Assert.AreEqual(JobStatus.Succeeded, job.Status);
Assert.IsNotNull(job.StartedAt);
Assert.IsNotNull(job.Summary);
Assert.AreEqual(2, job.Summary.Total);
Assert.AreEqual(2, job.Summary.Successful);
Assert.AreEqual(3, job.Summary.Total);
Assert.AreEqual(3, job.Summary.Successful);

// Check file reports.
var reports = client.GetJobDocumentsAsync(jobName).GetAsyncEnumerator();
// Check file reports, using maxpagesize of 2 to test paging.
var reports = client.GetJobDocumentsAsync(jobName, 2).GetAsyncEnumerator();
int reportCount = 0;
var reportIds = [];

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Analyze)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Analyze)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Analyze)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9176: There is no target type for the collection expression.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Analyze)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9176: There is no target type for the collection expression.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test Ubuntu2004_NET60_PackageRef_Debug)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test Ubuntu2004_NET60_PackageRef_Debug)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9176: There is no target type for the collection expression.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test MacOS_NET60_PackageRef_Debug)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test MacOS_NET60_PackageRef_Debug)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9176: There is no target type for the collection expression.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test Ubuntu2004_NET80_ProjectRef_Release)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test Ubuntu2004_NET80_ProjectRef_Release)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9176: There is no target type for the collection expression.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test MacOS_NET80_ProjectRef_Release)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci (Build Test MacOS_NET80_ProjectRef_Release)

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9176: There is no target type for the collection expression.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9176: There is no target type for the collection expression.

Check failure on line 133 in sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs

View check run for this annotation

Azure Pipelines / net - healthdataaiservices - ci

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs#L133

sdk/healthdataaiservices/Azure.Health.Deidentification/tests/Tests/JobOperationsTest.cs(133,29): Error CS9058: Feature 'collection expressions' is not available in C# 11.0. Please use language version 12.0 or greater.
while (await reports.MoveNextAsync())
{
reportCount++;
reportIds.Add(reports.Current.Id);
Assert.IsTrue(reports.Current.Input.Location.ToString().StartsWith(inputPrefix));
Assert.IsNotNull(reports.Current.Input.Etag);
Assert.AreEqual(OperationState.Succeeded, reports.Current.Status);
Assert.IsTrue(reports.Current.Output.Location.ToString().StartsWith(OUTPUT_FOLDER));
Assert.IsNotNull(reports.Current.Output.Etag);
Assert.IsTrue(reports.Current.Id.Length == 36); // Is Guid.
}
Assert.AreEqual(2, reportCount);
Assert.AreEqual(3, reportIds.CountUnique());
Assert.AreEqual(3, reportCount);
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
additionalDirectories: []
repo: Azure/azure-rest-api-specs
commit: be55746b299a2ee1bc2f595873a9ebc8b59b1442
commit: e5ad7a2048e1b6778fbf11b024bee152a282853a
directory: specification/healthdataaiservices/HealthDataAIServices.DeidServices

Loading