File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ include("metadata.jl")
3232
3333# Standardized Clinical Data Tables
3434export Person
35- # export ObservationPeriod
35+ export ObservationPeriod
3636# export Death
3737# export VisitOccurence
3838# export VisitDetail
Original file line number Diff line number Diff line change @@ -26,3 +26,15 @@ Base.@kwdef struct Person <: OmopType
2626 ethnicity_source_value:: Union{Missing, String} = missing
2727 ethnicity_source_concept_id:: Int
2828end
29+
30+ """
31+ $(DocStringExtensions. TYPEDEF)
32+ $(DocStringExtensions. TYPEDFIELDS)
33+ """
34+ Base. @kwdef struct ObservationPeriod <: OmopType
35+ observation_period_id:: Int
36+ person_id:: Int
37+ observation_period_start_date:: Dates.DateTime
38+ observation_period_end_date:: Dates.DateTime
39+ period_type_concept_id:: Int
40+ end
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ using StructArrays
77using Test
88
99@testset " OMOPCommonDataModel.jl" begin
10- @testset " Unit tests" begin
11- end
1210 @testset " Doctests" begin
1311 doctest (OMOPCommonDataModel)
1412 end
You can’t perform that action at this time.
0 commit comments