{'fraction_non_alphanumeric': 0.02300834052343975, 'fraction_numerical': 0.003451251078515962, 'mean_word_length': 4.820083682008368, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Processing costed inpatient episodes to cost weights for inlier equivalent separations: the ends should fit the means

A principal reason for investing in case mix as a tool for hospital administration is that it allows the value of production embodied in an episode of care to be different from the cost of that episode. 
 
Useful case-mix evaluation retains a statistical nexus between value and cost of production. The value placed on a hospital system’s output should fit with the aggregate cost of the episodes used to make that evaluation. This should apply at the case-type level. 
 
Case-mix funding and evaluation are seldom based on average cost of episodes within the same DRG. They are supplemented with risk sharing between funder and provider, and with compensatory factors for structural differences. 
 
Risk and structure are modelled. A standard value (cost weight) is assigned to each DRG. The value is related to the system-wide average cost of a LOS inlier (corrected for structural factors) in that DRG. The notion is that except for a constant multiplicative factor, the cost weight for a DRG is the expected cost of a LOS inlier episode in that DRG across the hospital system (after removing structural effects). 
 
Once risk and structure are accounted for, the fit between DRG level aggregate cost and value is harder to maintain. Almost invariably, the relative values assigned to different DRGs are distorted. 
 
The contention of this article is that if a collection of activity-based costing data has provided costs by DRG for a number of hospitals, then the result of applying any inlier equivalent cost weights generated from the data should return the system-wide cost of each DRG. The contribution of this article is an example and methodology to achieve this when the modelling of inlier equivalent separations includes policy, as well as data determined structure and parameters.


Introduction
A principal reason for investing in case mix as a tool for hospital administration is that it allows the value of production embodied in an episode of care to be different from the cost of that episode.
Useful case-mix evaluation retains a statistical nexus between value and cost of production. The value placed on a hospital system's output should fit with the aggregate cost of the episodes used to make that evaluation. This should apply at the case-type level.
Case-mix funding and evaluation are seldom based on average cost of episodes within the same DRG. They are supplemented with risk sharing between funder and provider, and with compensatory factors for structural differences.
Risk and structure are modelled. A standard value (cost weight) is assigned to each DRG. The value is related to the system-wide average cost of a LOS inlier (corrected for structural factors) in that DRG. The notion is that except for a constant multiplicative factor, the cost weight for a DRG is the expected cost of a LOS inlier episode in that DRG across the hospital system (after removing structural effects).
Once risk and structure are accounted for, the fit between DRG level aggregate cost and value is harder to maintain. Almost invariably, the relative values assigned to different DRGs are distorted.
The contention of this article is that if a collection of activity-based costing data has provided costs by DRG for a number of hospitals, then the result of applying any inlier equivalent cost weights generated from the data should return the system-wide cost of each DRG.
The contribution of this article is an example and methodology to achieve this when the modelling of inlier equivalent separations includes policy, as well as data determined structure and parameters.

Methods
The NSW Department of Health mandates an annual activity-based costing of each of its larger acute hospitals. The focus of this article is inpatient care, for which the costing methodology is standardised and supported by a state-wide costing system, PCM, provided by Power HealthSolutions.
Inlier data from four years and 52 hospitals were used to obtain estimates of the DRG upper and lower trim points and per-diem payment for each type of outlier. Short stay transfers (LOS=1) were also treated as outliers and assigned DRG-specific costs. These parameters were fixed throughout the iterative process that follows.
Firstly, hospital by AR-DRG data cells were processed to obtain cost and utilisation statistics. The latter included outlier days of various types that were broken down by public/private and indigenous status. These summaries were the "units" of the analysis.
Iteration starts with subjecting the "units" to automatic plausibility checks and statistical trimming based on current values of cost per inlier equivalent. Thus hospital by DRG data are swapped in and out of calculations.
Next, case-mix methods (e.g., indirect standardisation) are used to calculate multiplicative hospital effects and, if extreme, the whole of the hospital's data are removed from the "unit" cost data.
The adjusted data are then passed through an aggregate function providing adjusted cost per equivalent 1 separation. When divided by the cost base, these are "current value" cost weights.
The current values are compared with the previous iteration and if "different" are passed to the next iteration. Otherwise, the current values are returned as the cost weights.

Results
The cost weights converged after less than 10 iterations. The values were very similar to the weights derived using the regression-based method used in previous years.
A significant gain from the iterative approach was the relative simplicity of the algorithm, which allowed automated trimming and reselection of suspect data based on current values of the cost weight (at each iteration), rather than just trimming based on initial estimates.
An important aside here is that the iterations showed the effects of data trimming on the final estimates and, hence, uncovered AR-DRG with weights that were highly sensitive to the data trimming algorithm used. In particular, A12Z INS NEUROSTIMULATOR DEV had values ranging from as low as $7000 to as high as $22,000 before settling at $17,000. Review of the cases indicated all cases in one hospital were (low) cost outliers.

Conclusions
Once "external "parameters such as the various perdiem rates and multiplicative adjustments for public/private and indigenous status are settled on, the iterative process is not significantly more difficult to program, or execute, than the one-step approach upon which it was based. Further, it reduces the dependence on initial estimates used in data cleaning, provides sensitivity information on cost weights, and satisfies the requirement that the recorded system-wide cost per DRG be reconciled with the value assigned to activity in that AR-DRG.
Author details 1 LaetaPty Ltd, Randwick, New South Wales, Australia. 2 Department of Health and Children, Dublin, Ireland.