# California CMS IRF Case Mix Extractor

**Use case:** 

Extract California CMS IRF provider utilization and service case-mix breakdown data from official Medicare API rows.

## Input

```json
{
  "years": [
    2023
  ],
  "states": [
    "CA"
  ],
  "summaryCategories": [
    "PROVIDER"
  ],
  "providerIds": [],
  "providerName": "",
  "includeServiceBreakdown": true,
  "maxItems": 200,
  "pageSize": 500
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "year": {
    "label": "Year"
  },
  "summaryCategory": {
    "label": "Summary category"
  },
  "providerId": {
    "label": "Provider ID"
  },
  "providerName": {
    "label": "Provider name"
  },
  "providerCity": {
    "label": "Provider city"
  },
  "state": {
    "label": "State"
  },
  "providerZip": {
    "label": "Provider ZIP"
  },
  "groupingDescription": {
    "label": "Service group"
  },
  "beneficiaries": {
    "label": "Beneficiaries"
  },
  "stays": {
    "label": "Stays"
  },
  "serviceDays": {
    "label": "Service days"
  },
  "totalCharges": {
    "label": "Total charges"
  },
  "totalAllowedAmount": {
    "label": "Allowed amount"
  },
  "medicarePaymentAmount": {
    "label": "Medicare payment"
  },
  "standardizedPaymentAmount": {
    "label": "Standardized payment"
  },
  "averageAge": {
    "label": "Average age"
  },
  "dualEligiblePct": {
    "label": "Dual eligible %"
  },
  "malePct": {
    "label": "Male %"
  },
  "femalePct": {
    "label": "Female %"
  },
  "caseMix": {
    "label": "Case mix"
  },
  "caseMixDayPct": {
    "label": "Case mix day %"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [CMS Inpatient Rehabilitation Utilization Scraper](https://apify.com/automation-lab/cms-inpatient-rehabilitation-utilization-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/cms-inpatient-rehabilitation-utilization-scraper) to learn more, explore other use cases, and run it yourself.