Describe the bug
The behaviour of validating the input parameters for a call against $validate-code changed in #2968. If the "code" parameter is now used, the SDK requires also a "context" or "url" parameter. However, it fails to check if the "system" parameter is already provided so that it doesn't need to be inferred.
To Reproduce
Steps to reproduce the behavior:
Call ValueSet/$validate-code with "system", "code" and "valueSet" parameters.
Expected behavior
"CheckForValidityOfValidateCodeParams" in src/Hl7.Fhir.Base/Model/ParametersExtensions.cs should allow the combination of "code" and "system".
Version used:
- FHIR Version: R4
- Version: 5.11.0