/// <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]);
                }
            }
        }
 /// <summary>
 /// Add a new COMPONENTDRUGIDS to RX1
 /// </summary>
 public static ID AddCOMPONENTDRUGIDS(this RX1 message)
 {
     return(message.GetCOMPONENTDRUGIDS(message.COMPONENTDRUGIDSRepetitionsUsed));
 }
 /// <summary>
 /// Get all COMPONENTDRUGIDS Records from RX1
 /// </summary>
 public static List <ID> GetAllCOMPONENTDRUGIDSRecords(this RX1 message)
 {
     return(message.GetAllRecords <ID>("COMPONENTDRUGIDSRepetitionsUsed", "GetCOMPONENTDRUGIDS"));
 }
 /// <summary>
 /// Add a new INSTRUCTIONS to RX1
 /// </summary>
 public static TX AddINSTRUCTIONS(this RX1 message)
 {
     return(message.GetINSTRUCTIONS(message.INSTRUCTIONSRepetitionsUsed));
 }
 /// <summary>
 /// Get all INSTRUCTIONS Records from RX1
 /// </summary>
 public static List <TX> GetAllINSTRUCTIONSRecords(this RX1 message)
 {
     return(message.GetAllRecords <TX>("INSTRUCTIONSRepetitionsUsed", "GetINSTRUCTIONS"));
 }
 /// <summary>
 /// Add a new PATIENTINSTRUCTIONS to RX1
 /// </summary>
 public static TX AddPATIENTINSTRUCTIONS(this RX1 message)
 {
     return(message.GetPATIENTINSTRUCTIONS(message.PATIENTINSTRUCTIONSRepetitionsUsed));
 }
 /// <summary>
 /// Add a new PHARMACYINSTRUCTIONS to RX1
 /// </summary>
 public static TX AddPHARMACYINSTRUCTIONS(this RX1 message)
 {
     return(message.GetPHARMACYINSTRUCTIONS(message.PHARMACYINSTRUCTIONSRepetitionsUsed));
 }