///<summary> /// Creates a CM_LA1. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public CM_LA1(Message message, string description) : base(message, description) { data = new Type[2]; data[0] = new CM_INTERNAL_LOCATION(message,"Dispense / Deliver to Location"); data[1] = new AD(message,"Location"); }
///<summary> /// Creates a CN_PHYSICIAN. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public CN_PHYSICIAN(Message message, string description) : base(message, description) { data = new Type[13]; data[0] = new ID(message, 0, "Physician ID"); data[1] = new ST(message, "Familiy name"); data[2] = new ST(message, "Given name"); data[3] = new ST(message, "Middle initial or name"); data[4] = new ST(message, "Suffix (e.g. JR or III)"); data[5] = new ST(message, "Prefix (e.g. DR)"); data[6] = new ST(message, "Degree (e.g. MD)"); data[7] = new ID(message, 0, "Source table id"); data[8] = new AD(message, "Adresse"); data[9] = new TN(message, "Telefon"); data[10] = new TN(message, "Faxnummer"); data[11] = new TN(message, "Online-Nummer"); data[12] = new ST(message, "E-Mail"); }
///<summary> /// Creates a CN_PHYSICIAN. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public CN_PHYSICIAN(Message message, string description) : base(message, description) { data = new Type[13]; data[0] = new ID(message, 0,"Physician ID"); data[1] = new ST(message,"Familiy name"); data[2] = new ST(message,"Given name"); data[3] = new ST(message,"Middle initial or name"); data[4] = new ST(message,"Suffix (e.g. JR or III)"); data[5] = new ST(message,"Prefix (e.g. DR)"); data[6] = new ST(message,"Degree (e.g. MD)"); data[7] = new ID(message, 0,"Source table id"); data[8] = new AD(message,"Adresse"); data[9] = new TN(message,"Telefon"); data[10] = new TN(message,"Faxnummer"); data[11] = new TN(message,"Online-Nummer"); data[12] = new ST(message,"E-Mail"); }
///<summary> /// Creates a CM_LA1. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public CM_LA1(Message message, string description) : base(message, description) { data = new Type[2]; data[0] = new CM_INTERNAL_LOCATION(message, "Dispense / Deliver to Location"); data[1] = new AD(message, "Location"); }
/** * Returns all repetitions of Address of Outside Site(s) (OM1-29). */ public AD[] getAddressOfOutsideSiteS() { AD[] ret = null; try { Type[] t = this.getField(29); ret = new AD[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (AD)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; }