Class: Eddy::Elements::E1166

Inherits:
Models::Element::ID show all
Defined in:
lib/definitions/elements/generated/1166.contract_type_code.rb

Overview

Element Summary:

  • Id: 1166
  • Name: Contract Type Code
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying a contract type

Instance Attribute Summary

Attributes inherited from Models::Element::Base

#description, #id, #max, #min, #name, #ref, #type

Instance Method Summary collapse

Methods inherited from Models::Element::ID

#process_value, process_value, #value, #value=

Methods inherited from Models::Element::Base

#doc_comment, #process_value, process_value, #req, #req=, #value, #value=

Constructor Details

#initialize(val: nil, req: nil, ref: nil) ⇒ void

Parameters:

  • val (String) (defaults to: nil)
  • req (String) (defaults to: nil)
  • ref (String) (defaults to: nil)


16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/definitions/elements/generated/1166.contract_type_code.rb', line 16

def initialize(val: nil, req: nil, ref: nil)
  @id = "1166"
  @name = "Contract Type Code"
  @description = "Code identifying a contract type"
  super(
    min: 2,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end

Instance Method Details

#code_listArray<String>

Returns:

  • (Array<String>)


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/definitions/elements/generated/1166.contract_type_code.rb', line 30

def code_list()
  return [
    "01", # Diagnosis Related Group (DRG)
    "02", # Per Diem
    "03", # Variable Per Diem
    "04", # Flat
    "05", # Capitated
    "06", # Percent
    "09", # Other
    "AB", # Negotiated Growing Equity Mortgage (GEM)
    "AC", # Anticipated Contract
    "AD", # Federal Housing Authority Adjustable Rate Mortgage
    "AE", # Federal Housing Authority Veterans Affairs Fixed Rate Mortgage (including standard Growing Equity Mortgages)
    "AF", # Conventional Second Mortgages
    "AG", # Conventional Fixed Rate Mortgages
    "AH", # Federal Housing Authority Veterans Affairs Graduated Payment Mortgage
    "AI", # Negotiated Conventional, Graduated Payment, or Step Rate Mortgage
    "AJ", # Conventional Adjustable Rate Mortgage
    "CA", # Cost Plus Incentive Fee (With Performance Incentives)
    "CB", # Cost Plus Incentive Fee (Without Performance Incentives)
    "CH", # Cost Sharing
    "CP", # Cost Plus
    "CS", # Cost
    "CW", # Cost Plus Award Fee
    "CX", # Cost Plus Fixed Fee
    "CY", # Cost Plus Incentive Fee
    "DI", # Distributor
    "EA", # Exclusive Agency
    "ER", # Exclusive Right
    "FA", # Firm or Actual Contract
    "FB", # Fixed Price Incentive Firm Target (With Performance Incentive)
    "FC", # Fixed Price Incentive Firm Target (Without Performance Incentive)
    "FD", # Fixed Price Redetermination
    "FE", # Fixed Price with Escalation
    "FF", # Fixed Price Incentive Successive Target (With Performance Incentive)
    "FG", # Fixed Price Incentive Successive Target (Without Performance Incentive)
    "FH", # Fixed Price Award Fee
    "FI", # Fixed Price Incentive
    "FJ", # Fixed Price Level of Effort
    "FK", # No Cost
    "FL", # Flat Amount
    "FM", # Retroactive Fixed Price Redetermination
    "FR", # Firm Fixed Price
    "FX", # Fixed Price with Economic Price Adjustment
    "LA", # Labor
    "LE", # Level of Effort
    "LH", # Labor Hours
    "OC", # Other Contract Type
    "PR", # Prospect Reservation
    "SP", # Same Percentage as Film Rental Earned (SPFRE)
    "TM", # Time and Materials
    "ZZ", # Mutually Defined
  ]
end