001 /*
002 * Created on 6-Jun-2005
003 */
004 package ca.uhn.hl7v2.model.v21.datatype;
005
006 import ca.uhn.hl7v2.model.GenericComposite;
007 import ca.uhn.hl7v2.model.Message;
008
009 /**
010 * Version 2.1 contains a number of unspecified CM datatypes, which we model as
011 * GenericComposites. The type of each CM component can be set as needed, after
012 * parsing a message.
013 *
014 * @author <a href="mailto:bryan.tripp@uhn.on.ca">Bryan Tripp</a>
015 * @version $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:37 $ by $Author: jamesagnew $
016 */
017 public class CM extends GenericComposite {
018
019 /**
020 * @param message message to which this Type belongs
021 */
022 public CM(Message message) {
023 super(message);
024 }
025
026 /** Returns the name of the type (used in XML encoding and profile checking) */
027 public String getName() {
028 return "CM";
029 }
030
031 }