Skip to main content

Module ghs_codes

Module ghs_codes 

Source
Expand description

GHS Rev.10 H-code and P-code validation and descriptions.

Codes are validated against the actual GHS code list (not just range checks). Compound P-codes like P301+P330+P331 are split on + before validation.

Functionsยง

h_code_description
is_valid_h_code
is_valid_p_code
Validates a P-code, including compound codes like P301+P330+P331.
p_code_description