Skip to content

Implement fhirpath.js test runner.#2177

Merged
johngrimes merged 61 commits intorelease/8.0.0from
issue/2071
Mar 3, 2025
Merged

Implement fhirpath.js test runner.#2177
johngrimes merged 61 commits intorelease/8.0.0from
issue/2071

Conversation

@piotrszul
Copy link
Collaborator

Resolves #2071

…c test cases for empty() and count() functions.
…siro.pathling.test.yaml.logLevel` system property to control the logging level for the tests.
…nce passing existence function test cases in the build.
@piotrszul piotrszul added the fhirpath Related to fhirpath reference implementation label Feb 24, 2025
@piotrszul piotrszul added this to the v8.0.0 milestone Feb 24, 2025
@piotrszul piotrszul self-assigned this Feb 24, 2025
@piotrszul piotrszul requested a review from johngrimes February 24, 2025 08:30
Copy link
Member

@johngrimes johngrimes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @piotrszul, I had a few questions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would fhirpath/test/python be a more natural place to put these files?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to fhirpath/test/python

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unclear to me what these Def* classes are for.

Perhaps some different naming or class comments would help.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the 'Default' implementations - added javadocs comment to all these classes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is a ResourceTag? Does it have any overlap in meaning with a TypeSpecifier?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an abstract representation of a resource type (that can in principle be used to represent any resource type also such that are not defined in FHIR). Added javadocs to the class.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many of these implementations of FhirpathEvaluator are we actually using, and what are we using them for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raised as: #2189 (Review and cleanup the the FhirpathEvaluator implementations)

@johngrimes johngrimes merged commit 572b4da into release/8.0.0 Mar 3, 2025
18 checks passed
@johngrimes johngrimes deleted the issue/2071 branch March 3, 2025 03:05
@github-project-automation github-project-automation bot moved this from In progress to Done in Pathling Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fhirpath Related to fhirpath reference implementation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants