"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaginatedListPatient = void 0;
const Patient_1 = require("./Patient");
class PaginatedListPatient {
    constructor(json) {
        var _a;
        Object.assign(this, Object.assign(Object.assign({}, json), { rows: (_a = json.rows) === null || _a === void 0 ? void 0 : _a.map((r) => new Patient_1.Patient(r)) }));
    }
}
exports.PaginatedListPatient = PaginatedListPatient;
//# sourceMappingURL=PaginatedListPatient.js.map