-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.cms_medicare.inpatient_charges_2013`
(
  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_2013` (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', '1040.0', '065 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W CC OR TPA IN 24 HRS', 'MA - Springfield', 17, 11536.0, 9056.0, 8017.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '1040.0', '066 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W/O CC/MCC', 'MA - Springfield', 20, 9745.0, 6421.0, 5304.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '1040.0', '069 - TRANSIENT ISCHEMIA', 'MA - Springfield', 17, 9856.0, 6126.0, 5298.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '1040.0', '101 - SEIZURES W/O MCC', 'MA - Springfield', 25, 7978.0, 6255.0, 5039.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '1040.0', '176 - PULMONARY EMBOLISM W/O MCC', 'MA - Springfield', 15, 13524.0, 8431.0, 7728.0);