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

Make sample message rule more relevant based on entity #35

Open
mahalakshme opened this issue Jun 30, 2023 · 0 comments
Open

Make sample message rule more relevant based on entity #35

mahalakshme opened this issue Jun 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mahalakshme
Copy link

Case:
Currently in sample message rule independent of for which entity type(Individual/Encounter/Enrolment) it is for, it has the below line: const individual = params.entity;

Instead if it is for encounter, the code should have been const encounter = params.entity; like we have already done in visit schedule rule and decision rule.

Need to fix:
For self-implementing organisations and implementation team, this will help to understand better how to access the entity.

@mahalakshme mahalakshme added the bug Something isn't working label Jun 30, 2023
@vinayvenu vinayvenu transferred this issue from avniproject/avni-webapp Jun 30, 2023
@vinayvenu vinayvenu moved this from Focus Items to In Analysis in Avni Product Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Analysis
Development

No branches or pull requests

1 participant