Example #1
0
File: CD.cs Project: nHapiNET/nHapi
 ///<summary>
 /// Creates a CD.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CD(IMessage message, string description) : base(message, description)
 {
     data    = new IType[6];
     data[0] = new WVI(message, "Channel Identifier");
     data[1] = new WVS(message, "Waveform Source");
     data[2] = new CSU(message, "Channel Sensitivity and Units");
     data[3] = new CCP(message, "Channel Calibration Parameters");
     data[4] = new NM(message, "Channel Sampling Frequency");
     data[5] = new NR(message, "Minimum and Maximum Data Values");
 }
Example #2
0
 ///<summary>
 /// Creates a RFR.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public RFR(IMessage message, string description) : base(message, description)
 {
     data    = new IType[7];
     data[0] = new NR(message, "Numeric Range");
     data[1] = new IS(message, 1, "Administrative Sex");
     data[2] = new NR(message, "Age Range");
     data[3] = new NR(message, "Gestational Age Range");
     data[4] = new ST(message, "Species");
     data[5] = new ST(message, "Race/subspecies");
     data[6] = new TX(message, "Conditions");
 }