-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.cms_medicare.nursing_facilities_2013`
(
  provider_id STRING OPTIONS(description="The 6-digit identification number for the skilled nursing facility on the claim."),
  facility_name STRING OPTIONS(description="The skilled nursing facility name, as reported in the POS file."),
  street_address STRING OPTIONS(description="The skilled nursing facility address, as reported in the POS file."),
  city STRING OPTIONS(description="The city where the skilled nursing facility is located, as reported in the POS file."),
  state STRING OPTIONS(description="The state where the skilled nursing facility 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 skilled nursing facility’s zip code, as reported in the POS file."),
  total_stays INT64 OPTIONS(description="Total number of skilled nursing facility stays."),
  distinct_beneficiaries_per_provider INT64 OPTIONS(description="Number of distinct Medicare beneficiaries with at least one skilled nursing facility day per provider. A beneficiary will only be counted once per provider, but may be double-counted across providers."),
  average_length_of_stay_days INT64 OPTIONS(description="Average lenth of stay, in days, for all Medicare beneficiaries with at least one stay in the skilled nursing facility in the year."),
  total_snf_charge_amount INT64 OPTIONS(description="Total of the charges that the skilled nursing facility submitted for all Medicare stays in the year."),
  total_snf_medicare_allowed_amount INT64 OPTIONS(description="Total Medicare allowed amount for all Medicare stays in the year. This figure is the sum of the amount Medicare pays, the deductible and coinsurance amounts that the beneficiary is responsible for paying, and any amounts that a third party is responsible for paying."),
  total_snf_medicare_payment_amount INT64 OPTIONS(description="Total amount that Medicare paid for all Medicare stays in the year after deductible and coinsurance amounts have been deducted."),
  total_snf_medicare_standard_payment_amount INT64 OPTIONS(description="Total amount that Medicare paid for all Medicare stays in the year after deductible and coinsurance amounts have been deducted, adjusted for geographic differences in payment rates.")
);

INSERT INTO `bigquery-public-data.cms_medicare.nursing_facilities_2013` (provider_id, facility_name, street_address, city, state, zip_code, total_stays, distinct_beneficiaries_per_provider, average_length_of_stay_days, total_snf_charge_amount, total_snf_medicare_allowed_amount, total_snf_medicare_payment_amount, total_snf_medicare_standard_payment_amount) VALUES ('20024', 'CENTRAL PENINSULA GENERAL HOSPITAL', '250 HOSPITAL PLACE', 'SOLDOTNA', 'AK', 99669, 43, 40, 9, 997124, 134897, 119801, 98393), ('20006', 'MAT-SU REGIONAL MEDICAL CENTER', '2500 SOUTH WOODWORTH LOOP', 'PALMER', 'AK', 99645, 45, 45, 13, 2206195, 219316, 200372, 171908), ('25020', 'DENALI CENTER', '1510 19TH AVENUE', 'FAIRBANKS', 'AK', 99701, 90, 82, 23, 1793486, 701647, 579695, 543353), ('25010', 'KETCHIKAN MED CTR NEW HORIZONS TRANSITIONAL CARE', '3100 TONGASS AVENUE', 'KETCHIKAN', 'AK', 99901, 78, 64, 25, 3119920, 747197, 606153, 479230), ('25018', 'PROVIDENCE TRANSITIONAL CARE CENTER', '4900 EAGLE STREET', 'ANCHORAGE', 'AK', 99503, 159, 144, 34, 8462874, 2348553, 1898929, 1610075);