@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.
@@ -2379,12 +2379,15 @@ var TestCaseFhir09 = class extends TestCaseFhirQueryBase {
2379
2379
  const retVal = await client.GetHistoryInstanceFhirResource("Person", personRecord.id, "2");
2380
2380
  this._CheckOutputLongDurationError(__snapshot3, "await this.GetHistoryInstanceFhirResource()");
2381
2381
  if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
2382
- delete personRecord.meta;
2383
- delete retVal.body.meta;
2384
- delete personRecord.text.div;
2385
- delete retVal.body.text.div;
2386
- this.CheckReturnData(personRecord, retVal.body);
2387
- return retVal.body;
2382
+ if (retVal.status === StatusCodes.GONE) return null;
2383
+ else {
2384
+ delete personRecord.meta;
2385
+ delete retVal.body.meta;
2386
+ delete personRecord.text.div;
2387
+ delete retVal.body.text.div;
2388
+ this.CheckReturnData(personRecord, retVal.body);
2389
+ return retVal.body;
2390
+ }
2388
2391
  };
2389
2392
  };
2390
2393
  //#endregion