@nsshunt/stsfhirclient 2.0.12 → 2.0.14
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
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
|
|
@@ -15440,7 +15440,7 @@ var FhirSocketClientIndividual = class extends FhirSocketClient {
|
|
|
15440
15440
|
this.WithAccessToken(accessToken);
|
|
15441
15441
|
return this.EmitCommand("GenericSearchTesting", {
|
|
15442
15442
|
...this.GetBaseParams(resource),
|
|
15443
|
-
|
|
15443
|
+
queryData: params,
|
|
15444
15444
|
baseUrlNoParams: `${this.options.baseUrl}/${resource}`,
|
|
15445
15445
|
searchUrl: `${this.options.baseUrl}/${resource}/_genericSearchTesting`,
|
|
15446
15446
|
wantsRepresentation: true
|