@nsshunt/ststestrunner 1.1.169 → 1.1.171
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,15 @@ 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
|
+
if (retVal.status === StatusCodes.GONE) return null;
|
|
2378
|
+
else {
|
|
2379
|
+
delete personRecord.meta;
|
|
2380
|
+
delete retVal.body.meta;
|
|
2381
|
+
delete personRecord.text.div;
|
|
2382
|
+
delete retVal.body.text.div;
|
|
2383
|
+
this.CheckReturnData(personRecord, retVal.body);
|
|
2384
|
+
return retVal.body;
|
|
2385
|
+
}
|
|
2383
2386
|
};
|
|
2384
2387
|
};
|
|
2385
2388
|
//#endregion
|