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

Revert "Create patient resource using a deterministic id (#183)" #186

Merged

Conversation

dustinburson
Copy link
Member

Revert deterministic id on Patient/Device create. Found limitations on certain implementations of FHIR search. Until those are resolved, reverting to original functionality.

@dustinburson dustinburson requested a review from a team as a code owner April 22, 2022 23:18
// The resource will be created if the resource with the given id does not already exist.
resource.Id = ComputeSha256(identifier);
return await FhirService.UpdateResourceAsync<TResource>(resource).ConfigureAwait(false);
return await FhirService.CreateResourceAsync(resource).ConfigureAwait(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Can we add a TODO comment with the tracking item to revert this revert?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the suggestion. Going to track with a Github issue for now.

@dustinburson
Copy link
Member Author

Opened Issue #188 to track

@dustinburson dustinburson reopened this Apr 22, 2022
@dustinburson dustinburson merged commit 62d1eca into main Apr 22, 2022
@dustinburson dustinburson deleted the personal/duburson/temp-revert-deterministic-id-change branch November 8, 2022 18:32
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

2 participants