lib/stupidedi/config.rb
Method hipaa
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def hipaa(base = default)
base.customize do |c|
c.transaction_set.customize do |x|
x.register("004010", "HP", "835") { Stupidedi::TransactionSets::FortyTen::Standards::HP835 }
x.register("004010X091A1", "HP", "835") { Stupidedi::TransactionSets::FortyTen::Implementations::X091A1::HP835 }
Method contrib
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def contrib(base = default)
base.customize do |c|
c.transaction_set.customize do |x|
x.register("002001", "SH", "856") { Stupidedi::TransactionSets::TwoThousandOne::Standards::SH856 }
x.register("002001", "PO", "830") { Stupidedi::TransactionSets::TwoThousandOne::Standards::PO830 }