/// <summary>
 /// Gets the definitions for all health record item type definitions
 /// supported by HealthVault.
 /// </summary>
 /// 
 /// <param name="sections">
 /// A collection of HealthRecordItemTypeSections enumeration values that indicate the type of
 /// details to be returned for the specified health item record(s).
 /// </param>
 /// 
 /// <param name="connection"> 
 /// A connection to the HealthVault service.
 /// </param>
 /// 
 /// <returns>
 /// The type definitions for all the health record item type definitions
 /// supported by HealthVault.
 /// </returns>
 /// 
 /// <remarks>
 /// This method calls the HealthVault service if the types are not
 /// already in the client-side cache.
 /// </remarks>
 /// 
 /// <exception cref="ArgumentNullException">
 /// If <paramref name="connection"/> parameter is <b>null</b>.
 /// </exception>
 /// 
 public static IDictionary<Guid, HealthRecordItemTypeDefinition> GetHealthRecordItemTypeDefinition(
     HealthRecordItemTypeSections sections,
     HealthServiceConnection connection)
 {
     return GetHealthRecordItemTypeDefinition(null, sections, null, null, connection);
 }
 /// <summary>
 /// Gets the definitions for one or more health record item type definitions
 /// supported by HealthVault.
 /// </summary>
 /// 
 /// <param name="typeIds">
 /// A collection of health item type IDs whose details are being requested. Null 
 /// indicates that all health item types should be returned.
 /// </param>
 /// 
 /// <param name="sections">
 /// A collection of HealthRecordItemTypeSections enumeration values that indicate the type 
 /// of details to be returned for the specified health item records(s).
 /// </param>
 /// 
 /// <param name="imageTypes">
 /// A collection of strings that identify which health item record images should be 
 /// retrieved.
 /// 
 /// This requests an image of the specified mime type should be returned. For example, 
 /// to request a GIF image, "image/gif" should be specified. For icons, "image/vnd.microsoft.icon" 
 /// should be specified. Note, not all health item records will have all image types and 
 /// some may not have any images at all.
 ///                
 /// If '*' is specified, all image types will be returned.
 /// </param>
 /// 
 /// <param name="lastClientRefreshDate">
 /// A <see cref="DateTime"/> instance that specifies the time of the last refresh
 /// made by the client.
 /// </param>
 /// 
 /// <param name="connection"> 
 /// A connection to the HealthVault service.
 /// </param>
 /// 
 /// <returns>
 /// The type definitions for the specified types, or empty if the
 /// <paramref name="typeIds"/> parameter does not represent a known unique
 /// type identifier.
 /// </returns>
 /// 
 /// <remarks>
 /// This method calls the HealthVault service if the types are not
 /// already in the client-side cache.
 /// </remarks>
 /// 
 /// <exception cref="ArgumentException">
 /// If <paramref name="typeIds"/> is <b>null</b> and empty, or 
 /// <paramref name="typeIds"/> is <b>null</b> and member in <paramref name="typeIds"/> is 
 /// <see cref="System.Guid.Empty"/>.
 /// </exception>
 /// 
 /// <exception cref="ArgumentNullException">
 /// If <paramref name="connection"/> parameter is <b>null</b>.
 /// </exception>
 /// 
 public static IDictionary<Guid, HealthRecordItemTypeDefinition> GetHealthRecordItemTypeDefinition(
     IList<Guid> typeIds,
     HealthRecordItemTypeSections sections,
     IList<String> imageTypes,
     DateTime? lastClientRefreshDate,
     HealthServiceConnection connection)
 {
     return HealthVaultPlatform.GetHealthRecordItemTypeDefinition(
         typeIds,
         sections,
         imageTypes,
         lastClientRefreshDate,
         connection);
 }
 /// <summary>
 /// Gets the requested health record item type definitions supported by HealthVault 
 /// only if they have been updated since the specified last client refresh date.
 /// </summary>
 /// 
 /// <param name="typeIds">
 /// A collection of health item type IDs whose details are being requested. Null 
 /// indicates that all health item types should be returned.
 /// </param>
 /// 
 /// <param name="sections">
 /// A collection of HealthRecordItemTypeSections enumeration values that indicate the type of
 /// details to be returned for the specified health item record(s).
 /// </param>
 /// 
 /// <param name="lastClientRefreshDate">
 /// A <see cref="DateTime"/> instance that specifies the time of the last refresh
 /// made by the client.
 /// </param>
 /// 
 /// <param name="connection"> 
 /// A connection to the HealthVault service.
 /// </param>
 /// 
 /// <returns>
 /// The type definitions for the specified types, or empty if the
 /// <paramref name="typeIds"/> parameter does not represent a known unique
 /// type identifier.
 /// </returns>
 /// 
 /// <remarks>
 /// This method calls the HealthVault service if the types are not
 /// already in the client-side cache.
 /// </remarks>
 /// 
 /// <exception cref="ArgumentException">
 /// If <paramref name="typeIds"/> is <b>null</b> and empty, or 
 /// <paramref name="typeIds"/> is <b>null</b> and member in <paramref name="typeIds"/> is 
 /// <see cref="System.Guid.Empty"/>.
 /// </exception>
 /// 
 /// <exception cref="ArgumentNullException">
 /// If <paramref name="connection"/> parameter is <b>null</b>.
 /// </exception>
 /// 
 public static IDictionary<Guid, HealthRecordItemTypeDefinition> GetHealthRecordItemTypeDefinition(
     IList<Guid> typeIds,
     HealthRecordItemTypeSections sections,
     DateTime? lastClientRefreshDate,
     HealthServiceConnection connection)
 {
     return GetHealthRecordItemTypeDefinition(typeIds,
                                              sections,
                                              null,
                                              lastClientRefreshDate,
                                              connection);
 }