Skip to content

Commit 91eb8d3

Browse files
Merge pull request #18 in LFOR/fhirpath.js from bugfix/ts-import to master
* commit '992170824a5603312a44f29c2675af7d5852c7f8': Set the version to 2.6.1 and updated the change log fix TS errors fix TS errors TS import fix
2 parents ad1b3c8 + 9921708 commit 91eb8d3

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
This log documents significant changes for each release. This project follows
44
[Semantic Versioning](http://semver.org/).
55

6+
## [2.6.1] - 2020-09-22
7+
### Fixed
8+
- Module not found errors with TypeScript when importing json files
9+
inside module declaration (in an Angular project)
10+
611
## [2.6.0] - 2020-09-01
712
### Added
813
Limited support for types (see README.md for details):

fhir-context/dstu2/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ module.exports = {
77
* A hash of resource element paths (e.g. Observation.value) that are known
88
* to point to fields that are choice types.
99
*/
10-
choiceTypePaths: require('./choiceTypePaths'),
10+
choiceTypePaths: require('./choiceTypePaths.json'),
1111

1212
/**
1313
* A hash from paths to the path for which their content is defined, e.g.
1414
* Questionnaire.item.item -> Questionnaire.item.
1515
*/
16-
pathsDefinedElsewhere: require('./pathsDefinedElsewhere')
16+
pathsDefinedElsewhere: require('./pathsDefinedElsewhere.json')
1717
}

fhir-context/r4/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ module.exports = {
77
* A hash of resource element paths (e.g. Observation.value) that are known
88
* to point to fiels that are choice types.
99
*/
10-
choiceTypePaths: require('./choiceTypePaths'),
10+
choiceTypePaths: require('./choiceTypePaths.json'),
1111

1212
/**
1313
* A hash from paths to the path for which their content is defined, e.g.
1414
* Questionnaire.item.item -> Questionnaire.item.
1515
*/
16-
pathsDefinedElsewhere: require('./pathsDefinedElsewhere')
16+
pathsDefinedElsewhere: require('./pathsDefinedElsewhere.json')
1717
}

fhir-context/stu3/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ module.exports = {
77
* A hash of resource element paths (e.g. Observation.value) that are known
88
* to point to fiels that are choice types.
99
*/
10-
choiceTypePaths: require('./choiceTypePaths'),
10+
choiceTypePaths: require('./choiceTypePaths.json'),
1111

1212
/**
1313
* A hash from paths to the path for which their content is defined, e.g.
1414
* Questionnaire.item.item -> Questionnaire.item.
1515
*/
16-
pathsDefinedElsewhere: require('./pathsDefinedElsewhere')
16+
pathsDefinedElsewhere: require('./pathsDefinedElsewhere.json')
1717
}

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fhirpath",
3-
"version": "2.6.0",
3+
"version": "2.6.1",
44
"description": "A FHIRPath engine",
55
"main": "src/fhirpath.js",
66
"dependencies": {

0 commit comments

Comments
 (0)