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

Fix validate code to comply to external term services #393

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

mmsmits
Copy link
Member

@mmsmits mmsmits commented Nov 25, 2024

This pull request includes several updates and refactorings to the Firely FHIR validation library and its tests. The most significant changes include updating the Firely SDK version, removing the Context property from the BindingValidator class, and modifying test cases to reflect these changes.

SDK Version Update:

  • Updated Firely SDK version from 5.10.3 to 5.11.1 in firely-validator-api-tests.props and firely-validator-api.props files. [1] [2]

BindingValidator Refactoring:

  • Removed the Context property and parameter from the BindingValidator class and its constructor. [1] [2] [3]
  • Modified BindingBuilder.cs to remove the Context argument from BindingValidator instantiation.

Test Cases Update:

  • Updated various test cases to remove the Context parameter from BindingValidator instantiation in SlicingSchemaConverterTests.cs and BindingValidatorTests.cs. [1] [2] [3] [4] [5]

Miscellaneous:

  • Updated the fhirpkg.lock.json file with a new timestamp.
  • Updated the submodule commit reference in FhirTestCases.

@mmsmits mmsmits requested a review from ewoutkramer November 25, 2024 13:21
@mmsmits mmsmits enabled auto-merge November 25, 2024 13:21
Coding cd => vcp.WithCoding(cd),
CodeableConcept cc => vcp.WithCodeableConcept(cc),
_ => throw Error.InvalidOperation($"Parsed bindable was of unexpected instance type '{bindable.TypeName}'.")
};
}; ;
Copy link
Member

Choose a reason for hiding this comment

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

Extra colon.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops

@mmsmits mmsmits requested a review from ewoutkramer November 25, 2024 14:31
@mmsmits mmsmits disabled auto-merge November 26, 2024 10:59
@mmsmits mmsmits merged commit e3cb66d into develop Nov 26, 2024
2 checks passed
@mmsmits mmsmits deleted the bugfix/2854-fix-validate-code branch November 26, 2024 10:59
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.

2 participants