DX import partially fails if invalid PatientSize value
Issue #896
resolved
(0010,1020) PatientSize is of type DS (Decimal String), ie a Decimal or floating point number.
One vendor has put the string MEDIUM
in that field, which is not allowed.
As such, this isn’t currently checked for and prevents the table from being saved.
Propose checking for this value before saving the table.
Comments (4)
-
reporter -
reporter Adding ref
#896to changes. [skip ci] docs only.→ <<cset e699fb8f3528>>
-
reporter Fixing mistake in previous - if PatientSize is not present then casting None to Decimal will raise TypeError. Refs
#896→ <<cset 63d11a5fc597>>
-
reporter - changed status to resolved
Merged in issue896checkPtSize (pull request #447)
Fixes
#896Approved-by: David Platten
→ <<cset eb9ed535c620>>
- Log in to comment
Check value of PatientSize before saving table in case it is a string instead of a number. Refs
#896→ <<cset dc2d9c462729>>