hccinfhir 0.0.3__py3-none-any.whl → 0.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hccinfhir/data/ra_coefficients_2025.csv +6352 -0
- hccinfhir/data/ra_dx_to_cc_2025.csv +53952 -0
- hccinfhir/data/ra_eligible_cpt_hcpcs_2024.csv +6697 -0
- hccinfhir/data/ra_eligible_cpt_hcpcs_2025.csv +6725 -0
- hccinfhir/data/ra_hierarchies_2025.csv +487 -0
- hccinfhir/datamodels.py +101 -0
- hccinfhir/extractor.py +3 -3
- hccinfhir/extractor_837.py +1 -2
- hccinfhir/extractor_fhir.py +1 -1
- hccinfhir/filter.py +3 -5
- hccinfhir/hccinfhir.py +149 -0
- hccinfhir/model_calculate.py +95 -0
- hccinfhir/model_coefficients.py +143 -0
- hccinfhir/model_demographics.py +191 -0
- hccinfhir/model_dx_to_cc.py +54 -0
- hccinfhir/model_hierarchies.py +70 -0
- hccinfhir/model_interactions.py +342 -0
- hccinfhir/samples/__init__.py +2 -0
- hccinfhir/utils.py +51 -0
- {hccinfhir-0.0.3.dist-info → hccinfhir-0.0.5.dist-info}/METADATA +147 -9
- hccinfhir-0.0.5.dist-info/RECORD +42 -0
- hccinfhir/models.py +0 -44
- hccinfhir-0.0.3.dist-info/RECORD +0 -28
- /hccinfhir/{data → samples}/sample_837_0.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_1.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_10.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_11.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_2.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_3.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_4.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_5.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_6.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_7.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_8.txt +0 -0
- /hccinfhir/{data → samples}/sample_837_9.txt +0 -0
- /hccinfhir/{data → samples}/sample_eob_1.json +0 -0
- /hccinfhir/{data → samples}/sample_eob_2.json +0 -0
- /hccinfhir/{data → samples}/sample_eob_200.ndjson +0 -0
- /hccinfhir/{data → samples}/sample_eob_3.json +0 -0
- {hccinfhir-0.0.3.dist-info → hccinfhir-0.0.5.dist-info}/WHEEL +0 -0
- {hccinfhir-0.0.3.dist-info → hccinfhir-0.0.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
hccinfhir/__init__.py,sha256=OCyYCv4jTOlYHZbTw2DTks3e6_YT1N2JXAOuyR03KNE,43
|
|
2
|
+
hccinfhir/datamodels.py,sha256=dY4f03aCX648k4oUysn0UwNWaOYYQhZ2fQBW19IXyNk,4672
|
|
3
|
+
hccinfhir/extractor.py,sha256=-jHVCIJqFAqvrI9GxkkXZVDQjKDa-7vF7v3PGMGAMnA,1801
|
|
4
|
+
hccinfhir/extractor_837.py,sha256=vkTBCd0WBaJoTrUd-Z-zCIaoLk7KV2n4AGqIORhONIk,7147
|
|
5
|
+
hccinfhir/extractor_fhir.py,sha256=Rg_L0Vg5tz_L2VJ_jvZwWz6RMlPAkHwj4LiK-OWQvrQ,8458
|
|
6
|
+
hccinfhir/filter.py,sha256=8uYThN0-AqwVAKyti29WGiFwQKDiremMhYd_m6QcXhM,2193
|
|
7
|
+
hccinfhir/hccinfhir.py,sha256=YdooDAezKPF1VXoAeW8tsvQwm9SZ6u2SO-a0rhoX0iY,6933
|
|
8
|
+
hccinfhir/model_calculate.py,sha256=6cjWMtayC9fBxhTCnbqSJSlctblYz4Mn9vQYDXx-Iu8,3725
|
|
9
|
+
hccinfhir/model_coefficients.py,sha256=UrDAEWBoqooSC8hy9YSUsLMmmfgIO0YGtVkui6ruOkE,5528
|
|
10
|
+
hccinfhir/model_demographics.py,sha256=LZLlPQOtxPh3Md6q9xwztQ9PwrUo_gloNCYSa2bDirY,6578
|
|
11
|
+
hccinfhir/model_dx_to_cc.py,sha256=jCFlnAOBkfI9FrCX6tZIh-Sp_DW0HwpY7QrPXGtwInI,1765
|
|
12
|
+
hccinfhir/model_hierarchies.py,sha256=e8QtSayTrfPv2wh149FjK7ToiEmU1ISYMA1Pi38iVk0,2700
|
|
13
|
+
hccinfhir/model_interactions.py,sha256=ZLiKJepPjPkYceKDf7dLXoYE0p44I7t9y2sTOlrxojo,20264
|
|
14
|
+
hccinfhir/utils.py,sha256=5tPwf_neqSJXlerhHbrPPihC0nMKsU40HOBoNCEkGco,1791
|
|
15
|
+
hccinfhir/data/__init__.py,sha256=SGiSkpGrnxbvtEFMMlk82NFHOE50hFXcgKwKUSuVZUg,45
|
|
16
|
+
hccinfhir/data/ra_coefficients_2025.csv,sha256=I0S2hoJlfig-D0oSFxy0b3Piv7m9AzOGo2CwR6bcQ9w,215191
|
|
17
|
+
hccinfhir/data/ra_dx_to_cc_2025.csv,sha256=4N7vF6VZndkl7d3Fo0cGsbAPAZdCjAizSH8BOKsZNAo,1618924
|
|
18
|
+
hccinfhir/data/ra_eligible_cpt_hcpcs_2023.csv,sha256=VVoA4s0hsFmcRIugyFdbvSoeLcn7M7z0DITT6l4YqL8,39885
|
|
19
|
+
hccinfhir/data/ra_eligible_cpt_hcpcs_2024.csv,sha256=CawKImfCb8fFMDbWwqvNLRyRAda_u9N8Q3ne8QAAe54,40191
|
|
20
|
+
hccinfhir/data/ra_eligible_cpt_hcpcs_2025.csv,sha256=-tMvv2su5tsSbGUh6fZZCMUEkXInBpcTtbUCi2o_UwI,40359
|
|
21
|
+
hccinfhir/data/ra_hierarchies_2025.csv,sha256=HQSPNloe6mvvwMgv8ZwYAfWKkT2b2eUvm4JQy6S_mVQ,13045
|
|
22
|
+
hccinfhir/samples/__init__.py,sha256=SGiSkpGrnxbvtEFMMlk82NFHOE50hFXcgKwKUSuVZUg,45
|
|
23
|
+
hccinfhir/samples/sample_837_0.txt,sha256=eggrD259uHa05z2dfxWBpUDseSDp_AQcLyN_adpHyTw,5295
|
|
24
|
+
hccinfhir/samples/sample_837_1.txt,sha256=E155MdemSDYoXokuTXUZ6Br_RGGedYv5t5dh-eMRmuk,1322
|
|
25
|
+
hccinfhir/samples/sample_837_10.txt,sha256=zSJXI78vHAksA7FFQEVLvepefdpMM2_AexLyoDimV3Q,1129
|
|
26
|
+
hccinfhir/samples/sample_837_11.txt,sha256=suVxlZEllEOy6dYgbzGIphKW6hDAKdYQTZFM3Ob84q4,817
|
|
27
|
+
hccinfhir/samples/sample_837_2.txt,sha256=2bvXzaiopr7pO3D3pL7nLxcpgqKXrhu3lbulveJDJ-I,1125
|
|
28
|
+
hccinfhir/samples/sample_837_3.txt,sha256=_B1Ktpsg7bOnA5BwZ7AUB0o7MME5AmLGuxzHq42FWok,1113
|
|
29
|
+
hccinfhir/samples/sample_837_4.txt,sha256=jpzyiHKmRGMqN1ij9s1X4zRj0a2PXwtee4mjn4BRF3g,1077
|
|
30
|
+
hccinfhir/samples/sample_837_5.txt,sha256=eYG4URk3zAr5UsnBKO5Wezo8dnL_HXGCMmXWJu0nxPA,1300
|
|
31
|
+
hccinfhir/samples/sample_837_6.txt,sha256=pnKQf2cVcZpUl8PGeYzZxRxjKOMcISN2dBObIMtLx7E,1331
|
|
32
|
+
hccinfhir/samples/sample_837_7.txt,sha256=5Y-x7ZA9d_qGaIrpVGfXKQBXqbxKiQ5CWOwEW1XGlds,1253
|
|
33
|
+
hccinfhir/samples/sample_837_8.txt,sha256=J-zm0fzp6F19r2SWfHcCtab9ezd3c4YaSRO-RatJ-c4,1250
|
|
34
|
+
hccinfhir/samples/sample_837_9.txt,sha256=nIIurZ0tLHw6ZfDM__U-WqV8Q0u4K3WP56-r3BnAEv8,1341
|
|
35
|
+
hccinfhir/samples/sample_eob_1.json,sha256=_NGSVR2ysFpx-DcTvyga6dFCzhQ8Vi9fNzQEMPz5awU,3124
|
|
36
|
+
hccinfhir/samples/sample_eob_2.json,sha256=FcnJcx0ApOczxjJ_uxVLzCep9THfNf4xs9Yf7hxk8e4,1769
|
|
37
|
+
hccinfhir/samples/sample_eob_200.ndjson,sha256=CxpjeQ1DCMUzZILaM68UEhfxO0p45YGhDDoCZeq8PxU,1917986
|
|
38
|
+
hccinfhir/samples/sample_eob_3.json,sha256=4BW4wOMBEEU9RDfJR15rBEvk0KNHyuMEh3e055y87Hc,2306
|
|
39
|
+
hccinfhir-0.0.5.dist-info/METADATA,sha256=pyvJQuPO3bws8X6PoXQKRLy19PR43c53G9kmiyZmfyQ,11725
|
|
40
|
+
hccinfhir-0.0.5.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
41
|
+
hccinfhir-0.0.5.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
42
|
+
hccinfhir-0.0.5.dist-info/RECORD,,
|
hccinfhir/models.py
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
from pydantic import BaseModel
|
|
2
|
-
from typing import List, Optional
|
|
3
|
-
|
|
4
|
-
class ServiceLevelData(BaseModel):
|
|
5
|
-
"""
|
|
6
|
-
Represents standardized service-level data extracted from healthcare claims.
|
|
7
|
-
|
|
8
|
-
Attributes:
|
|
9
|
-
claim_id: Unique identifier for the claim
|
|
10
|
-
procedure_code: Healthcare Common Procedure Coding System (HCPCS) code
|
|
11
|
-
ndc: National Drug Code
|
|
12
|
-
linked_diagnosis_codes: ICD-10 diagnosis codes linked to this service
|
|
13
|
-
claim_diagnosis_codes: All diagnosis codes on the claim
|
|
14
|
-
claim_type: Type of claim (e.g., NCH Claim Type Code, or 837I, 837P)
|
|
15
|
-
provider_specialty: Provider taxonomy or specialty code
|
|
16
|
-
performing_provider_npi: National Provider Identifier for performing provider
|
|
17
|
-
billing_provider_npi: National Provider Identifier for billing provider
|
|
18
|
-
patient_id: Unique identifier for the patient
|
|
19
|
-
facility_type: Type of facility where service was rendered
|
|
20
|
-
service_type: Type of service provided (facility type + service type = Type of Bill)
|
|
21
|
-
service_date: Date service was performed (YYYY-MM-DD)
|
|
22
|
-
place_of_service: Place of service code
|
|
23
|
-
quantity: Number of units provided
|
|
24
|
-
quantity_unit: Unit of measure for quantity
|
|
25
|
-
modifiers: List of procedure code modifiers
|
|
26
|
-
allowed_amount: Allowed amount for the service
|
|
27
|
-
"""
|
|
28
|
-
claim_id: Optional[str] = None
|
|
29
|
-
procedure_code: Optional[str] = None
|
|
30
|
-
ndc: Optional[str] = None
|
|
31
|
-
linked_diagnosis_codes: List[str] = []
|
|
32
|
-
claim_diagnosis_codes: List[str] = []
|
|
33
|
-
claim_type: Optional[str] = None
|
|
34
|
-
provider_specialty: Optional[str] = None
|
|
35
|
-
performing_provider_npi: Optional[str] = None
|
|
36
|
-
billing_provider_npi: Optional[str] = None
|
|
37
|
-
patient_id: Optional[str] = None
|
|
38
|
-
facility_type: Optional[str] = None
|
|
39
|
-
service_type: Optional[str] = None
|
|
40
|
-
service_date: Optional[str] = None
|
|
41
|
-
place_of_service: Optional[str] = None
|
|
42
|
-
quantity: Optional[float] = None
|
|
43
|
-
modifiers: List[str] = []
|
|
44
|
-
allowed_amount: Optional[float] = None
|
hccinfhir-0.0.3.dist-info/RECORD
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
hccinfhir/__init__.py,sha256=OCyYCv4jTOlYHZbTw2DTks3e6_YT1N2JXAOuyR03KNE,43
|
|
2
|
-
hccinfhir/extractor.py,sha256=IHKxHEsuU5JIPnScv8x9v_L28aG5F6edZZ0VeYpBF6Y,1770
|
|
3
|
-
hccinfhir/extractor_837.py,sha256=84OeYB1nXl329osWagkkuX0q4MVATnHGk7VZa9p6zoI,7160
|
|
4
|
-
hccinfhir/extractor_fhir.py,sha256=Yu6Ce-2iKvn0j21t_EJUeXjwjZYbTh5HgqChMz8KkjI,8445
|
|
5
|
-
hccinfhir/filter.py,sha256=C05uFhqSVb0J7BpKPGt4hwQrCd0_HbGSmrxKHIZLg4w,2259
|
|
6
|
-
hccinfhir/models.py,sha256=dH0qICn8yjsqc35INYSG4HbvYyegRCPtQOPTJf5Qozw,2033
|
|
7
|
-
hccinfhir/data/__init__.py,sha256=SGiSkpGrnxbvtEFMMlk82NFHOE50hFXcgKwKUSuVZUg,45
|
|
8
|
-
hccinfhir/data/ra_eligible_cpt_hcpcs_2023.csv,sha256=VVoA4s0hsFmcRIugyFdbvSoeLcn7M7z0DITT6l4YqL8,39885
|
|
9
|
-
hccinfhir/data/sample_837_0.txt,sha256=eggrD259uHa05z2dfxWBpUDseSDp_AQcLyN_adpHyTw,5295
|
|
10
|
-
hccinfhir/data/sample_837_1.txt,sha256=E155MdemSDYoXokuTXUZ6Br_RGGedYv5t5dh-eMRmuk,1322
|
|
11
|
-
hccinfhir/data/sample_837_10.txt,sha256=zSJXI78vHAksA7FFQEVLvepefdpMM2_AexLyoDimV3Q,1129
|
|
12
|
-
hccinfhir/data/sample_837_11.txt,sha256=suVxlZEllEOy6dYgbzGIphKW6hDAKdYQTZFM3Ob84q4,817
|
|
13
|
-
hccinfhir/data/sample_837_2.txt,sha256=2bvXzaiopr7pO3D3pL7nLxcpgqKXrhu3lbulveJDJ-I,1125
|
|
14
|
-
hccinfhir/data/sample_837_3.txt,sha256=_B1Ktpsg7bOnA5BwZ7AUB0o7MME5AmLGuxzHq42FWok,1113
|
|
15
|
-
hccinfhir/data/sample_837_4.txt,sha256=jpzyiHKmRGMqN1ij9s1X4zRj0a2PXwtee4mjn4BRF3g,1077
|
|
16
|
-
hccinfhir/data/sample_837_5.txt,sha256=eYG4URk3zAr5UsnBKO5Wezo8dnL_HXGCMmXWJu0nxPA,1300
|
|
17
|
-
hccinfhir/data/sample_837_6.txt,sha256=pnKQf2cVcZpUl8PGeYzZxRxjKOMcISN2dBObIMtLx7E,1331
|
|
18
|
-
hccinfhir/data/sample_837_7.txt,sha256=5Y-x7ZA9d_qGaIrpVGfXKQBXqbxKiQ5CWOwEW1XGlds,1253
|
|
19
|
-
hccinfhir/data/sample_837_8.txt,sha256=J-zm0fzp6F19r2SWfHcCtab9ezd3c4YaSRO-RatJ-c4,1250
|
|
20
|
-
hccinfhir/data/sample_837_9.txt,sha256=nIIurZ0tLHw6ZfDM__U-WqV8Q0u4K3WP56-r3BnAEv8,1341
|
|
21
|
-
hccinfhir/data/sample_eob_1.json,sha256=_NGSVR2ysFpx-DcTvyga6dFCzhQ8Vi9fNzQEMPz5awU,3124
|
|
22
|
-
hccinfhir/data/sample_eob_2.json,sha256=FcnJcx0ApOczxjJ_uxVLzCep9THfNf4xs9Yf7hxk8e4,1769
|
|
23
|
-
hccinfhir/data/sample_eob_200.ndjson,sha256=CxpjeQ1DCMUzZILaM68UEhfxO0p45YGhDDoCZeq8PxU,1917986
|
|
24
|
-
hccinfhir/data/sample_eob_3.json,sha256=4BW4wOMBEEU9RDfJR15rBEvk0KNHyuMEh3e055y87Hc,2306
|
|
25
|
-
hccinfhir-0.0.3.dist-info/METADATA,sha256=Ekro5D_Wg4htDTmM1NDJOE03Z9BSggoQEdHKSsv1DY8,7654
|
|
26
|
-
hccinfhir-0.0.3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
27
|
-
hccinfhir-0.0.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
28
|
-
hccinfhir-0.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|