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