Skip to content

Logic for ValueSet/$validate-code parameter evaluation is wrong #3018

@alexzautke

Description

@alexzautke

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions