001    package org.vmdb.hl7;
002    
003    /**
004     * <p><Title:> Composite Message Type Element. </p>
005     * <p>Description: HL7 Network Connectivity For VMDB. </p>
006     * <p>Copyright: Copyright (c) 2002-2003. </p>
007     * <p>Company: Veterinary Medical Database (VMDB). </p>
008     * <p>Note: This element is only used in MSH to identify the specific message.
009     * As such it will probably <i>only</i> be used in implementation of classes
010     * that override HL7Message to implement specific message types.
011     * @author Michael K. Martin
012     * @version 1.0
013     */
014    
015    public class CM_ERRElement extends HL7Element {
016       private String sNm = "CM_ERR";
017       private String sRl = "ST NM NM CE";
018    
019       /**
020        * Construct a composite message type element using the default name and type constants
021        * at the default level FIELD.
022        */
023       public CM_ERRElement() {
024          super( FIELD );
025          setName( sNm );
026          setRule( sRl );
027          setType( "CM_ERR" );
028       }
029    
030    } // End class CM_ERRElement