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