Skip to content

Commit ee1080c

Browse files
Merge pull request #2 from JuliaHealth/add/precohort-base
[FEATURE] PreCohort Feasibility
2 parents 51bc72f + 078518a commit ee1080c

File tree

10 files changed

+1091
-17
lines changed

10 files changed

+1091
-17
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
*.jl.mem
44
/Manifest*.toml
55
/docs/Manifest*.toml
6-
/docs/build/
6+
/docs/build/

Project.toml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,31 @@ authors = ["Kosuri Lakshmi Indu <[email protected]> and contributors"]
44
version = "0.0.1"
55

66
[deps]
7+
DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965"
8+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
9+
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
710
FunSQL = "cf6cc811-59f4-4a10-b258-a8547a8f6407"
8-
HealthBase = "94e1309d-ccf4-42de-905f-515f1d7b1cae"
11+
InlineStrings = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48"
12+
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
913
OMOPCommonDataModel = "ba65db9e-6590-4054-ab8a-101ed9124986"
14+
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
1015

1116
[compat]
12-
FunSQL = "0.15.0"
13-
HealthBase = "2.0.0"
14-
OMOPCommonDataModel = "0.1.4"
17+
DBInterface = "2.6.1"
18+
DataFrames = "1.7.0"
19+
FunSQL = "0.10, 0.11, 0.12, 0.13"
20+
InlineStrings = "1.4.4"
21+
JuliaFormatter = "2.1.6"
22+
OMOPCommonDataModel = "0.1"
23+
PrettyTables = "2.4.0"
1524
julia = "1.10"
1625

1726
[extras]
27+
DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
28+
HealthSampleData = "b8464e9a-ae38-46a4-977b-86f00930f698"
29+
OMOPCDMCohortCreator = "f525a15e-a73f-4eef-870f-f901257eae22"
30+
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
1831
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1932

2033
[targets]
21-
test = ["Test"]
34+
test = ["Test", "HealthSampleData", "SQLite", "OMOPCDMCohortCreator", "DataDeps"]

assets/version_info

422 KB
Binary file not shown.

docs/make.jl

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
using OMOPCDMFeasibility
22
using Documenter
33

4-
DocMeta.setdocmeta!(OMOPCDMFeasibility, :DocTestSetup, :(using OMOPCDMFeasibility); recursive=true)
4+
DocMeta.setdocmeta!(
5+
OMOPCDMFeasibility, :DocTestSetup, :(using OMOPCDMFeasibility); recursive=true
6+
)
57

68
makedocs(;
79
modules=[OMOPCDMFeasibility],
@@ -12,12 +14,7 @@ makedocs(;
1214
edit_link="master",
1315
assets=String[],
1416
),
15-
pages=[
16-
"Home" => "index.md",
17-
],
17+
pages=["Home" => "index.md"],
1818
)
1919

20-
deploydocs(;
21-
repo="github.com/JuliaHealth/OMOPCDMFeasibility.jl",
22-
devbranch="master",
23-
)
20+
deploydocs(; repo="github.com/JuliaHealth/OMOPCDMFeasibility.jl", devbranch="master")

src/OMOPCDMFeasibility.jl

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
module OMOPCDMFeasibility
22

3-
# Write your package code here.
3+
using DataFrames
4+
using DBInterface
5+
using FunSQL:
6+
FunSQL,
7+
Agg,
8+
Fun,
9+
From,
10+
Get,
11+
Group,
12+
Join,
13+
LeftJoin,
14+
Select,
15+
Where,
16+
SQLConnection,
17+
reflect
18+
using OMOPCommonDataModel
19+
20+
include("utils.jl")
21+
include("precohort.jl")
22+
23+
export analyze_concept_distribution, generate_summary, generate_domain_breakdown
424

525
end

0 commit comments

Comments
 (0)