|
@@ -15,7 +15,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
};
|
|
|
})();
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
-exports.GetElectrocardiogramRecordByPhysicalExamNumberRequest = exports.ElectrocardiogramRecordPageRequest = exports.GetElectrocardiogramRecordRequest = exports.ElectrocardiogramRecord = void 0;
|
|
|
+exports.UpdateElectrocardiogramExamInfoRecordRequest = exports.GetElectrocardiogramRecordByPhysicalExamNumberRequest = exports.ElectrocardiogramRecordPageRequest = exports.GetElectrocardiogramRecordRequest = exports.ElectrocardiogramRecord = void 0;
|
|
|
var healthExamBooking_m_1 = require("./healthExamBooking.m");
|
|
|
var exam_m_1 = require("./exam.m");
|
|
|
var authentication_m_1 = require("./authentication.m");
|
|
@@ -129,7 +129,7 @@ exports.GetElectrocardiogramRecordRequest = GetElectrocardiogramRecordRequest;
|
|
|
var ElectrocardiogramRecordPageRequest = /** @class */ (function (_super) {
|
|
|
__extends(ElectrocardiogramRecordPageRequest, _super);
|
|
|
function ElectrocardiogramRecordPageRequest(_a) {
|
|
|
- var state = _a.state, keyWord = _a.keyWord, startTime = _a.startTime, endTime = _a.endTime, _b = _a.pageIndex, pageIndex = _b === void 0 ? 0 : _b, _c = _a.pageSize, pageSize = _c === void 0 ? 0 : _c, token = _a.token;
|
|
|
+ var state = _a.state, keyWord = _a.keyWord, startTime = _a.startTime, endTime = _a.endTime, isQuerySubordinate = _a.isQuerySubordinate, _b = _a.pageIndex, pageIndex = _b === void 0 ? 0 : _b, _c = _a.pageSize, pageSize = _c === void 0 ? 0 : _c, token = _a.token;
|
|
|
var _this = _super.call(this, {
|
|
|
pageIndex: pageIndex,
|
|
|
pageSize: pageSize,
|
|
@@ -139,6 +139,7 @@ var ElectrocardiogramRecordPageRequest = /** @class */ (function (_super) {
|
|
|
_this.keyWord = keyWord;
|
|
|
_this.startTime = startTime;
|
|
|
_this.endTime = endTime;
|
|
|
+ _this.isQuerySubordinate = isQuerySubordinate || false;
|
|
|
_this.pageIndex = pageIndex || 0;
|
|
|
_this.pageSize = pageSize || 0;
|
|
|
_this.token = token;
|
|
@@ -149,6 +150,7 @@ var ElectrocardiogramRecordPageRequest = /** @class */ (function (_super) {
|
|
|
keyWord: map['KeyWord'],
|
|
|
startTime: map['StartTime'] !== null ? new Date(map['StartTime']) : null,
|
|
|
endTime: map['EndTime'] !== null ? new Date(map['EndTime']) : null,
|
|
|
+ isQuerySubordinate: map['IsQuerySubordinate'],
|
|
|
pageIndex: map['PageIndex'],
|
|
|
pageSize: map['PageSize'],
|
|
|
token: map['Token'],
|
|
@@ -164,6 +166,7 @@ var ElectrocardiogramRecordPageRequest = /** @class */ (function (_super) {
|
|
|
map['StartTime'] = JsonRpcUtils_1.default.dateFormat(this.startTime);
|
|
|
if (this.endTime != null)
|
|
|
map['EndTime'] = JsonRpcUtils_1.default.dateFormat(this.endTime);
|
|
|
+ map['IsQuerySubordinate'] = this.isQuerySubordinate;
|
|
|
return map;
|
|
|
};
|
|
|
return ElectrocardiogramRecordPageRequest;
|
|
@@ -194,3 +197,32 @@ var GetElectrocardiogramRecordByPhysicalExamNumberRequest = /** @class */ (funct
|
|
|
return GetElectrocardiogramRecordByPhysicalExamNumberRequest;
|
|
|
}(authentication_m_1.TokenRequest));
|
|
|
exports.GetElectrocardiogramRecordByPhysicalExamNumberRequest = GetElectrocardiogramRecordByPhysicalExamNumberRequest;
|
|
|
+var UpdateElectrocardiogramExamInfoRecordRequest = /** @class */ (function (_super) {
|
|
|
+ __extends(UpdateElectrocardiogramExamInfoRecordRequest, _super);
|
|
|
+ function UpdateElectrocardiogramExamInfoRecordRequest(_a) {
|
|
|
+ var code = _a.code, examData = _a.examData, token = _a.token;
|
|
|
+ var _this = _super.call(this, {
|
|
|
+ token: token,
|
|
|
+ }) || this;
|
|
|
+ _this.code = code;
|
|
|
+ _this.examData = examData;
|
|
|
+ _this.token = token;
|
|
|
+ return _this;
|
|
|
+ }
|
|
|
+ UpdateElectrocardiogramExamInfoRecordRequest.fromJson = function (map) {
|
|
|
+ return new UpdateElectrocardiogramExamInfoRecordRequest({ code: map['Code'],
|
|
|
+ examData: map['ExamData'],
|
|
|
+ token: map['Token'],
|
|
|
+ });
|
|
|
+ };
|
|
|
+ UpdateElectrocardiogramExamInfoRecordRequest.prototype.toJson = function () {
|
|
|
+ var map = _super.prototype.toJson.call(this);
|
|
|
+ if (this.code != null)
|
|
|
+ map['Code'] = this.code;
|
|
|
+ if (this.examData != null)
|
|
|
+ map['ExamData'] = this.examData;
|
|
|
+ return map;
|
|
|
+ };
|
|
|
+ return UpdateElectrocardiogramExamInfoRecordRequest;
|
|
|
+}(authentication_m_1.TokenRequest));
|
|
|
+exports.UpdateElectrocardiogramExamInfoRecordRequest = UpdateElectrocardiogramExamInfoRecordRequest;
|