Skip to content

Commit

Permalink
Remove blank lines (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
yankunhuang-pku committed Apr 6, 2022
1 parent 6cf62bd commit 7963ba3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/Filters-and-Tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ If these filters do not meet your needs, you can also write your own filters.
### DateTime filters
| Filter | Description | Syntax |
|-|-|-|


| add_hyphens_date | Adds hyphens to a date or a partial date that does not have hyphens to make it into a valid FHIR format. The input date format is YYYY, YYYYMM, or YYYYMMDD. The output format is a valid FHIR date or a partial date format: YYYY, YYYY-MM, or YYYY-MM-DD. | `{{ PID.7.Value \| add_hyphens_date }}` |
| format_as_date_time | Converts valid HL7v2 and C-CDA datetime to a valid FHIR datetime format. The input datetime format is datetime or partial datetime without hyphens: YYYY[MM[DD[HH[MM[SS[.S[S[S[S]]]]]]]]][+/-ZZZZ]. For example, the input 20040629175400000 will have the output 2004-06-29T17:54:00.000Z. Provides parameters to handle different time zones: preserve, utc, local. The default method is preserve. | `{{ PID.29.Value \| format_as_date_time: 'utc' }}` |
| now | Provides the current time in a specific format. The default format is yyyy-MM-ddTHH:mm:ss.FFFZ. | `{{ '' \| now: 'dddd, dd MMMM yyyy HH:mm:ss' }}` |
Expand Down

0 comments on commit 7963ba3

Please sign in to comment.