Class: ChangeHealthcare::ProfessionalClaims::SwaggerClient::ClaimPricingRepricingInformation
- Inherits:
-
Object
- Object
- ChangeHealthcare::ProfessionalClaims::SwaggerClient::ClaimPricingRepricingInformation
- Defined in:
- lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#exception_code ⇒ Object
Allowed Values are: - '1' Non-Network Professional Provider in Network Hospital - '2' Emergency Care, '3' Services or Specialist not in Network - '4' Out-of-Service Area - '5' State Mandates - '6' Other.
-
#policy_compliance_code ⇒ Object
Allowed Values are: - '1' Procedure Followed (Compliance) - '2' Not Followed - Call Not Made (Non-Compliance Call Not Made) - '3' Not Medically Necessary (Non-Compliance Non-Medically Necessary) - '4' Not Followed Other (Non-Compliance Other) - '5' Emergency Admit to Non-Network Hospital.
-
#pricing_methodology_code ⇒ Object
Allowed Values are: - '00' Zero Pricing (Not Covered Under Contract) - '01' Priced as Billed at 100% - '02' Priced at the Standard Fee Schedule - '03' Priced at a Contractual Percentage - '04' Bundled Pricing - '05' Peer Review Pricing - '06' Bundled Pricing - '07' Flat Rate Pricing - '08' Combination Pricing - '09' Maternity Pricing - '10' Other Pricing - '11' Lower of Cost - '12' Ratio of Cost - '13' Cost Reimbursed - '14' Adjustment Pricing.
-
#reject_reason_code ⇒ Object
Allowed Values are: - 'T1' Cannot Identify Provider as TPO (Third Party Organization) Participant - 'T2' Cannot Identify Payer as TPO (Third Party Organization) Participant - 'T3' Cannot Identify Insured as TPO (Third Party Organization) Participant - 'T4' Payer Name or Identifier Missing - 'T5' Certification Information Missing - '16' Claim does not contain enough information for repricing.
-
#repriced_allowed_amount ⇒ Object
Returns the value of attribute repriced_allowed_amount.
-
#repriced_approved_ambulatory_patient_group_amount ⇒ Object
Returns the value of attribute repriced_approved_ambulatory_patient_group_amount.
-
#repriced_approved_ambulatory_patient_group_code ⇒ Object
Returns the value of attribute repriced_approved_ambulatory_patient_group_code.
-
#repriced_saving_amount ⇒ Object
Returns the value of attribute repriced_saving_amount.
-
#repricing_organization_identifier ⇒ Object
Returns the value of attribute repricing_organization_identifier.
-
#repricing_per_diem_or_flat_rate_amoung ⇒ Object
Returns the value of attribute repricing_per_diem_or_flat_rate_amoung.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ClaimPricingRepricingInformation
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ ClaimPricingRepricingInformation
Initializes the object
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 120 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.transform_keys(&:to_sym) self.exception_code = attributes[:exceptionCode] if attributes.key?(:exceptionCode) self.policy_compliance_code = attributes[:policyComplianceCode] if attributes.key?(:policyComplianceCode) self.pricing_methodology_code = attributes[:pricingMethodologyCode] if attributes.key?(:pricingMethodologyCode) self.reject_reason_code = attributes[:rejectReasonCode] if attributes.key?(:rejectReasonCode) self.repriced_allowed_amount = attributes[:repricedAllowedAmount] if attributes.key?(:repricedAllowedAmount) self.repriced_approved_ambulatory_patient_group_amount = attributes[:repricedApprovedAmbulatoryPatientGroupAmount] if attributes.key?(:repricedApprovedAmbulatoryPatientGroupAmount) self.repriced_approved_ambulatory_patient_group_code = attributes[:repricedApprovedAmbulatoryPatientGroupCode] if attributes.key?(:repricedApprovedAmbulatoryPatientGroupCode) self.repriced_saving_amount = attributes[:repricedSavingAmount] if attributes.key?(:repricedSavingAmount) self.repricing_organization_identifier = attributes[:repricingOrganizationIdentifier] if attributes.key?(:repricingOrganizationIdentifier) self.repricing_per_diem_or_flat_rate_amoung = attributes[:repricingPerDiemOrFlatRateAmoung] if attributes.key?(:repricingPerDiemOrFlatRateAmoung) end |
Instance Attribute Details
#exception_code ⇒ Object
Allowed Values are:
- '1' Non-Network Professional Provider in Network Hospital
- '2' Emergency Care, '3' Services or Specialist not in Network
- '4' Out-of-Service Area
- '5' State Mandates
- '6' Other
25 26 27 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 25 def exception_code @exception_code end |
#policy_compliance_code ⇒ Object
Allowed Values are:
- '1' Procedure Followed (Compliance)
- '2' Not Followed - Call Not Made (Non-Compliance Call Not Made)
- '3' Not Medically Necessary (Non-Compliance Non-Medically Necessary)
- '4' Not Followed Other (Non-Compliance Other)
- '5' Emergency Admit to Non-Network Hospital
33 34 35 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 33 def policy_compliance_code @policy_compliance_code end |
#pricing_methodology_code ⇒ Object
Allowed Values are:
- '00' Zero Pricing (Not Covered Under Contract)
- '01' Priced as Billed at 100%
- '02' Priced at the Standard Fee Schedule
- '03' Priced at a Contractual Percentage
- '04' Bundled Pricing
- '05' Peer Review Pricing
- '06' Bundled Pricing
- '07' Flat Rate Pricing
- '08' Combination Pricing
- '09' Maternity Pricing
- '10' Other Pricing
- '11' Lower of Cost
- '12' Ratio of Cost
- '13' Cost Reimbursed
- '14' Adjustment Pricing
51 52 53 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 51 def pricing_methodology_code @pricing_methodology_code end |
#reject_reason_code ⇒ Object
Allowed Values are:
- 'T1' Cannot Identify Provider as TPO (Third Party Organization) Participant
- 'T2' Cannot Identify Payer as TPO (Third Party Organization) Participant
- 'T3' Cannot Identify Insured as TPO (Third Party Organization) Participant
- 'T4' Payer Name or Identifier Missing
- 'T5' Certification Information Missing
- '16' Claim does not contain enough information for repricing
60 61 62 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 60 def reject_reason_code @reject_reason_code end |
#repriced_allowed_amount ⇒ Object
Returns the value of attribute repriced_allowed_amount.
62 63 64 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 62 def repriced_allowed_amount @repriced_allowed_amount end |
#repriced_approved_ambulatory_patient_group_amount ⇒ Object
Returns the value of attribute repriced_approved_ambulatory_patient_group_amount.
62 63 64 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 62 def repriced_approved_ambulatory_patient_group_amount @repriced_approved_ambulatory_patient_group_amount end |
#repriced_approved_ambulatory_patient_group_code ⇒ Object
Returns the value of attribute repriced_approved_ambulatory_patient_group_code.
62 63 64 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 62 def repriced_approved_ambulatory_patient_group_code @repriced_approved_ambulatory_patient_group_code end |
#repriced_saving_amount ⇒ Object
Returns the value of attribute repriced_saving_amount.
62 63 64 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 62 def repriced_saving_amount @repriced_saving_amount end |
#repricing_organization_identifier ⇒ Object
Returns the value of attribute repricing_organization_identifier.
62 63 64 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 62 def repricing_organization_identifier @repricing_organization_identifier end |
#repricing_per_diem_or_flat_rate_amoung ⇒ Object
Returns the value of attribute repricing_per_diem_or_flat_rate_amoung.
62 63 64 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 62 def repricing_per_diem_or_flat_rate_amoung @repricing_per_diem_or_flat_rate_amoung end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 87 def self.attribute_map { exception_code: :exceptionCode, policy_compliance_code: :policyComplianceCode, pricing_methodology_code: :pricingMethodologyCode, reject_reason_code: :rejectReasonCode, repriced_allowed_amount: :repricedAllowedAmount, repriced_approved_ambulatory_patient_group_amount: :repricedApprovedAmbulatoryPatientGroupAmount, repriced_approved_ambulatory_patient_group_code: :repricedApprovedAmbulatoryPatientGroupCode, repriced_saving_amount: :repricedSavingAmount, repricing_organization_identifier: :repricingOrganizationIdentifier, repricing_per_diem_or_flat_rate_amoung: :repricingPerDiemOrFlatRateAmoung } end |
.swagger_types ⇒ Object
Attribute type mapping.
103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 103 def self.swagger_types { exception_code: :String, policy_compliance_code: :String, pricing_methodology_code: :String, reject_reason_code: :String, repriced_allowed_amount: :String, repriced_approved_ambulatory_patient_group_amount: :String, repriced_approved_ambulatory_patient_group_code: :String, repriced_saving_amount: :String, repricing_organization_identifier: :String, repricing_per_diem_or_flat_rate_amoung: :String } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 224 def ==(other) return true if equal?(other) self.class == other.class && exception_code == other.exception_code && policy_compliance_code == other.policy_compliance_code && pricing_methodology_code == other.pricing_methodology_code && reject_reason_code == other.reject_reason_code && repriced_allowed_amount == other.repriced_allowed_amount && repriced_approved_ambulatory_patient_group_amount == other.repriced_approved_ambulatory_patient_group_amount && repriced_approved_ambulatory_patient_group_code == other.repriced_approved_ambulatory_patient_group_code && repriced_saving_amount == other.repriced_saving_amount && repricing_organization_identifier == other.repricing_organization_identifier && repricing_per_diem_or_flat_rate_amoung == other.repricing_per_diem_or_flat_rate_amoung end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 280 def _deserialize(type, value) case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model temp_model = SwaggerClient.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 347 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 256 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) send("#{key}=", attributes[self.class.attribute_map[key]].map do |v| _deserialize(Regexp.last_match(1), v) end) end elsif !attributes[self.class.attribute_map[key]].nil? send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end |
#eql?(other) ⇒ Boolean
242 243 244 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 242 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
248 249 250 251 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 248 def hash [exception_code, policy_compliance_code, pricing_methodology_code, reject_reason_code, repriced_allowed_amount, repriced_approved_ambulatory_patient_group_amount, repriced_approved_ambulatory_patient_group_code, repriced_saving_amount, repricing_organization_identifier, repricing_per_diem_or_flat_rate_amoung].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
149 150 151 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 149 def list_invalid_properties [] end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
326 327 328 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 326 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
332 333 334 335 336 337 338 339 340 341 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 332 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
320 321 322 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 320 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 |
# File 'lib/change_healthcare/professional_claims/swagger_client/models/claim_pricing_repricing_information.rb', line 155 def valid? exception_code_validator = EnumAttributeValidator.new('String', %w[1 2 3 4 5 6]) return false unless exception_code_validator.valid?(@exception_code) policy_compliance_code_validator = EnumAttributeValidator.new('String', %w[1 2 3 4 5]) return false unless policy_compliance_code_validator.valid?(@policy_compliance_code) pricing_methodology_code_validator = EnumAttributeValidator.new('String', %w[00 01 02 03 04 05 06 07 08 09 10 11 12 13 14]) return false unless pricing_methodology_code_validator.valid?(@pricing_methodology_code) reject_reason_code_validator = EnumAttributeValidator.new('String', %w[T1 T2 T3 T4 T5 T6]) return false unless reject_reason_code_validator.valid?(@reject_reason_code) true end |