コード例 #1
0
        /// <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]);
                }
            }
        }
コード例 #2
0
 /// <summary>
 /// Add a new ORM_O01_PATIENT to NTE
 /// </summary>
 public static NTE AddNTE(this ORM_O01_PATIENT message)
 {
     return(message.GetNTE(message.NTERepetitionsUsed));
 }
コード例 #3
0
 /// <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"));
 }