@nsshunt/ststestrunner 1.1.143 → 1.1.144
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/ststestrunner.cjs +8 -9
- package/dist/ststestrunner.cjs.map +1 -1
- package/dist/ststestrunner.mjs +8 -9
- package/dist/ststestrunner.mjs.map +1 -1
- package/package.json +1 -1
- package/types/libmodule/testCaseFhir02.d.ts.map +1 -1
- package/types/libmodule/testCaseFhir02bundle.d.ts +7 -0
- package/types/libmodule/testCaseFhir02bundle.d.ts.map +1 -0
- package/types/libmodule/testCaseFhir02single.d.ts +7 -0
- package/types/libmodule/testCaseFhir02single.d.ts.map +1 -0
package/dist/ststestrunner.cjs
CHANGED
|
@@ -1469,15 +1469,14 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1469
1469
|
}
|
|
1470
1470
|
});
|
|
1471
1471
|
const __snapshot3 = this._CheckOutputLongDurationError(__snapshot2, "await this.GetPersonRecord()");
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
process.exit(1);
|
|
1472
|
+
const retVal = await client.ProcessBatchOrTransactionResources(bundleBatch);
|
|
1473
|
+
this._CheckOutputLongDurationError(__snapshot3, "await this.PostResource()");
|
|
1474
|
+
if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
1475
|
+
const retPersonData = { ...retVal.body.entry[0].resource };
|
|
1476
|
+
delete personRecord.meta;
|
|
1477
|
+
delete retPersonData.meta;
|
|
1478
|
+
this.CheckReturnData(personRecord, retPersonData);
|
|
1479
|
+
return retVal.body.entry[0].resource;
|
|
1481
1480
|
};
|
|
1482
1481
|
};
|
|
1483
1482
|
//#endregion
|