Skip to content

Commit

Permalink
Merge pull request #18 in LFOR/fhirpath.js from bugfix/ts-import to m…
Browse files Browse the repository at this point in the history
…aster

* commit '992170824a5603312a44f29c2675af7d5852c7f8':
  Set the version to 2.6.1 and updated the change log
  fix TS errors
  fix TS errors
  TS import fix
  • Loading branch information
yuriy-sedinkin committed Sep 25, 2020
2 parents ad1b3c8 + 9921708 commit 91eb8d3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
This log documents significant changes for each release. This project follows
[Semantic Versioning](http://semver.org/).

## [2.6.1] - 2020-09-22
### Fixed
- Module not found errors with TypeScript when importing json files
inside module declaration (in an Angular project)

## [2.6.0] - 2020-09-01
### Added
Limited support for types (see README.md for details):
Expand Down
4 changes: 2 additions & 2 deletions fhir-context/dstu2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ module.exports = {
* A hash of resource element paths (e.g. Observation.value) that are known
* to point to fields that are choice types.
*/
choiceTypePaths: require('./choiceTypePaths'),
choiceTypePaths: require('./choiceTypePaths.json'),

/**
* A hash from paths to the path for which their content is defined, e.g.
* Questionnaire.item.item -> Questionnaire.item.
*/
pathsDefinedElsewhere: require('./pathsDefinedElsewhere')
pathsDefinedElsewhere: require('./pathsDefinedElsewhere.json')
}
4 changes: 2 additions & 2 deletions fhir-context/r4/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ module.exports = {
* A hash of resource element paths (e.g. Observation.value) that are known
* to point to fiels that are choice types.
*/
choiceTypePaths: require('./choiceTypePaths'),
choiceTypePaths: require('./choiceTypePaths.json'),

/**
* A hash from paths to the path for which their content is defined, e.g.
* Questionnaire.item.item -> Questionnaire.item.
*/
pathsDefinedElsewhere: require('./pathsDefinedElsewhere')
pathsDefinedElsewhere: require('./pathsDefinedElsewhere.json')
}
4 changes: 2 additions & 2 deletions fhir-context/stu3/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ module.exports = {
* A hash of resource element paths (e.g. Observation.value) that are known
* to point to fiels that are choice types.
*/
choiceTypePaths: require('./choiceTypePaths'),
choiceTypePaths: require('./choiceTypePaths.json'),

/**
* A hash from paths to the path for which their content is defined, e.g.
* Questionnaire.item.item -> Questionnaire.item.
*/
pathsDefinedElsewhere: require('./pathsDefinedElsewhere')
pathsDefinedElsewhere: require('./pathsDefinedElsewhere.json')
}
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fhirpath",
"version": "2.6.0",
"version": "2.6.1",
"description": "A FHIRPath engine",
"main": "src/fhirpath.js",
"dependencies": {
Expand Down

0 comments on commit 91eb8d3

Please sign in to comment.