-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.cms_medicare.inpatient_charges_2011`
(
  provider_id STRING NOT NULL OPTIONS(description="The CMS Certification Number (CCN) of the provider billing for outpatient hospital services"),
  provider_name STRING OPTIONS(description="The name of the provider"),
  provider_street_address STRING OPTIONS(description="The street address in which the provider is physically located"),
  provider_city STRING OPTIONS(description="The city in which the provider is physically located"),
  provider_state STRING OPTIONS(description="The state in which the provider is physically located"),
  provider_zipcode STRING OPTIONS(description="The zip code in which the provider is physically located"),
  drg_definition STRING NOT NULL OPTIONS(description="The code and description identifying the MS-DRG. MS-DRGs are a classification system that groups similar clinical conditions (diagnoses) and the procedures furnished by the hospital during the stay"),
  hospital_referral_region_description STRING OPTIONS(description="The Hospital Referral Region (HRR) in which the provider is physically located"),
  total_discharges INT64 OPTIONS(description="The number of discharges billed by the provider for inpatient hospital services"),
  average_covered_charges FLOAT64 OPTIONS(description="The provider's average charge for services covered by Medicare for all discharges in the MS-DRG. These will vary from hospital to hospital because of differences in hospital charge structures"),
  average_total_payments FLOAT64 OPTIONS(description="The average total payments to all providers for the MS-DRG including the MSDRG amount, teaching, disproportionate share, capital, and outlier payments for all cases. Also included 5 in average total payments are co-payment and deductible amounts that the patient is responsible for and any additional payments by third parties for coordination of benefits"),
  average_medicare_payments FLOAT64 OPTIONS(description="The average amount that Medicare pays to the provider for Medicare's share of the MS-DRG. Average Medicare payment amounts include the MS-DRG amount, teaching, disproportionate share, capital, and outlier payments for all cases. Medicare payments DO NOT include beneficiary co-payments and deductible amounts nor any additional payments from third parties for coordination of benefits")
);

INSERT INTO `bigquery-public-data.cms_medicare.inpatient_charges_2011` (provider_id, provider_name, provider_street_address, provider_city, provider_state, provider_zipcode, drg_definition, hospital_referral_region_description, total_discharges, average_covered_charges, average_total_payments, average_medicare_payments) VALUES ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '057 - DEGENERATIVE NERVOUS SYSTEM DISORDERS W/O MCC', 'MA - Springfield', 13, 17210.0, 7131.0, 6359.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '064 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W MCC', 'MA - Springfield', 17, 11808.0, 11786.0, 10863.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '065 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W CC', 'MA - Springfield', 26, 11846.0, 7610.0, 6702.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '069 - TRANSIENT ISCHEMIA', 'MA - Springfield', 26, 10466.0, 4860.0, 3866.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '101 - SEIZURES W/O MCC', 'MA - Springfield', 21, 9434.0, 5059.0, 4203.0);