UNPKG

@dotbase/hl7-v2-message

Version:

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

215 lines (214 loc) 5.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class UB2_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Set ID - UB2 */ this.UB2_1 = { index: 0, identifier: "UB2_1", description: "Set ID - UB2", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Co-Insurance Days */ this.UB2_2 = { index: 1, identifier: "UB2_2", description: "Co-Insurance Days", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Condition Code */ this.UB2_3 = { index: 2, identifier: "UB2_3", description: "Condition Code", length: 2, isOptional: true, isRepeatable: true, value: "", }; /** * Covered Days */ this.UB2_4 = { index: 3, identifier: "UB2_4", description: "Covered Days", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Non-Covered Days */ this.UB2_5 = { index: 4, identifier: "UB2_5", description: "Non-Covered Days", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Value Amount and Code */ this.UB2_6 = { index: 5, identifier: "UB2_6", description: "Value Amount and Code", length: 41, isOptional: true, isRepeatable: true, value: "", }; /** * Occurrence Code and Date */ this.UB2_7 = { index: 6, identifier: "UB2_7", description: "Occurrence Code and Date", length: 259, isOptional: true, isRepeatable: true, value: "", }; /** * Occurrence Span Code/Dates */ this.UB2_8 = { index: 7, identifier: "UB2_8", description: "Occurrence Span Code/Dates", length: 268, isOptional: true, isRepeatable: true, value: "", }; /** * UB92 Locator 2 */ this.UB2_9 = { index: 8, identifier: "UB2_9", description: "UB92 Locator 2", length: 29, isOptional: true, isRepeatable: true, value: "", }; /** * UB92 Locator 11 */ this.UB2_10 = { index: 9, identifier: "UB2_10", description: "UB92 Locator 11", length: 12, isOptional: true, isRepeatable: true, value: "", }; /** * UB92 Locator 31 */ this.UB2_11 = { index: 10, identifier: "UB2_11", description: "UB92 Locator 31", length: 5, isOptional: true, isRepeatable: false, value: "", }; /** * Document Control Number */ this.UB2_12 = { index: 11, identifier: "UB2_12", description: "Document Control Number", length: 23, isOptional: true, isRepeatable: true, value: "", }; /** * UB92 Locator 49 */ this.UB2_13 = { index: 12, identifier: "UB2_13", description: "UB92 Locator 49", length: 4, isOptional: true, isRepeatable: true, value: "", }; /** * UB92 Locator 56 */ this.UB2_14 = { index: 13, identifier: "UB2_14", description: "UB92 Locator 56", length: 14, isOptional: true, isRepeatable: true, value: "", }; /** * UB92 Locator 57 */ this.UB2_15 = { index: 14, identifier: "UB2_15", description: "UB92 Locator 57", length: 27, isOptional: true, isRepeatable: false, value: "", }; /** * UB92 Locator 78 */ this.UB2_16 = { index: 15, identifier: "UB2_16", description: "UB92 Locator 78", length: 2, isOptional: true, isRepeatable: true, value: "", }; /** * Special Visit Count */ this.UB2_17 = { index: 16, identifier: "UB2_17", description: "Special Visit Count", length: 3, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = UB2_Fields;