UNPKG

@dotbase/hl7-v2-message

Version:

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

155 lines (154 loc) 4 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: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Code */ this.ACC_2 = { index: 1, identifier: "ACC_2", description: "Accident Code", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Location */ this.ACC_3 = { index: 2, identifier: "ACC_3", description: "Accident Location", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Auto Accident State */ this.ACC_4 = { index: 3, identifier: "ACC_4", description: "Auto Accident State", length: undefined, 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: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Entered By */ this.ACC_7 = { index: 6, identifier: "ACC_7", description: "Entered By", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Accident Description */ this.ACC_8 = { index: 7, identifier: "ACC_8", description: "Accident Description", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Brought In By */ this.ACC_9 = { index: 8, identifier: "ACC_9", description: "Brought In By", length: undefined, 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: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Degree of patient liability */ this.ACC_12 = { index: 11, identifier: "ACC_12", description: "Degree of patient liability", length: undefined, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = ACC_Fields;