Skip to content

Commit 4c9cc1d

Browse files
authored
Implement version 5.3.1 of the OMOP Common Data Model (CDM) (#25)
1 parent 9daab47 commit 4c9cc1d

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

docs/src/version.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ implemented in each version of the `OMOPCommonDataModel.jl` Julia package.
99

1010
| Common Data Model (CDM) | `OMOPCommonDataModel.jl` |
1111
| ----------------------- | ------------------------ |
12-
| 5.1.3 | 0.1.0 |
12+
| 5.3.1 | 0.1.0 |
1313

1414
In order to see the current CDM version, use the
1515
`OMOPCommonDataModel.cdm_version` function:
1616
```jldoctest
1717
julia> using OMOPCommonDataModel
1818
1919
julia> OMOPCommonDataModel.cdm_version()
20-
v"5.1.3"
20+
v"5.3.1"
2121
```
2222

2323
In order to see the current `OMOPCommonDataModel.jl` version, use the

src/Generate/generate-types.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
const _default_input_file = joinpath(dirname(dirname(dirname(@__FILE__))), "assets", "OMOP-CDM-sql-server.ddl.txt")
1+
const _default_input_file_name = "OMOP-CDM-sql-server-ddl.txt"
2+
const _default_input_file_path = joinpath(dirname(dirname(dirname(@__FILE__))), "assets", _default_input_file_name)
23

34
"""
45
Generate the code for OMOPCommonDataModel from the DDL.
56
"""
6-
@inline function generate(; input_file = _default_input_file,
7+
@inline function generate(; input_file = _default_input_file_path,
78
output_file = "autogenerated.jl",
89
string_casing::F = pascalcase,
910
export_structs::Bool = true,

src/OMOPCommonDataModel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ An OMOP Common Data Model (CDM) type.
1010
"""
1111
abstract type CDMType end
1212

13-
const CDM_VERSION = v"5.1.3"
13+
const CDM_VERSION = v"5.3.1"
1414
include("version.jl")
1515

1616
include("Generate/Generate.jl")

0 commit comments

Comments
 (0)