File Coverage

blib/lib/Business/EDI/CodeList/DescriptionFormatCode.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 2 0.0
total 8 10 80.0


line stmt bran cond sub pod time code
1             package Business::EDI::CodeList::DescriptionFormatCode;
2              
3 4     4   22 use base 'Business::EDI::CodeList';
  4         9  
  4         741  
4             my $VERSION = 0.02;
5 192     192 0 580 sub list_number {7077;}
6             my $usage = 'B';
7              
8             # 7077 Description format code [B]
9             # Desc: Code specifying the format of a description.
10             # Repr: an..3
11              
12             my %code_hash = (
13             'A' => [ 'Free-form long description',
14             'Long description of an item in free form.' ],
15             'B' => [ 'Code and text',
16             'Description of an item in coded and free form text.' ],
17             'C' => [ 'Code (from industry code list)',
18             'Description of an item in coded format.' ],
19             'D' => [ 'Free-form price look up',
20             'Price look-up description of a product for point of sale receipts.' ],
21             'E' => [ 'Free-form short description',
22             'Short description of an item in free form.' ],
23             'F' => [ 'Free-form',
24             'Description of an item in free form text.' ],
25             'S' => [ 'Structured (from industry code list)',
26             'Description of an item in a structured format.' ],
27             'X' => [ 'Semi-structured (code + text)',
28             'Description of an item in a coded and free text format.' ],
29             );
30 192     192 0 702 sub get_codes { return \%code_hash; }
31              
32             1;