I recently noticed that when importing sections that have a scalar unit (such as the dosage for a medication) that the value is being converted to an integer.
It looks like the culprit is the to_i on line 193 of lib/health-data-standards/import/cda/section_importer.rb.
I recently noticed that when importing sections that have a scalar unit (such as the dosage for a medication) that the value is being converted to an integer.
It looks like the culprit is the to_i on line 193 of lib/health-data-standards/import/cda/section_importer.rb.
Will it break anything if we change this to to_f instead?