mphapi 1.13.2__tar.gz → 1.15__tar.gz
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.
- {mphapi-1.13.2 → mphapi-1.15}/PKG-INFO +2 -3
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/pricing.py +25 -8
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/snapshots/client_test/test_client/inpatient.json +7 -2
- {mphapi-1.13.2 → mphapi-1.15}/pyproject.toml +1 -1
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/__init__.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/claim.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/client.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/client_test.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/credentials.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/date.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/env.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/fields.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/py.typed +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/response.py +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/snapshots/client_test/test_client/hcfa.json +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/snapshots/client_test/test_client/outpatient.json +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/testdata/hcfa.json +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/testdata/inpatient.json +0 -0
- {mphapi-1.13.2 → mphapi-1.15}/mphapi/testdata/outpatient.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: mphapi
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.15
|
|
4
4
|
Summary: A Python interface to the MyPriceHealth API
|
|
5
5
|
Author: David Archibald
|
|
6
6
|
Author-email: davidarchibald@myprice.health
|
|
@@ -8,7 +8,6 @@ Requires-Python: >=3.12,<4.0
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.12
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.13
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
12
11
|
Requires-Dist: pydantic (>=2.6.4,<3.0.0)
|
|
13
12
|
Requires-Dist: python-dotenv (>=1.1.1,<2.0.0)
|
|
14
13
|
Requires-Dist: requests (>=2.31.0,<3.0.0)
|
|
@@ -85,30 +85,47 @@ class InpatientPriceDetail(BaseModel):
|
|
|
85
85
|
drg: Optional[str] = None
|
|
86
86
|
"""Diagnosis Related Group (DRG) code used to price the claim"""
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
federal_drg_amount: Annotated[Optional[float], field_name("federalDRGAmount")] = (
|
|
89
|
+
None
|
|
90
|
+
)
|
|
91
|
+
"""Federal DRG rate (excludes outliers and any hospital-specific adjustments)"""
|
|
90
92
|
|
|
91
93
|
passthrough_amount: Optional[float] = None
|
|
92
94
|
"""Per diem amount to cover capital-related costs, direct medical education, and other costs"""
|
|
93
95
|
|
|
94
96
|
outlier_amount: Optional[float] = None
|
|
95
|
-
"""
|
|
97
|
+
"""Payment for high cost cases"""
|
|
96
98
|
|
|
97
99
|
indirect_medical_education_amount: Optional[float] = None
|
|
98
|
-
"""
|
|
100
|
+
"""Payment for teaching hospitals"""
|
|
99
101
|
|
|
100
102
|
disproportionate_share_amount: Optional[float] = None
|
|
101
|
-
"""
|
|
103
|
+
"""Payment for hospitals with a high number of low-income patients"""
|
|
102
104
|
|
|
103
105
|
uncompensated_care_amount: Optional[float] = None
|
|
104
|
-
"""
|
|
106
|
+
"""Payment for patients who are unable to pay for their care"""
|
|
105
107
|
|
|
106
108
|
readmission_adjustment_amount: Optional[float] = None
|
|
107
|
-
"""Adjustment
|
|
109
|
+
"""Adjustment for hospitals with high readmission rates"""
|
|
110
|
+
|
|
111
|
+
new_technology_amount: Optional[float] = None
|
|
112
|
+
"""Payment for new medical technologies"""
|
|
108
113
|
|
|
109
|
-
|
|
114
|
+
value_based_purchasing_adjustment_amount: Optional[float] = None
|
|
110
115
|
"""Adjustment for hospitals based on quality measures"""
|
|
111
116
|
|
|
117
|
+
hospital_acquired_condition_adjustment_amount: Optional[float] = None
|
|
118
|
+
"""Adjustment for hospitals with high rates of hospital-acquired conditions"""
|
|
119
|
+
|
|
120
|
+
low_volume_adjustment_amount: Optional[float] = None
|
|
121
|
+
"""Adjustment for hospitals with low patient volumes"""
|
|
122
|
+
|
|
123
|
+
electronic_health_record_adjustment_amount: Optional[float] = None
|
|
124
|
+
"""Adjustment for hospitals that have adopted electronic health records"""
|
|
125
|
+
|
|
126
|
+
bundle_adjustment_amount: Optional[float] = None
|
|
127
|
+
"""Adjustment for bundled payments"""
|
|
128
|
+
|
|
112
129
|
wage_index: Optional[float] = None
|
|
113
130
|
"""Wage index used for geographic adjustment"""
|
|
114
131
|
|
|
@@ -11,14 +11,19 @@
|
|
|
11
11
|
"medicare_source": "IPPS",
|
|
12
12
|
"inpatient_price_detail": {
|
|
13
13
|
"drg": "951",
|
|
14
|
-
"
|
|
14
|
+
"federal_drg_amount": 3261.48,
|
|
15
15
|
"passthrough_amount": null,
|
|
16
16
|
"outlier_amount": null,
|
|
17
17
|
"indirect_medical_education_amount": null,
|
|
18
18
|
"disproportionate_share_amount": 112.02,
|
|
19
19
|
"uncompensated_care_amount": 1553.66,
|
|
20
20
|
"readmission_adjustment_amount": -3.64,
|
|
21
|
-
"
|
|
21
|
+
"new_technology_amount": null,
|
|
22
|
+
"value_based_purchasing_adjustment_amount": null,
|
|
23
|
+
"hospital_acquired_condition_adjustment_amount": null,
|
|
24
|
+
"low_volume_adjustment_amount": 565.87,
|
|
25
|
+
"electronic_health_record_adjustment_amount": null,
|
|
26
|
+
"bundle_adjustment_amount": null,
|
|
22
27
|
"wage_index": 0.8145
|
|
23
28
|
},
|
|
24
29
|
"outpatient_price_detail": null,
|
|
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
|