Skip to content

Handling dependent resources on Questionnaire Response edit. #2146

Open
@ppanchal-argus

Description

@ppanchal-argus

Is your feature request related to a problem? Please describe.
Currently in our application we have consultation stages where each stage is handled by a questionnaire. Now when a user goes back to a previous questionnaire and edits it. Depending on the change, it may result in change in clinical logic based on the newer resources. Hence the next questionnaire needs to be updated accordingly. Currently on saving previous questionnaire, next stages are deleted & user has to refill all the following stages again. Instead it would be better to have a solution where user only needs to edit the changed questions (questions that are enabled based on new logic & delete the ones that are now disabled).

Additional context
When a questionnaire response is edited for a stage, the resources (observations, condition, etc) are updated. Now for the following questionnaire, during initialExpressions there might be change in values for certain questions. Their values might be used in enableWhenExpressions for different questions which would result in more questions to be filled or some to be deleted from the questionnaire response.

cc: @omarismail94

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High priority issueeffort:mediumMedium effort - 3 to 5 days

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions