Accession number and patient ID should export as text

Issue #443 resolved
Ed McDonagh created an issue

Numeric accession numbers and Patient ID fields should be treated as strings on export, not converted to numbers. This would for example prevent leading zeros from being removed.

Issue reported to Google group by @LuukO.

Comments (26)

  1. Ed McDonagh reporter

    Changes as made by @LuukO. It would be good to remember why I made all the numbers into strings in the first place! Needs further review and testing. Changes should be made to all xlsx exports accordingly. Refs #443

    → <<cset 6aa02277a4ae>>

  2. Ed McDonagh reporter

    Set date format for dx xlsx from settings. Now using xlrd to test value types and values. Pandas too keen to convert to numbers so testing ineffective! Fails against patient ID as currently number. Refs #443. Need to redo tests for CT with xlrd.

    → <<cset 12ef2c817750>>

  3. Log in to comment