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

Validation Does Not Run for Related Questionnaires and Structure Maps #332

Open
3 tasks
sharon2719 opened this issue Jan 30, 2025 · 0 comments
Open
3 tasks
Assignees
Labels

Comments

@sharon2719
Copy link
Contributor

Description

Currently, the GitHub Action only triggers validation when a questionnaire (Q) changes. If a structure map (SM) is modified without updating the questionnaire, the test does not run, and vice versa. This can lead to undetected errors.

Expected Behavior

  • If a structure map (SM) changes, find and validate its related questionnaire (Q).

  • If a questionnaire (Q) changes, find and validate its related structure map (SM).

  • Ensure validation runs for both when either changes.

Solution

Update the GitHub Action to check for related Qs when SMs change and related SMs when Qs change.

Run validation for both whenever a related change is detected.

Impact

Fixing this ensures that updates to structure maps or questionnaires are always validated together, preventing errors in FHIR resource transformations.

@sharon2719 sharon2719 self-assigned this Jan 30, 2025
@sharon2719 sharon2719 changed the title Validation Test Does Not Validation Does Not Run for Related Questionnaires and Structure Maps Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant