/// <summary> /// Get PHARMACYINSTRUCTIONS Records from RX1 /// </summary> public static IEnumerable GetPHARMACYINSTRUCTIONSRecords(this RX1 message) { object[] result = message.GetRecords("PHARMACYINSTRUCTIONSRepetitionsUsed", "GetPHARMACYINSTRUCTIONS"); if ((result != null) && (result.Count() > 0)) { for (int i = 0; i < result.Count(); i++) { yield return(result[i]); } } }
/// <summary> /// Get COMPONENTDRUGIDS Records from RX1 /// </summary> public static IEnumerable GetCOMPONENTDRUGIDSRecords(this RX1 message) { object[] result = message.GetRecords("COMPONENTDRUGIDSRepetitionsUsed", "GetCOMPONENTDRUGIDS"); if ((result != null) && (result.Count() > 0)) { for (int i = 0; i < result.Count(); i++) { yield return(result[i]); } } }