-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.cms_medicare.home_health_agencies_2013`
(
  provider_id STRING OPTIONS(description="The 6-digit identification number for the home health agency on the claim."),
  agency_name STRING OPTIONS(description="The home health agency name, as reported in the POS file."),
  street_address STRING OPTIONS(description="The home health agency address, as reported in the POS file."),
  city STRING OPTIONS(description="The city where the home health agency is located, as reported in the POS file."),
  state STRING OPTIONS(description="The state where the home health agency is located, as reported in POS file. The fifty U.S. states and the District of Columbia are reported by the state postal abbreviation."),
  zip_code INT64 OPTIONS(description="The home health agency’s zip code, as reported in the POS file."),
  total_episodes_non_lupa INT64 OPTIONS(description="Total count of non-LUPA episodes provided by a specific home health agency or in a unique HHRG category in the calendar year."),
  distinct_users_non_lupa INT64 OPTIONS(description="Number of distinct Medicare beneficiaries receiving at least one non-LUPA home health episode in the calendar year. Beneficiaries may receive multiple home health episodes per year but are only counted once in this field."),
  total_hha_charge_amount_non_lupa INT64 OPTIONS(description="Total charges that the home health agency submitted for non-LUPA episodes."),
  total_hha_medicare_payment_amount_non_lupa INT64 OPTIONS(description="Total amount that Medicare paid for non-LUPA episodes. Home health services do not have any cost-sharing requirements and the Medicare payment amount will equal the allowed amount."),
  total_hha_medicare_standard_payment_amount_non_lupa INT64 OPTIONS(description="Total amount that Medicare paid for non-LUPA episodes adjusted for geographic differences in payment rates."),
  outlier_payments_as_a_percent_of_medicare_payment_amount_non_lupa INT64 OPTIONS(description="The percent of total Medicare payments for non-LUPA episodes paid to an HHA for outlier episodes."),
  total_lupa_episodes INT64 OPTIONS(description="Total count of low utilization payment amount episodes provided by a specific HHA in the calendar year."),
  total_hha_medicare_payment_amount_for_lupas INT64 OPTIONS(description="Total amount that Medicare paid for LUPA episodes provided by a specific HHA in the calendar year.")
);

INSERT INTO `bigquery-public-data.cms_medicare.home_health_agencies_2013` (provider_id, agency_name, street_address, city, state, zip_code, total_episodes_non_lupa, distinct_users_non_lupa, total_hha_charge_amount_non_lupa, total_hha_medicare_payment_amount_non_lupa, total_hha_medicare_standard_payment_amount_non_lupa, outlier_payments_as_a_percent_of_medicare_payment_amount_non_lupa, total_lupa_episodes, total_hha_medicare_payment_amount_for_lupas) VALUES ('108302', 'VIRGIN HEALTH CORPORATION INC', '7235 CORPORATE CENTER DR BAY H', 'MIAMI', 'FL', 33126, 568, 202, 3925897, 1748362, 1613563, 10, 16, 5033), ('108379', 'PATIENT''S CHOICE HOME HEALTH CARE INC', '10300 SUNSET DRIVE SUITE 310', 'MIAMI', 'FL', 33184, 96, 38, 488807, 282100, 255475, 10, 27, 10878), ('337290', 'AMERICARE CERTIFIED SPECIAL SERVICES, INC CHHA', '5923 STRICKLAND AVENUE', 'BROOKLYN', 'NY', 11234, 3148, 2310, 14112445, 12667998, 9482140, 10, 259, 108050), ('747394', 'GRANDCARE HOME HEALTH LLC', '4701 ARDENWOOD DRIVE', 'FORT WORTH', 'TX', 76123, 773, 220, 2175373, 2016621, 1971446, 10, 30, 10111), ('27001', 'PROVIDENCE IN HOME SERVICES', '4001 DALE STREET, SUITE 101', 'ANCHORAGE', 'AK', 99508, 688, 604, 2598179, 2387679, 2090178, 0, 121, 57716);