wt2doc
Version:
WebTemplate to Asciidoc documentation - a util by Bifrost for Bifrost
26 lines • 750 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDataValue = exports.isSection = exports.isEntry = void 0;
function isEntry(rmType) {
return ['OBSERVATION', 'EVALUATION', 'INSTRUCTION', 'ACTION'].includes(rmType);
}
exports.isEntry = isEntry;
function isSection(rmType) {
return ['SECTION'].includes(rmType);
}
exports.isSection = isSection;
function isDataValue(rmType) {
return [
'DV_CODED_TEXT',
'DV_TEXT',
'DV_DATE_TIME',
'DV_ORDINAL',
'DV_COUNT',
'DV_DURATION',
'DV_QUANTITY',
'DV_DATE',
'DV_BOOLEAN',
].includes(rmType);
}
exports.isDataValue = isDataValue;
//# sourceMappingURL=isEntry.js.map