/// <summary> /// Get NTE Records from ORF_R04_OBSERVATION /// </summary> public static IEnumerable GetNTERecords(this ORF_R04_OBSERVATION message) { object[] result = message.GetRecords("NTERepetitionsUsed", "GetNTE"); if ((result != null) && (result.Count() > 0)) { for (int i = 0; i < result.Count(); i++) { yield return(result[i]); } } }
/// <summary> /// Add a new ORF_R04_OBSERVATION to NTE /// </summary> public static NTE AddNTE(this ORF_R04_OBSERVATION message) { return(message.GetNTE(message.NTERepetitionsUsed)); }
/// <summary> /// Get all NTE Records from ORF_R04_OBSERVATION /// </summary> public static List <NTE> GetAllNTERecords(this ORF_R04_OBSERVATION message) { return(message.GetAllRecords <NTE>("NTERepetitionsUsed", "GetNTE")); }