Exemple #1
0
 ///<summary>
 /// Creates a CM_EIP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_EIP(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new EI(message,"Parent´s placer order number");
     data[1] = new EI(message,"Parent´s filler order number");
 }
Exemple #2
0
 /**
    * Returns all repetitions of Facility ID (FAC-1).
    */
 public EI[] getFacilityID()
 {
     EI[] ret = null;
     try {
     Type[] t = this.getField(1);
     ret = new EI[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (EI)t[i];
     }
     } catch (HL7Exception he) {
     HapiLogFactory.getHapiLog(this.GetType()).error("Unexpected problem obtaining field value.  This is a bug.", he);
     throw new System.Exception("An unexpected error ocurred", he);
     } catch (System.Exception cce) {
     HapiLogFactory.getHapiLog(GetType()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
     throw new System.Exception("An unexpected error ocurred", cce);
       }
      return ret;
 }
Exemple #3
0
 ///<summary>
 /// Creates a CM_EIP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_EIP(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new EI(message, "Parent´s placer order number");
     data[1] = new EI(message, "Parent´s filler order number");
 }