How enterprise-cmcs/t-msis-analytic-file-generation-python works
This is a PySpark/Databricks library for generating CMS T-MSIS Analytic Files from T-MSIS data. Its user-facing workflow is to run a selected file type, independently or in parallel, and produce the corresponding analytic file; annual demographic/eligibility and provider files, claims files, and supplemental file types are distinct product stages. The tree and README establish these capabilities, but sampled source is partial, so the graph keeps most cross-module wiring at the documented entry-point level rather than inferring a detailed pipeline.
Main entry points: TAF.py TAF framework · TAF_Closure.py Claims closure · TAF_Runner.py TAF runner · DE.py Demographics / eligibility
Components 19
Execution
- TAF runner
taf/TAF_Runner.py - TAF framework
taf/TAF.py
Annual files
- Demographics / eligibility
taf/DE/DE.py - Annual providers
taf/APR/APR.py - Provider file
taf/PRV/PRV.py
Claims files
- Inpatient claims
taf/IP/IP.py - Long-term claims
taf/LT/LT.py - Other claims
taf/OT/OT.py - Pharmacy claims
taf/RX/RX.py
Other files
- Applicant file
taf/APL/APL.py - Beneficiary summary
taf/BSF/BSF_Runner.py - Financial transactions
taf/FTX/FTX_Runner.py - Managed care plans
taf/MCP/MCP.py - Unpaid claims
taf/UP/UP.py
Shared logic
- Claims grouping
taf/TAF_Grouper.py - Claims closure
taf/TAF_Closure.py - TAF metadata
taf/TAF_Metadata.py
Other components
- Notebook user
- Generated TAF files
Connections 23
- Notebook user → TAF runner: selects file type
- TAF runner → TAF framework: dispatches
- TAF framework → Demographics / eligibility: creates
- TAF framework → Annual providers: creates
- TAF framework → Provider file: creates
- TAF framework → Inpatient claims: creates
- TAF framework → Long-term claims: creates
- TAF framework → Other claims: creates
- TAF framework → Pharmacy claims: creates
- TAF framework → Applicant file: creates
- TAF framework → Beneficiary summary: creates
- TAF framework → Financial transactions: creates
- TAF framework → Managed care plans: creates
- TAF framework → Unpaid claims: creates
- Annual providers → Generated TAF files: produces
- Demographics / eligibility → Generated TAF files: produces
- TAF runner → Generated TAF files: runs selected generation
- Claims grouping → TAF framework: supports
- Claims closure → Inpatient claims: cleans claim fields
- Claims closure → Long-term claims: cleans claim fields
- Claims closure → Other claims: cleans claim fields
- Claims closure → Pharmacy claims: cleans claim fields
- TAF metadata → TAF framework: provides metadata