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

Issue with scheduledEncountersOfType #49

Open
nupoorkhandelwal opened this issue Aug 24, 2023 · 3 comments
Open

Issue with scheduledEncountersOfType #49

nupoorkhandelwal opened this issue Aug 24, 2023 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nupoorkhandelwal
Copy link

The following snippet ideally should give some value only if there is a visit scheduled of the specified type which is not completed and cancelled. (and not consider the visit user is completing) But at any moment it gives 'hello>>>>', [ { that: {} } ] irrespective if there is already a visit scheduled or a scheduled visit is being completed of that type.

As an implementor we do not have any way to identify if the visit is already scheduled or not!

const hello = programEncounter.programEnrolment.scheduledEncountersOfType('Child followup');
console.log('hello>>>>', hello);

@nupoorkhandelwal
Copy link
Author

@mahalakshme if it is not too much work, can this be picked?

@mahalakshme
Copy link
Contributor

@nupoorkhandelwal checking, missed it

@mahalakshme
Copy link
Contributor

@nupoorkhandelwal is this issue still relevant? found the related cards/tickets closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: New Issues
Development

No branches or pull requests

2 participants