@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.mjs
CHANGED
|
@@ -1464,15 +1464,14 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
});
|
|
1466
1466
|
const __snapshot3 = this._CheckOutputLongDurationError(__snapshot2, "await this.GetPersonRecord()");
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
process.exit(1);
|
|
1467
|
+
const retVal = await client.ProcessBatchOrTransactionResources(bundleBatch);
|
|
1468
|
+
this._CheckOutputLongDurationError(__snapshot3, "await this.PostResource()");
|
|
1469
|
+
if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
1470
|
+
const retPersonData = { ...retVal.body.entry[0].resource };
|
|
1471
|
+
delete personRecord.meta;
|
|
1472
|
+
delete retPersonData.meta;
|
|
1473
|
+
this.CheckReturnData(personRecord, retPersonData);
|
|
1474
|
+
return retVal.body.entry[0].resource;
|
|
1476
1475
|
};
|
|
1477
1476
|
};
|
|
1478
1477
|
//#endregion
|