Skip to content

Moved SearchParamDefinition from STU3+ to a separate class in Base. - #2987

Merged
mmsmits merged 6 commits into
develop-6.0from
6.0/2531-migrate-searchparam-definition-to-base
Dec 9, 2024
Merged

Moved SearchParamDefinition from STU3+ to a separate class in Base.#2987
mmsmits merged 6 commits into
develop-6.0from
6.0/2531-migrate-searchparam-definition-to-base

Conversation

@ewoutkramer

@ewoutkramer ewoutkramer commented Dec 3, 2024

Copy link
Copy Markdown
Member

SearchParamDefinition used to be in the sattelites, since it has a Target element that was bound to ResourceTypes. Now, with the publication of R5, we have a "version independent" list of resources, so by using this enum we are able to move SearchParamDefinition out to the Base assembly.

This also required some changes to code generation, which need to be review as well: FirelyTeam/fhir-codegen#49.

Since the SPD class was nested in ModelInfo (which is in the sattellites), I needed to move this class out of ModelInfo, which is a breaking change as well.

Breaking changes

  • ModelInfo.SearchParamDefinition is moved out of ModelInfo and now lives in the assembly root namespace.
  • The element Target is changed from ResourceType to VersionIndependentResourceTypesAll.
  • VersionIndependentResourceTypesAll is moved from R5 to the Base assembly.

@ewoutkramer
ewoutkramer marked this pull request as ready for review December 4, 2024 13:38
@ewoutkramer
ewoutkramer requested a review from Kasdejong December 4, 2024 13:38
@Kasdejong

Copy link
Copy Markdown
Member

maybe a PR description? I'll review regardless :)

@ewoutkramer

Copy link
Copy Markdown
Member Author

working on it.

@mmsmits

mmsmits commented Dec 5, 2024

Copy link
Copy Markdown
Member

fixes #2531

@mmsmits
mmsmits enabled auto-merge December 5, 2024 09:10
@mmsmits mmsmits linked an issue Dec 5, 2024 that may be closed by this pull request
…on-to-base

# Conflicts:
#	src/Hl7.Fhir.R4B/CompatibilitySuppressions.xml
#	src/Hl7.Fhir.R5/CompatibilitySuppressions.xml
@mmsmits
mmsmits merged commit c684103 into develop-6.0 Dec 9, 2024
@mmsmits
mmsmits deleted the 6.0/2531-migrate-searchparam-definition-to-base branch December 9, 2024 14:17
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.

Migrate SearchParamDefinition into the Base versionless level

3 participants