UNPKG

@dotbase/hl7-v2-message

Version:

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

95 lines (94 loc) 2.38 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class EVN_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Event Type Code */ this.EVN_1 = { index: 0, identifier: "EVN_1", description: "Event Type Code", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Recorded Date/Time */ this.EVN_2 = { index: 1, identifier: "EVN_2", description: "Recorded Date/Time", length: 24, isOptional: false, isRepeatable: false, value: "", }; /** * Date/Time Planned Event */ this.EVN_3 = { index: 2, identifier: "EVN_3", description: "Date/Time Planned Event", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Event Reason Code */ this.EVN_4 = { index: 3, identifier: "EVN_4", description: "Event Reason Code", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Operator ID */ this.EVN_5 = { index: 4, identifier: "EVN_5", description: "Operator ID", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Event Occurred */ this.EVN_6 = { index: 5, identifier: "EVN_6", description: "Event Occurred", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Event Facility */ this.EVN_7 = { index: 6, identifier: "EVN_7", description: "Event Facility", length: 241, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = EVN_Fields;