{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "billing_code_information": { "type": "object", "properties": { "code": { "type": "string" }, "type": { "enum": [ "CPT", "HCPCS", "ICD", "MS-DRG", "R-DRG", "S-DRG", "APS-DRG", "AP-DRG", "APR-DRG", "APC", "NDC", "HIPPS", "LOCAL", "EAPG", "CDT", "RC", "CDM" ], "type": "string" } }, "required": [ "code", "type" ] }, "drug_information": { "type": "object", "properties": { "unit": { "type": "string" }, "type": { "enum": [ "GR", "ME", "ML", "UN" ], "type": "string" } }, "required": [ "unit", "type" ] }, "license_information": { "type": "object", "properties": { "license_number": { "type": "string" }, "state": { "enum": [ "AL", "AK", "AS", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FM", "FL", "GA", "GU", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MH", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "MP", "OH", "OK", "OR", "PW", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VI", "VA", "WA", "WV", "WI", "WY" ], "type": "string" } }, "required": [ "license_number", "state" ] }, "standard_charges": { "type": "object", "properties": { "minimum": { "type": "number", "exclusiveMinimum": 0 }, "maximum": { "type": "number", "exclusiveMinimum": 0 }, "gross_charge": { "type": "number", "exclusiveMinimum": 0 }, "discounted_cash": { "type": "number", "exclusiveMinimum": 0 }, "setting": { "enum": [ "inpatient", "outpatient", "both" ], "type": "string" }, "modifiers": { "type": "array", "items": { "type": "string" }, "uniqueItems": true }, "payers_information": { "type": "array", "items": { "$ref": "#/definitions/payers_information" }, "minItems": 1 }, "billing_class": { "enum": [ "professional", "facility" ], "type": "string" }, "additional_generic_notes": { "type": "string" } }, "required": [ "setting", "minimum", "maximum" ] }, "standard_charge_information": { "type": "object", "properties": { "description": { "type": "string" }, "drug_information": { "$ref": "#/definitions/drug_information" }, "billing_code_information": { "type": "array", "items": { "$ref": "#/definitions/billing_code_information" }, "minItems": 1 }, "standard_charges": { "type": "array", "items": { "$ref": "#/definitions/standard_charges" }, "minItems": 1 } }, "required": [ "description", "billing_code_information", "standard_charges" ] }, "payers_information": { "type": "object", "properties": { "payer_name": { "type": "string" }, "plan_name": { "type": "string" }, "additional_payer_notes": { "type": "string" }, "standard_charge": { "type": "number", "exclusiveMinimum": 0 }, "standard_charge_percent": { "type": "number", "exclusiveMinimum": 0 }, "contracting_method": { "enum": [ "capitation", "case rate", "fee schedule", "percent of total billed charge", "per diem", "other" ], "type": "string" } }, "required": [ "payer_name", "plan_name", "contracting_method" ], "if": { "properties": { "contracting_method": { "const": "percent of total billed charge" } } }, "then": { "required": [ "standard_charge_percent" ] }, "else": { "required": [ "standard_charge" ] } } }, "type": "object", "properties": { "hospital_name": { "type": "string" }, "last_updated_on": { "type": "string", "format": "date" }, "license_information": { "items": { "$ref": "#/definitions/license_information" } }, "version": { "type": "string" }, "hospital_location": { "type": "string" }, "financial_aid_policy": { "type": "string" }, "standard_charge_information": { "type": "array", "items": { "$ref": "#/definitions/standard_charge_information" }, "minItems": 1 } }, "required": [ "hospital_name", "standard_charge_information", "last_updated_on", "version" ] }