@nsshunt/stsfhirclient 2.0.13 → 2.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9464,9 +9464,9 @@ var FhirRESTClient = class {
9464
9464
  throw error;
9465
9465
  }
9466
9466
  };
9467
- GenericSearchTesting = async (params) => {
9467
+ GenericSearchTesting = async (resourceType, params) => {
9468
9468
  try {
9469
- const retVal = await this.#InvokeResourceAPI(`${this.BaseUrl()}/Person/_genericSearchTesting`, "post", null, params);
9469
+ const retVal = await this.#InvokeResourceAPI(`${this.BaseUrl()}/${resourceType}/_genericSearchTesting`, "post", null, params);
9470
9470
  if (retVal) return {
9471
9471
  status: retVal.status,
9472
9472
  body: retVal.data
@@ -14965,7 +14965,7 @@ var FhirSocketClient = class extends SocketIoClient {
14965
14965
  SetupSocketEvents(socket) {}
14966
14966
  SetupWSSClient = async () => {
14967
14967
  this.LogDebugMessage(import_source.default.yellow(`FhirSocketClient:SetupWSSClient(): ID: [${this.id}] clientName: [${this.name}] Starting ...`));
14968
- const cstr = `${this.options.fhirServerEndpoint}/nsstsfhir/`;
14968
+ const cstr = `${this.options.fhirServerEndpoint}:${this.options.fhirSeerverPort}/nsstsfhir/`;
14969
14969
  this.LogDebugMessage(import_source.default.yellow(`FhirSocketClient:SetupWSSClient(): Socket connection string: [${cstr}]`));
14970
14970
  this.WithAddress(cstr).WithSocketIoCustomPath(this.options.socketIoCustomPath).WithAuthToken(this.options.authToken);
14971
14971
  if (this.options.agentManager) this.WithAgentManager(this.options.agentManager);