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

Constraint diverror. #63

Open
ItIsGreg opened this issue Jul 11, 2023 · 2 comments
Open

Constraint diverror. #63

ItIsGreg opened this issue Jul 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ItIsGreg
Copy link
Collaborator

This error is currently thrown from the constraint checking, when the text.div field is filled out.

Error: line: 1; column: 15; message: mismatched input 'div' expecting {'is', 'as', 'in', 'contains', '$this', '$index', '$total', IDENTIFIER, DELIMITEDIDENTIFIER}
line: 1; column: 18; message: extraneous input '.' expecting {'+', '-', 'is', 'as', 'in', 'contains', '(', '{', 'true', 'false', '%', '$this', '$index', '$total', DATETIME, TIME, IDENTIFIER, DELIMITEDIDENTIFIER, STRING, NUMBER}

This fhirpath expression seems to cause the error when being evaluated by fhirpath.js. The backticks are probably read as template strings and the .exists() seems not to be passed to the evaluate function or something.

"text.div.exists()"

@ItIsGreg
Copy link
Collaborator Author

Started working on fixConstraints

@ItIsGreg
Copy link
Collaborator Author

fixed on fixConstraint

@trostalski trostalski added the bug Something isn't working label Aug 10, 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
None yet
Development

No branches or pull requests

2 participants