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.
- First set up your suite, scenario, and action.
- In the inbound HL7 task, select the Validation tab
- Select the Segment/Field Validation tab
- Add a first rule: PV2 is present
- 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.