Skip to content

Commit

Permalink
Merge pull request #55 in LFOR/fhirpath.js from feature/LF-2677/hasVa…
Browse files Browse the repository at this point in the history
…lue to master

* commit 'cf206d61b1f9e6690130478485c1825a73edbe58':
  Changes as per review
  Added list of supported additional functions to README.md
  Version info
  type adjustments
  check node type and default checking for hasValue with tests
  Add tests and modify hasValue according to insights
  implement hasValue method
  • Loading branch information
yuriy-sedinkin committed Jul 13, 2023
2 parents bfc097e + cf206d6 commit d650322
Show file tree
Hide file tree
Showing 10 changed files with 366 additions and 278 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This log documents significant changes for each release. This project follows
[Semantic Versioning](http://semver.org/).

## [3.6.0] - 2023-07-11
### Added
- hasValue() function.

## [3.5.0] - 2023-05-04
### Added
- Add `split` and `join` functions
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ Completed sections:
- 8 (Lexical Elements) - handled by ANTLR parser
- 9 (Environment Variables)
Supported additional functions from FHIR:
- extension(url : string) : collection
- hasValue() : Boolean
## Development Notes
This section is for people doing development on this package (as opposed to
Expand Down
2 changes: 0 additions & 2 deletions bin/fhirpath
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ options.parse(process.argv);
// this cli util is part of public interface of fhirpath
// it can be extended with understading urls and files
// TODO: introduce subcommands to inspect, eval fhirpath etc

const expression = options.expression;
const base = options.basePath;

if (!expression)
options.help();
else {
Expand Down
12 changes: 6 additions & 6 deletions demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d650322

Please sign in to comment.