-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.cms_medicare.inpatient_charges_2014`
(
  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_2014` (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', '065 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W CC OR TPA IN 24 HRS', 'MA - Springfield', 22, 11152.0, 7331.0, 5824.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '101 - SEIZURES W/O MCC', 'MA - Springfield', 11, 8049.0, 6022.0, 4931.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '176 - PULMONARY EMBOLISM W/O MCC', 'MA - Springfield', 16, 9892.0, 7262.0, 6354.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '178 - RESPIRATORY INFECTIONS & INFLAMMATIONS W CC', 'MA - Springfield', 11, 10445.0, 9891.0, 9064.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '180 - RESPIRATORY NEOPLASMS W MCC', 'MA - Springfield', 12, 14492.0, 13221.0, 11387.0);