In the Misc tab, you can disable/enable the Python None object for a specific VMD file. The table below describes what happens when you disable or enable Python None and provides an example for each action:
Action
Description
Example
Python None Disabled
Empty fields in an HL7 message are assigned default values (e.g., "" for strings, 0 for integers, doubles and dates).
When Python None is disabled, all values (even those resulting from empty fields in an HL7 message) are valid. This means that you can perform operations on the values without worrying about generating exceptions due to the value being None.
Python None Enabled
Empty fields in an HL7 message are assigned the value of None - this translates well to a NULL database object.
If an HL7 message contains an empty integer field, the value assigned to it will be None instead of the default value.