Skip to content
New issue

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

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

Already on GitHub? # to your account

Removed Status for Search Params in Capability Statement #3413

Merged
merged 3 commits into from
Jul 22, 2023

Conversation

PTaladay
Copy link
Contributor

@PTaladay PTaladay commented Jul 21, 2023

Description

The change to use Documentation field to host search parameter status was redundant since it always is "Enabled". Removing this as it isn't needed.

Related issues

Addresses [issue AB#104442].

Testing

Ran Capability statement Unit Tests, and manually validated that the field no longer displays the status.

FHIR Team Checklist

  • Update the title of the PR to be succinct and less than 65 characters
  • Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
  • Tag the PR with the type of update: Bug, Build, Dependencies, Enhancement, New-Feature or Documentation
  • Tag the PR with Open source, Azure API for FHIR (CosmosDB or common code) or Azure Healthcare APIs (SQL or common code) to specify where this change is intended to be released.
  • CI is green before merge Build Status
  • Review squash-merge requirements

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)

@PTaladay PTaladay added Bug Bug bug bug. Azure API for FHIR Label denotes that the issue or PR is relevant to the Azure API for FHIR Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs labels Jul 21, 2023
@PTaladay PTaladay added this to the S119 milestone Jul 21, 2023
@PTaladay PTaladay requested a review from a team as a code owner July 21, 2023 21:26
…lder as it is no longer used after this reversion.
@PTaladay PTaladay enabled auto-merge (squash) July 21, 2023 21:44
@@ -184,13 +177,12 @@ public ICapabilityStatementBuilder AddGlobalSearchParameters()
return this;
}

private async Task<ICapabilityStatementBuilder> SyncSearchParamsAsync(string resourceType, CancellationToken cancellationToken)
private ICapabilityStatementBuilder SyncSearchParamsAsync(string resourceType)
Copy link
Contributor

Choose a reason for hiding this comment

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

Low priority: we should rename this method. I had the impression it was async.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I missed that. Without seach parameter status mamager they went back to synch calls.

@@ -340,10 +330,8 @@ public ICapabilityStatementBuilder PopulateDefaultResourceInteractions()
return this;
}

public async Task<ICapabilityStatementBuilder> SyncSearchParametersAsync(CancellationToken cancellationToken)
public ICapabilityStatementBuilder SyncSearchParametersAsync()
Copy link
Contributor

Choose a reason for hiding this comment

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

Low priority: This one should be renamed as well. The async suffix causes doubts.

@PTaladay PTaladay merged commit 197a961 into main Jul 22, 2023
@PTaladay PTaladay deleted the personal/patalada/104442PartialRevert branch July 22, 2023 01:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Azure API for FHIR Label denotes that the issue or PR is relevant to the Azure API for FHIR Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs Bug Bug bug bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants