Validate Segment exists

How to build a Segment/Field rule validating that a segment exists

In this example, we’ll validate that the PV2 segment exists and IN1 doesn’t exist.

  1. First set up your suite, scenario, and action.
  2. In the inbound HL7 task, select the Validation tab
  3. Select the Segment/Field Validation tab
  4. Add a first rule:  PV2 is present
  5. Add a second rule: IN1 is not present


Download the rule file (Segment exists.cxf)

Learn more about how to import validation rules into an inbound HL7 task.