"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "diagnosis", {
    enumerable: true,
    get: function() {
        return diagnosis;
    }
});
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 diagnosis = _express.default.Router();
diagnosis.get('/:id', (0, _crudHelpers.simpleGet)('EncounterDiagnosis', {
    auditAccess: true
}));
diagnosis.put('/:id', (0, _crudHelpers.simplePut)('EncounterDiagnosis'));
diagnosis.post('/', (0, _crudHelpers.simplePost)('EncounterDiagnosis'));

//# sourceMappingURL=diagnosis.js.map