If a Keyword Type uses masking, then the Keyword Values in HL7 messages must be specified using the exact format as the masked Keyword Value.
If an HL7 message provides a value that does not conform to the mask configured for the Keyword Type, then the value may be either truncated or not stored at all.
For example, if the SSN Keyword Type is masked as 000S00S9999, then the SSNs in HL7 messages must contain the static characters as well as the numeric characters. For an SSN of 333-33-6666, the Keyword Value in the HL7 message must be 333-33-6666.
If the Keyword Value in the HL7 message is 333336666, omitting the static characters, the expected result varies depending on whether the Keyword Type is configured with the Full Field Entry Required option. If this option is disabled, then all data after the first missing static character will be lost. If the Full Field Entry Required option is enabled, then no value will be stored for the SSN Keyword Type.
To store valid values for masked Keyword Types, make sure incoming HL7 data will satisfy the mask configuration.