UNPKG

@dotbase/hl7-v2-message

Version:

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

203 lines (202 loc) 5.08 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 - UB92 */ this.UB2_1 = { index: 0, identifier: "UB2_1", description: "Set ID - UB92", 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: false, 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: 11, isOptional: true, isRepeatable: false, value: "", }; /** * Occurrence code and date */ this.UB2_7 = { index: 6, identifier: "UB2_7", description: "Occurrence code and date", length: 11, isOptional: true, isRepeatable: false, value: "", }; /** * Occurrence span code / dates */ this.UB2_8 = { index: 7, identifier: "UB2_8", description: "Occurrence span code / dates", length: 28, isOptional: true, isRepeatable: false, value: "", }; /** * UB92 locator 2 */ this.UB2_9 = { index: 8, identifier: "UB2_9", description: "UB92 locator 2", length: 29, isOptional: true, isRepeatable: false, value: "", }; /** * UB92 locator 11 */ this.UB2_10 = { index: 9, identifier: "UB2_10", description: "UB92 locator 11", length: 12, isOptional: true, isRepeatable: false, 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: false, value: "", }; /** * UB92 locator 49 */ this.UB2_13 = { index: 12, identifier: "UB2_13", description: "UB92 locator 49", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * UB92 locator 56 */ this.UB2_14 = { index: 13, identifier: "UB2_14", description: "UB92 locator 56", length: 14, isOptional: true, isRepeatable: false, 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: false, value: "", }; } } exports.default = UB2_Fields;