/// <summary> /// Get AL1 Records from ARD_A19_QUERY_RESPONSE /// </summary> public static IEnumerable GetAL1Records(this ARD_A19_QUERY_RESPONSE message) { object[] result = message.GetRecords("AL1RepetitionsUsed", "GetAL1"); if ((result != null) && (result.Count() > 0)) { for (int i = 0; i < result.Count(); i++) { yield return(result[i]); } } }
/** * Returns first repetition of ARD_A19_QUERY_RESPONSE (a Group object) - creates it if necessary */ public ARD_A19_QUERY_RESPONSE getQUERY_RESPONSE() { ARD_A19_QUERY_RESPONSE ret = null; try { ret = (ARD_A19_QUERY_RESPONSE)this.get_Renamed("QUERY_RESPONSE"); } catch (HL7Exception e) { HapiLogFactory.getHapiLog(GetType()).error("Unexpected error accessing data - this is probably a bug in the source code generator.", e); throw new System.Exception("An unexpected error ocurred", e); } return(ret); }
/// <summary> /// Get all OBX Records from ARD_A19_QUERY_RESPONSE /// </summary> public static List <OBX> GetAllOBXRecords(this ARD_A19_QUERY_RESPONSE message) { return(message.GetAllRecords <OBX>("OBXRepetitionsUsed", "GetOBX")); }
/// <summary> /// Add a new ARD_A19_QUERY_RESPONSE to OBX /// </summary> public static OBX AddOBX(this ARD_A19_QUERY_RESPONSE message) { return(message.GetOBX(message.OBXRepetitionsUsed)); }
/// <summary> /// Get all NK1 Records from ARD_A19_QUERY_RESPONSE /// </summary> public static List <NK1> GetAllNK1Records(this ARD_A19_QUERY_RESPONSE message) { return(message.GetAllRecords <NK1>("NK1RepetitionsUsed", "GetNK1")); }
/// <summary> /// Add a new ARD_A19_QUERY_RESPONSE to NK1 /// </summary> public static NK1 AddNK1(this ARD_A19_QUERY_RESPONSE message) { return(message.GetNK1(message.NK1RepetitionsUsed)); }
/// <summary> /// Get all INSURANCE Records from ARD_A19_QUERY_RESPONSE /// </summary> public static List <ARD_A19_INSURANCE> GetAllINSURANCERecords(this ARD_A19_QUERY_RESPONSE message) { return(message.GetAllRecords <ARD_A19_INSURANCE>("INSURANCERepetitionsUsed", "GetINSURANCE")); }
/// <summary> /// Add a new ARD_A19_QUERY_RESPONSE to INSURANCE /// </summary> public static ARD_A19_INSURANCE AddINSURANCE(this ARD_A19_QUERY_RESPONSE message) { return(message.GetINSURANCE(message.INSURANCERepetitionsUsed)); }
/// <summary> /// Get all GT1 Records from ARD_A19_QUERY_RESPONSE /// </summary> public static List <GT1> GetAllGT1Records(this ARD_A19_QUERY_RESPONSE message) { return(message.GetAllRecords <GT1>("GT1RepetitionsUsed", "GetGT1")); }
/// <summary> /// Add a new ARD_A19_QUERY_RESPONSE to GT1 /// </summary> public static GT1 AddGT1(this ARD_A19_QUERY_RESPONSE message) { return(message.GetGT1(message.GT1RepetitionsUsed)); }
/// <summary> /// Add a new ARD_A19_QUERY_RESPONSE to PR1 /// </summary> public static PR1 AddPR1(this ARD_A19_QUERY_RESPONSE message) { return(message.GetPR1(message.PR1RepetitionsUsed)); }
/// <summary> /// Get all PR1 Records from ARD_A19_QUERY_RESPONSE /// </summary> public static List <PR1> GetAllPR1Records(this ARD_A19_QUERY_RESPONSE message) { return(message.GetAllRecords <PR1>("PR1RepetitionsUsed", "GetPR1")); }
/// <summary> /// Add a new ARD_A19_QUERY_RESPONSE to DG1 /// </summary> public static DG1 AddDG1(this ARD_A19_QUERY_RESPONSE message) { return(message.GetDG1(message.DG1RepetitionsUsed)); }
/// <summary> /// Get all DG1 Records from ARD_A19_QUERY_RESPONSE /// </summary> public static List <DG1> GetAllDG1Records(this ARD_A19_QUERY_RESPONSE message) { return(message.GetAllRecords <DG1>("DG1RepetitionsUsed", "GetDG1")); }
/// <summary> /// Add a new ARD_A19_QUERY_RESPONSE to AL1 /// </summary> public static AL1 AddAL1(this ARD_A19_QUERY_RESPONSE message) { return(message.GetAL1(message.AL1RepetitionsUsed)); }