ClearList

All validation programs

Removes one or all lists from the repository. You should clear a list specifically whenever you want it cleared. Do not count on it being automatically cleared at the end of a transaction set, group, or interchange.

The location of the ClearList is important. A typical place is on the first segment in a repeating loop or on the first required element of a repeating segment.

Caution It is hazardous to use ClearList without specifying which list is being cleared. A ClearList without a list name results in clearing all lists, including those in the HIPAA guideline with which you will eventually merge your rules.

ListName

Where:

ListName Optional but recommended. Name of the list to be removed. If <ListName> is omitted, all lists are removed. See caution above.