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

required VS-bindings in slices are not recognized by the validator #1589

Open
LOeppert42 opened this issue Apr 2, 2024 · 0 comments
Open

Comments

@LOeppert42
Copy link

There ist a problem with required VS-bindings in slices

Conditions for slicing in the specification:

  • .coding ist sliced
  • slicing closed --> Only the options that can be specified via the slices should be available
  • discriminator $this(pattern) or $this(value)
  • required VS-binding for each slice. The required VS-bindings contain different CodeSystems for each slice. The distinction can be made on .system

Slicing closed and dicriminator:
image

Required VS-binding first slice
image

Required VS-binding second slice
image

Relevant section from the Example
image

If the value set of the VS binding only uses codes from one code system, a pattern for .system can be stored to fix the error. If the value set uses codes from multiple code systems, this is not possible.
If you validate examples against such a profile, you will receive an error message that the involved element doesn‘t match any known slice defined in the profile although a required binding exists.

The entire profile and example can be found in the zip file
requiredBinding.zip

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

No branches or pull requests

1 participant