UNPKG

@dotbase/hl7-v2-message

Version:

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

143 lines (142 loc) 3.63 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class ACC_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Accident Date/Time */ this.ACC_1 = { index: 0, identifier: "ACC_1", description: "Accident Date/Time", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Code */ this.ACC_2 = { index: 1, identifier: "ACC_2", description: "Accident Code", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Location */ this.ACC_3 = { index: 2, identifier: "ACC_3", description: "Accident Location", length: 25, isOptional: true, isRepeatable: false, value: "", }; /** * Auto Accident State */ this.ACC_4 = { index: 3, identifier: "ACC_4", description: "Auto Accident State", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Job Related Indicator */ this.ACC_5 = { index: 4, identifier: "ACC_5", description: "Accident Job Related Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Death Indicator */ this.ACC_6 = { index: 5, identifier: "ACC_6", description: "Accident Death Indicator", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Entered By */ this.ACC_7 = { index: 6, identifier: "ACC_7", description: "Entered By", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Description */ this.ACC_8 = { index: 7, identifier: "ACC_8", description: "Accident Description", length: 25, isOptional: true, isRepeatable: false, value: "", }; /** * Brought In By */ this.ACC_9 = { index: 8, identifier: "ACC_9", description: "Brought In By", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Police Notified Indicator */ this.ACC_10 = { index: 9, identifier: "ACC_10", description: "Police Notified Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Address */ this.ACC_11 = { index: 10, identifier: "ACC_11", description: "Accident Address", length: 250, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = ACC_Fields;