Versions Compared

Key

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

...

Prerequisite: To use these features Noah System ES Client 4.15 must be installed. These features will not work with Noah System ES Client 4.14.2.

Communicating with Noah ES Client

A local Noah ES Client installation run on machines with Noah ES Client 4.15 or later installed at https://localhost:8090. The following HTTP methods can be used to communicate with Noah ES Client.

Get Noah Client instance ID.

...

2.) Successful Return Body

...

Start Noah ES Client.

Route: GET https://localhost:8090/NoahWebIntegrationGUIStart/noah4

...

Set the selected patient to given patient GUID. Noah ES Client will start if it's not already running.

...

2.) Successful Return Body

...

Detecting Noah ES Client patient selection changes

  1. Connect to the SignalR Hub at clientrtm path on the API URL e.g. https://api.qa.eu.noah-es.com/clientrtm

  2. Invoke the hub method “SubscribeTenant” method with tenant id and noah Noah ES Client instance id e.g. await _hubConnection.InvokeAsync("SubscribeTenant", {tenantId}, {noahInstanceId});

  3. Listen for events on the “OnEvent” hub method e.g. _hubConnection.On<NoahClientEvent>("OnEvent", NoahClientEventHandler);
    The event handler receives a message in the format:

    Code Block
    public class NoahClientEvent
    {
    public NoahClientEventType EventType { get; set; }
    public DateTime EventDate { get; set; }
    public string CorrelationId { get; set; }
    public string TenantId { get; set; }
    public string InstanceId { get; set; }
    public Guid? PatientId { get; set; }
    public Guid? ActionId { get; set; }
    public string UserId { get; set; }
    }
    Only patient selected event is currently supported.
    public enum NoahClientEventType
    {
    PatientSelected
    }
  4. When disconnecting, invoke the hub method “LeaveTenant”