Changelog¶
All notable changes to alx-heor are documented here.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
Planned¶
- Optum data source support
- Komodo data source support (Snowflake)
- Loopback data source support
- MDV (Japan) data source support
[0.5.0] - 2025-01-15¶
Added¶
- Cohort module with declarative criteria specification
get_cohort()- main entry point for cohort buildingCohortCriteria- complete specification of inclusion/exclusionDiagnosisCriteria- diagnosis-based criteria with time windowsProcedureCriteria- procedure-based criteriaMedicationCriteria- medication-based criteria (generic name, NDC, J-code)EnrollmentCriteria- continuous enrollment requirements-
CohortResult- structured results with attrition tracking -
Enrollment module with gap analysis
get_enrollment()- fetch enrollment datacalculate_enrollment_gaps()- gap analysis relative to index datefilter_continuous_enrollment()- filter by gap thresholdget_censor_dates()- censoring for survival analysis-
analyze_enrollment()- all-in-one enrollment analysis -
Medications module with treatment analysis
lookup_medications()- NDC/J-code lookup by generic nameget_treatment_claims()- treatment claims for cohortassign_medication_category()- categorize by therapeutic classidentify_treatment_episodes()- detect treatment episodescalculate_pdc()- adherence calculation-
classify_payer_type()- payer classification -
Documentation site (MkDocs with Material theme)
- API reference with auto-generated docstrings
- Tutorials for cohort, enrollment, medication analysis
- Data sources reference
Changed¶
- Reorganized module exports with
__all__ - Enhanced docstrings with NumPy format
[0.4.0] - 2025-01-10¶
Added¶
- Claims module with
get_claims()andbuild_claims_sql() - Demographics filtering with
add_demographics()andfilter_demographics() - Index date calculation with
get_index_dates()
Changed¶
- Configuration-driven column mapping via
get_source_config()
[0.3.0] - 2025-01-05¶
Added¶
- Data source configuration registry (
SOURCES) - Column mappings for IQVIA, Optum, Komodo
get_source_config()andlist_sources()functions
[0.2.0] - 2024-12-20¶
Added¶
- Database module with
RedshiftConnection query()method for executing SQLget_tables()andget_columns()for schema explorationformat_in_clause()utility
[0.1.0] - 2024-12-15¶
Added¶
- Initial project structure
- Package configuration with
pyproject.toml - Basic imports and module layout