-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.cms_medicare.inpatient_charges_2012`
(
  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_2012` (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', '064 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W MCC', 'MA - Springfield', 12, 14219.0, 13679.0, 12720.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '065 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W CC', 'MA - Springfield', 21, 10687.0, 8053.0, 7286.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '066 - INTRACRANIAL HEMORRHAGE OR CEREBRAL INFARCTION W/O CC/MCC', 'MA - Springfield', 15, 11998.0, 6516.0, 5521.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '069 - TRANSIENT ISCHEMIA', 'MA - Springfield', 19, 9627.0, 5999.0, 4968.0), ('220024', 'HOLYOKE MEDICAL CENTER', '575 BEECH STREET', 'HOLYOKE', 'MA', '01040', '176 - PULMONARY EMBOLISM W/O MCC', 'MA - Springfield', 15, 10100.0, 7979.0, 7365.0);