Skip to content

Task Validation fails in 5.2.0, works in 5.1.0 #2285

Open
@hhund

Description

Validation of Task resource against profile defining multiple input slices discriminated by custom CodeSystem values fails in 5.2.0 but works in 5.1.0.

If this is a bug, I suspect it's somewhere starting from HAPI 5.2.0: org.hl7.fhir.validation.instance.InstanceValidator L4158
The corresponding code in HAPI 5.1.0: org.hl7.fhir.validation.instance.InstanceValidator L3905 seems to work.

To Reproduce
See JUnit test in PR #2284. StructureDefinition, CodeSystem, ValueSet and Task Resource needed to reproduce this issue are created in the JUnit test.

Environment (please complete the following information):

  • HAPI FHIR Version 5.2.0

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions