Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Nhax reader reads data from an Nhax file or a stream that contains an Nhax file. The Nhax reader can be initialized with file or a stream.

/// <summary>
/// Initializing Nhax file reader
/// </summary>
/// <param name="password">Password if Nhax file is encrypted</param>
public ValidateResult Initialize(string filePath, string password)

/// <summary>
/// Initializing Nhax stream reader
/// </summary>
/// <param name="inStream">Stream that contains Nhax formatted data</param>
/// <param name="password">Password if Nhax data is encrypted</param>
/// <returns></returns>
public ValidateResult Initialize(Stream inStream, string password)

Be aware that the Nhax reader implements the idisposable interface. It is important to called the dispose function.

When reading large Nhax files it is recommended to read a moderate number of patients.

Sample