@nsshunt/ststestrunner 1.1.169 → 1.1.170
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.mjs
CHANGED
|
@@ -2374,12 +2374,20 @@ var TestCaseFhir09 = class extends TestCaseFhirQueryBase {
|
|
|
2374
2374
|
const retVal = await client.GetHistoryInstanceFhirResource("Person", personRecord.id, "2");
|
|
2375
2375
|
this._CheckOutputLongDurationError(__snapshot3, "await this.GetHistoryInstanceFhirResource()");
|
|
2376
2376
|
if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2377
|
+
try {
|
|
2378
|
+
delete personRecord.meta;
|
|
2379
|
+
delete retVal.body.meta;
|
|
2380
|
+
delete personRecord.text.div;
|
|
2381
|
+
delete retVal.body.text.div;
|
|
2382
|
+
this.CheckReturnData(personRecord, retVal.body);
|
|
2383
|
+
return retVal.body;
|
|
2384
|
+
} catch (error) {
|
|
2385
|
+
console.error(error);
|
|
2386
|
+
console.log(personRecord);
|
|
2387
|
+
console.log(retVal.status);
|
|
2388
|
+
console.log(retVal.body);
|
|
2389
|
+
process.exit(1);
|
|
2390
|
+
}
|
|
2383
2391
|
};
|
|
2384
2392
|
};
|
|
2385
2393
|
//#endregion
|