@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.
- package/dist/stsfhirclient.cjs +3 -3
- package/dist/stsfhirclient.cjs.map +1 -1
- package/dist/stsfhirclient.mjs +3 -3
- package/dist/stsfhirclient.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cv2/fhirRESTClient.d.ts +1 -1
- package/types/cv2/fhirRESTClient.d.ts.map +1 -1
- package/types/cv2/fhirSocketClient.d.ts +1 -0
- package/types/cv2/fhirSocketClient.d.ts.map +1 -1
package/dist/stsfhirclient.cjs
CHANGED
|
@@ -9466,9 +9466,9 @@ var FhirRESTClient = class {
|
|
|
9466
9466
|
throw error;
|
|
9467
9467
|
}
|
|
9468
9468
|
};
|
|
9469
|
-
GenericSearchTesting = async (params) => {
|
|
9469
|
+
GenericSearchTesting = async (resourceType, params) => {
|
|
9470
9470
|
try {
|
|
9471
|
-
const retVal = await this.#InvokeResourceAPI(`${this.BaseUrl()}/
|
|
9471
|
+
const retVal = await this.#InvokeResourceAPI(`${this.BaseUrl()}/${resourceType}/_genericSearchTesting`, "post", null, params);
|
|
9472
9472
|
if (retVal) return {
|
|
9473
9473
|
status: retVal.status,
|
|
9474
9474
|
body: retVal.data
|
|
@@ -14967,7 +14967,7 @@ var FhirSocketClient = class extends SocketIoClient {
|
|
|
14967
14967
|
SetupSocketEvents(socket) {}
|
|
14968
14968
|
SetupWSSClient = async () => {
|
|
14969
14969
|
this.LogDebugMessage(import_source.default.yellow(`FhirSocketClient:SetupWSSClient(): ID: [${this.id}] clientName: [${this.name}] Starting ...`));
|
|
14970
|
-
const cstr = `${this.options.fhirServerEndpoint}/nsstsfhir/`;
|
|
14970
|
+
const cstr = `${this.options.fhirServerEndpoint}:${this.options.fhirSeerverPort}/nsstsfhir/`;
|
|
14971
14971
|
this.LogDebugMessage(import_source.default.yellow(`FhirSocketClient:SetupWSSClient(): Socket connection string: [${cstr}]`));
|
|
14972
14972
|
this.WithAddress(cstr).WithSocketIoCustomPath(this.options.socketIoCustomPath).WithAuthToken(this.options.authToken);
|
|
14973
14973
|
if (this.options.agentManager) this.WithAgentManager(this.options.agentManager);
|