Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag New Release of 0.4.0 #66

Merged
merged 73 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
67e276c
Removed type signatures + fixed docstrings; lowercased table names an…
TheCedarPrince Jul 29, 2022
be60895
Added TODO's for what tests to write
TheCedarPrince Jul 29, 2022
b05f4a5
Removed type signatures and added TODO for futures
TheCedarPrince Jul 29, 2022
7fb55e7
Removed type signatures
TheCedarPrince Jul 29, 2022
564d9e9
Removed type signatures
TheCedarPrince Jul 29, 2022
b5100e0
Raised proposal to CDM maintainers and am awaiting feedback before mo…
TheCedarPrince Aug 3, 2022
aa9bbc8
Removed type signatures and fixed bug with GetPatientVisits to correc…
TheCedarPrince Aug 3, 2022
df26222
Changed docstring in StateFilterPersonIDs and enforced uppercasing fo…
TheCedarPrince Aug 3, 2022
f77547b
Added and updated CHANGELOG
TheCedarPrince Aug 3, 2022
a7238a9
Bumped project version numbers for new release
TheCedarPrince Aug 3, 2022
b960d17
Removed as it was an early testing prototype file
TheCedarPrince Aug 3, 2022
77855bf
Merge branch 'dev'
TheCedarPrince Aug 5, 2022
c83835c
Began revising tutorial documentation
TheCedarPrince Aug 5, 2022
76ccd9e
Removed Manifest file for package
TheCedarPrince Aug 5, 2022
62bd9d8
Added Dates and TimeZones deps for managing age groups
TheCedarPrince Aug 5, 2022
c968798
Disallowed some exports and created new function for generating defaults
TheCedarPrince Aug 5, 2022
ac7862e
Added new deps Dates and TimeZones for time management
TheCedarPrince Aug 5, 2022
a50b1e2
Began refactoring of GetPatientAgeGroup
TheCedarPrince Aug 5, 2022
06dd9ab
Refactored GetPatientAgeGroup to correctly get age group of patients
TheCedarPrince Aug 5, 2022
79441f3
Removed AgeGroupFilter in favor of supporting GetPatientAgeGroup and …
TheCedarPrince Aug 5, 2022
5a4218a
Added SampleData compat and dependency
TheCedarPrince Aug 7, 2022
0b90d2b
Renamed files and fixed docs
TheCedarPrince Aug 7, 2022
4188193
Fixed documentation and fixed methods for calculating age
TheCedarPrince Aug 7, 2022
7c3cb31
Added helper function to determine year
TheCedarPrince Aug 7, 2022
7c041c7
Started adding first batch of tests
TheCedarPrince Aug 7, 2022
9e4ce81
Added helpers file
TheCedarPrince Aug 7, 2022
8d63857
Removed entry for SampleHealthData until merge of package occurs
TheCedarPrince Aug 8, 2022
e631492
Converted this function to internal helper function
TheCedarPrince Aug 8, 2022
348a290
Added new tests and dependencies
TheCedarPrince Aug 8, 2022
eb5c8cf
Added tests for GetPatientGender, GetPatientAgeGroup, GetPatientRace,…
TheCedarPrince Aug 8, 2022
de480a9
Added ignore for various Julia artifacts
TheCedarPrince Aug 8, 2022
4559b62
Initial drafting of full tutorial
TheCedarPrince Aug 8, 2022
444e7d4
Merge branch '0.1.0' into docs
TheCedarPrince Aug 8, 2022
f2879a0
Finished initial beginner tutorial
TheCedarPrince Aug 8, 2022
4c3968c
Updated README with badges and documentation link
TheCedarPrince Aug 8, 2022
b4a3291
Modified footer
TheCedarPrince Aug 8, 2022
1061eda
Updated landing page
TheCedarPrince Aug 8, 2022
fd0f974
Reordered pages on sidebar
TheCedarPrince Aug 8, 2022
8bd33dc
Updated changelog for new release
TheCedarPrince Aug 8, 2022
449c788
Beginning draft of submission
TheCedarPrince Sep 13, 2022
07c47cc
Creating header affiliations
TheCedarPrince Sep 13, 2022
5926070
Autogenerated or compiled files
TheCedarPrince Sep 13, 2022
e53b586
Ruby routine for generating header.tex
TheCedarPrince Sep 13, 2022
4c35047
Removed Memoization dependency for user flexibility
TheCedarPrince Sep 13, 2022
2879630
Added dispatches to render SQL; found bug in GetPatientAgeGroup
TheCedarPrince Sep 14, 2022
17a91c3
Added get function for ethnicity
TheCedarPrince Sep 21, 2022
35c457b
Cherry picking some files to resolve conflicts
TheCedarPrince Oct 12, 2022
bacba83
Merge branch 'main' into dev
TheCedarPrince Oct 12, 2022
da3e5f2
Initial Tests for Getters, Filters, and Executors (#24)
VarshC Oct 12, 2022
ba0a93e
Began process of major refactor to enable SQL rendering
TheCedarPrince Oct 18, 2022
419c768
Simplify Age Calculations (#27)
TheCedarPrince Oct 19, 2022
8cb40d9
Updated tests for helper functions
TheCedarPrince Oct 23, 2022
796f7b1
Added Additional Test Coverage for Getters and Helpers (#28)
TheCedarPrince Oct 23, 2022
94e52f3
Fix to Docs Deployment (#29)
TheCedarPrince Oct 23, 2022
70146eb
Update to Beginner Tutorial and Minor Refactor of Tutorials Layout (#30)
TheCedarPrince Oct 23, 2022
60cf9ac
Overhaul of Docs (#31)
TheCedarPrince Oct 24, 2022
8b1707c
Updated and fixed Citation file (#32)
TheCedarPrince Oct 24, 2022
e4218dc
Expanded CI to test on Windows & OSX and Julia Versions 1, Nightly, a…
TheCedarPrince Nov 5, 2022
32fe5d4
Merge branch 'main' into dev
TheCedarPrince Nov 5, 2022
5341bca
Added function to get place of service information (#39)
TheCedarPrince Nov 6, 2022
7c6e333
Added GetVisitConcept getter function (#41)
TheCedarPrince Nov 6, 2022
e0341a4
issue #44 add GetVisitDate (#45)
VarshC Feb 22, 2023
06af0cd
Adding the column name (#43)
Farreeda Feb 25, 2023
22f5e48
Bumped compat and release version
TheCedarPrince Feb 28, 2023
57f9a8a
Updated CHANGELOG for new release
TheCedarPrince Feb 28, 2023
e0a20e5
Bumped release version
TheCedarPrince Feb 28, 2023
e3fd1ce
Merge branch 'main' into dev
TheCedarPrince Feb 28, 2023
fff44e6
Resolve merge conflicts
TheCedarPrince Oct 26, 2023
c0df24d
Added GetVisitProcedure associated with someones visit (#59)
Jay-sanjay Oct 26, 2023
abd9f5c
Resolving `ExecuteAudit` function getting Breaked Easily (#60)
Jay-sanjay Oct 26, 2023
5a0a09a
renamed to GetDrugExposureIDs (#63)
Jay-sanjay Nov 11, 2023
3200fd1
Creating Queries That Return Cohort Information (#61)
Jay-sanjay Nov 24, 2023
eafcf45
updated for new release
Jay-sanjay Nov 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [0.4.0] - December 1st, 2023

Patch release to add in some new features and fixes

### Added

- Added Getters that return Cohort information

* GetDatabaseCohorts

* GetCohortSubjects

* GetCohortSubjectEndDate

* GetCohortSubjectStartDate

- Misc

* Changed GetDrugExposures to GetDrugExposureIDs

* Added GetVisitProcedure in getters

- Extensive test suite for new features


## [0.3.0] - August 25th, 2023

New minor release to introduce some new functionalities and novel extensions of the API
Expand Down
8 changes: 5 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ authors:
given-names: Varshini
- family-names: Abdelazeez
given-names: Fareeda
title: "OMOPCDMCohortCreator 0.3.0"
version: 0.3.0
- family-names: Sanjay
given-names: Jay
title: "OMOPCDMCohortCreator 0.4.0"
version: 0.4.0
doi: 10.5281/zenodo.7052105
date-released: 2023-08-25
date-released: 2023-12-01
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OMOPCDMCohortCreator"
uuid = "f525a15e-a73f-4eef-870f-f901257eae22"
authors = ["Jacob Zelko <[email protected]>", "Fareeda Abdelazeez", "Varshini Chinta"]
version = "0.3.0"
authors = ["Jacob Zelko <[email protected]>", "Fareeda Abdelazeez", "Varshini Chinta", "Jay Sanjay <[email protected]>"]
version = "0.4.0"

[deps]
DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965"
Expand Down
7 changes: 6 additions & 1 deletion docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ GetMostRecentConditions
GetMostRecentVisit
GetVisitCondition
GetDatabaseYearRange
GetDrugExposure
GetDrugExposureIDs
GetDrugConceptIDs
GetDrugAmounts
GetDatabaseCohorts
GetCohortSubjects
GetCohortSubjectStartDate
GetCohortSubjectEndDate
GetVisitProcedure
```

## Filters
Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorials/beginner_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ For the patients who have strep throat diagnoses, find their race.
Suggested solution:

```julia
strep_patients_race = occ.GetPatientRace(strep_patients, conn)
strep_patients_race = occ.GetPatientRace(strep_patients.person_id, conn)
```

### Task: Find the Gender of Patients with Strep Throat
Expand Down
4 changes: 3 additions & 1 deletion src/executors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ Function that executes an audit on a dataframe that must contain a `count` colum

- `hitech::Bool` - a boolean that enforces HITECH standards for privacy preserving methods.

- `target_column::Symbol` - the name of the column to target for auditing (default set to :count).

# Returns

- `df` - a `DataFrame` that is appropriately audited per a given standard
"""
function ExecuteAudit(data::DataFrame; hitech = true)
function ExecuteAudit(data::DataFrame; hitech = true, target_column = :count)
df = hitech && filter(row -> row.count >= 11, data)

return df
Expand Down
2 changes: 1 addition & 1 deletion src/filters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,4 @@ function StateFilterPersonIDs(states; tab = location, join_tab = person)

end

export VisitFilterPersonIDs, ConditionFilterPersonIDs, RaceFilterPersonIDs, GenderFilterPersonIDs, StateFilterPersonIDs
export VisitFilterPersonIDs, ConditionFilterPersonIDs, RaceFilterPersonIDs, GenderFilterPersonIDs, StateFilterPersonIDs
Loading
Loading