The Document Update Processor can re-index documents to different Document Types based on values provided for the $$DOCTYPE field. For Document Type re-indexing to be successful, the following requirements must be met:
-
The Re-Index Document option must be enabled for the message action.
-
The $$DOCTYPE predefined value must be configured in the message template.
-
The HL7 message must provide a $$DOCTYPE value that resolves to a single Document Type. If the $$DOCTYPE value is invalid, re-indexing will fail. If the $$DOCTYPE value is not provided, the keyword values will be evaluated for re-indexing, but the Document Type will not be changed.
-
Neither the original Document Type nor the new Document Type can be configured with a Multi-Instance Keyword Type Group. If either is configured with a Multi-Instance Keyword Type Group, re-indexing will fail.
If the original Document Type and new Document Type have different Keyword Type configurations, the Document Update Processor may remove keyword values during re-indexing. See Conflict Scenarios for Document Update Processing.