Skip to content

Commit 52ba44c

Browse files
Merge pull request #47 in LFOR/fhirpath.js from feature/LF-2305/support-for-date-data-type to master
* commit '0419e25c1b52497d5a2bd57a711b318fe34dbafb': npm audit fix Updated README.md Updated README.md Removed implicit string to date/time conversion during comparison Support toDate(), convertsToDate(). Fixed access to resource date fields.
2 parents 2158822 + 0419e25 commit 52ba44c

18 files changed

Lines changed: 523 additions & 862 deletions

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
This log documents significant changes for each release. This project follows
44
[Semantic Versioning](http://semver.org/).
55

6+
## [3.2.0] - 2022-10-28
7+
### Added
8+
- Functions: toDate(), convertsToDate().
9+
### Fixed
10+
- Date/Time arithmetic to make this expression work:
11+
`Patient.birthDate + 1 day`
12+
- Removed implicit string to date/time conversion during comparison.
13+
614
## [3.1.0] - 2022-09-14
715
### Added
816
- function "as(type)".

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ Completed sections:
212212
- 5.2 (Filtering and Projection) "ofType"
213213
- 5.3 (Subsetting)
214214
- 5.4 (Combining)
215+
- 5.5 (Conversion)
215216
- 5.6 (String Manipulation)
216217
- 5.7 (Tree Navigation)
217218
- 5.8 (Utility Functions)
@@ -226,14 +227,6 @@ Completed sections:
226227
- 8 (Lexical Elements) - handled by ANTLR parser
227228
- 9 (Environment Variables)
228229
229-
Almost completed sections:
230-
- 5.5 (Conversion) - unimplemented methods: toDate, convertsToDate.
231-
232-
Also, because in JSON DateTime and Time types are represented as strings, if a
233-
string in a resource looks like a DateTime or Time (matches the regular
234-
expression defined for those types in FHIR), the string will be interpreted as a
235-
DateTime or Time.
236-
237230
## Development Notes
238231
239232
This section is for people doing development on this package (as opposed to

0 commit comments

Comments
 (0)