User Guide > Validating Data > Validating Data Using DjValidator Standalone Utility
Was this helpful?
Validating Data Using DjValidator Standalone Utility
The DJValidator standalone utility compares the data for validity against a metadata dictionary.
To validate the data file using DjValidator utility:
1. At the command prompt, run djvalidator.
2. Run the validator again using the following syntax:
djvalidator [-lso] [-e errfile] [valtype] [connectinfo] [options]
where [options] is an optional list of keyword-value pairs to set options specific to the validator.
Example
djvalidator -e error.log HIPAA MED527badN4.X01 SchemaFile=4010AModified2300DTP_Aaddedv2.ds.xml CodeSetFile=4010AModifiedc.dsc.xml
String in quotation marks is case-sensitive.
The following table provides information about the validation options.
Option
Description
Notes
-e
Error file
Specify the file where the errors must be logged.
-l
 
List installed validators
 
Installed validators are: EDI (X12), HIPAA, and HL7.
Type:
–l
(l as in list)
-o
 
List options
 
List options for the validator as follows:
Djvalidator [-o] valtype
Type:
–o
-s
Silent mode
In this mode, the validator program does not retrieve the error messages and returns them to a log file. If you want the messages to write to a log file, do not select Silent mode.
Type:
–s
(s as in silent)
-ol
List ENUM values
Lists the allowable values for ENUM type options.
Type:
djvalidator –ol valtype
(o as in options, l as in list)
Last modified date: 08/02/2023