/// <summary>
        /// Get PATIENT_RESULT Records from ORU_R03
        /// </summary>
        public static IEnumerable GetPATIENT_RESULTRecords(this ORU_R03 message)
        {
            object[] result = message.GetRecords("PATIENT_RESULTRepetitionsUsed", "GetPATIENT_RESULT");

            if ((result != null) && (result.Count() > 0))
            {
                for (int i = 0; i < result.Count(); i++)
                {
                    yield return(result[i]);
                }
            }
        }
 /// <summary>
 /// Add a new ORU_R03 to PATIENT_RESULT
 /// </summary>
 public static ORU_R03_PATIENT_RESULT AddPATIENT_RESULT(this ORU_R03 message)
 {
     return(message.GetPATIENT_RESULT(message.PATIENT_RESULTRepetitionsUsed));
 }
 /// <summary>
 /// Get all PATIENT_RESULT Records from ORU_R03
 /// </summary>
 public static List <ORU_R03_PATIENT_RESULT> GetAllPATIENT_RESULTRecords(this ORU_R03 message)
 {
     return(message.GetAllRecords <ORU_R03_PATIENT_RESULT>("PATIENT_RESULTRepetitionsUsed", "GetPATIENT_RESULT"));
 }