/// <summary> /// Get NTE Records from ORM_O01_PATIENT /// </summary> public static IEnumerable GetNTERecords(this ORM_O01_PATIENT 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 ORM_O01_PATIENT to NTE /// </summary> public static NTE AddNTE(this ORM_O01_PATIENT message) { return(message.GetNTE(message.NTERepetitionsUsed)); }
/// <summary> /// Get all NTE Records from ORM_O01_PATIENT /// </summary> public static List <NTE> GetAllNTERecords(this ORM_O01_PATIENT message) { return(message.GetAllRecords <NTE>("NTERepetitionsUsed", "GetNTE")); }