UNPKG

@dotbase/hl7-v2-message

Version:

Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.

83 lines (82 loc) 2.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class CNS_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Starting Notification Reference Number */ this.CNS_1 = { index: 0, identifier: "CNS_1", description: "Starting Notification Reference Number", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Ending Notification Reference Number */ this.CNS_2 = { index: 1, identifier: "CNS_2", description: "Ending Notification Reference Number", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Starting Notification Date/Time */ this.CNS_3 = { index: 2, identifier: "CNS_3", description: "Starting Notification Date/Time", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Ending Notification Date/Time */ this.CNS_4 = { index: 3, identifier: "CNS_4", description: "Ending Notification Date/Time", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Starting Notification Code */ this.CNS_5 = { index: 4, identifier: "CNS_5", description: "Starting Notification Code", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Ending Notification Code */ this.CNS_6 = { index: 5, identifier: "CNS_6", description: "Ending Notification Code", length: 250, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = CNS_Fields;