"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "vitals", {
    enumerable: true,
    get: function() {
        return vitals;
    }
});
const _express = /*#__PURE__*/ _interop_require_default(require("express"));
const _crudHelpers = require("@tamanu/shared/utils/crudHelpers");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const vitals = _express.default.Router();
// Notes: vitals table is legacy. You should read vitals from surveys
vitals.get('/:id', (0, _crudHelpers.simpleGet)('Vitals', {
    auditAccess: true
}));
vitals.put('/:id', (0, _crudHelpers.simplePut)('Vitals'));
vitals.post('/$', (0, _crudHelpers.simplePost)('Vitals'));

//# sourceMappingURL=vitals.js.map