Module: OpenEHR::Parser::XMLPrimitiveParsing

Included in:
OPTParser, XMLArchetypeParser
Defined in:
lib/openehr/parser/xml_primitive_parsing.rb

Overview

The 8 C_PRIMITIVE readers (boolean/string/integer/real/date/ date_time/time/duration), shared between OPTParser and XMLArchetypeParser - both read a -wrapped element with the same internal shape. Extracted from opt_parser.rb without behavior changes, except C_REAL's range now reads Float bounds instead of silently truncating them to Integer via numeric_interval(real: true) (see xml_constraint_parsing.rb).