Skip to content

InitialExpression with result of type Coding should ignore display #2880

@parthfloyd

Description

@parthfloyd

Describe the bug
When initial Expression results in a Coding Type, it does a deepEqual check instead of just matching the code with the answer Option.

Component
SDC library

To Reproduce
Steps to reproduce the behavior:

  1. Use an initialExpression which outputs a Coding Type & have the correct code but mismatch with display (this issue is more obvious when using translation feature).

Expected behavior
display should not be considered while matching code (as it is not intended for computation)

Additional context
Add any other context about the problem here.

Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.

cc: @jingtang10 , @LZRS , @icrc-jofrancisco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions