Skip to content

Ensure when we encounter an empty SD snapshot we can resolve all base profiles.#591

Merged
andrzejskowronski merged 3 commits intodevelopfrom
fix/missing-snapshot-base-profile
Oct 7, 2025
Merged

Ensure when we encounter an empty SD snapshot we can resolve all base profiles.#591
andrzejskowronski merged 3 commits intodevelopfrom
fix/missing-snapshot-base-profile

Conversation

@andrzejskowronski
Copy link
Copy Markdown
Contributor

@andrzejskowronski andrzejskowronski commented Oct 2, 2025

Description

Handles a StructureDefinition that has empty snapshot and we cannot resolve base profile.
Previously we would only check base profiles if the StructureDefinition would have any Elements.
If SDK SnapshotGenerator is missing a base profile it would not be able to (re-)generate snapshot and set it to empty collection.

Related issues

Closes #576

test-cases #79

@andrzejskowronski andrzejskowronski merged commit 2dca32a into develop Oct 7, 2025
2 checks passed
@andrzejskowronski andrzejskowronski deleted the fix/missing-snapshot-base-profile branch October 7, 2025 13:56
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.

Handle empty snapshot when building schema

2 participants