View Javadoc
1   /*
2    * Created on 6-Jun-2005
3    */
4   package ca.uhn.hl7v2.model.v21.datatype;
5   
6   import ca.uhn.hl7v2.model.GenericComposite;
7   import ca.uhn.hl7v2.model.Message;
8   
9   /**
10   * Version 2.1 contains a number of unspecified CM datatypes, which we model as 
11   * GenericComposites.  The type of each CM component can be set as needed, after 
12   * parsing a message.  
13   *  
14   * @author <a href="mailto:bryan.tripp@uhn.on.ca">Bryan Tripp</a>
15   * @version $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:37 $ by $Author: jamesagnew $
16   */
17  public class CM extends GenericComposite {
18  
19      /**
20       * @param message message to which this Type belongs
21       */
22      public CM(Message message) {
23          super(message);
24      }
25  
26      /** Returns the name of the type (used in XML encoding and profile checking)  */
27      public String getName() {
28          return "CM";
29      }
30  
31  }