@nsshunt/stsfhirclient 2.0.13 → 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.
@@ -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