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.66 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 (9) */ this.UB2_2 = { index: 1, identifier: "UB2_2", description: "Co-Insurance Days (9)", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Condition Code (24-30) */ this.UB2_3 = { index: 2, identifier: "UB2_3", description: "Condition Code (24-30)", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Covered Days (7) */ this.UB2_4 = { index: 3, identifier: "UB2_4", description: "Covered Days (7)", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Non-Covered Days (8) */ this.UB2_5 = { index: 4, identifier: "UB2_5", description: "Non-Covered Days (8)", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Value Amount & Code */ this.UB2_6 = { index: 5, identifier: "UB2_6", description: "Value Amount & Code", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Occurrence Code & Date (32-35) */ this.UB2_7 = { index: 6, identifier: "UB2_7", description: "Occurrence Code & Date (32-35)", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Occurrence Span Code/Dates (36) */ this.UB2_8 = { index: 7, identifier: "UB2_8", description: "Occurrence Span Code/Dates (36)", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Uniform Billing Locator 2 (State) */ this.UB2_9 = { index: 8, identifier: "UB2_9", description: "Uniform Billing Locator 2 (State)", length: 29, isOptional: true, isRepeatable: false, value: "", }; /** * Uniform Billing 11 (State) */ this.UB2_10 = { index: 9, identifier: "UB2_10", description: "Uniform Billing 11 (State)", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Uniform Billing 31 (National) */ this.UB2_11 = { index: 10, identifier: "UB2_11", description: "Uniform Billing 31 (National)", 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: "", }; /** * Uniform Billing 49 (National) */ this.UB2_13 = { index: 12, identifier: "UB2_13", description: "Uniform Billing 49 (National)", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Uniform Billing 56 (State) */ this.UB2_14 = { index: 13, identifier: "UB2_14", description: "Uniform Billing 56 (State)", length: 14, isOptional: true, isRepeatable: false, value: "", }; /** * Uniform Billing 57 (National) */ this.UB2_15 = { index: 14, identifier: "UB2_15", description: "Uniform Billing 57 (National)", length: 27, isOptional: true, isRepeatable: false, value: "", }; /** * Uniform Billing 78 (State) */ this.UB2_16 = { index: 15, identifier: "UB2_16", description: "Uniform Billing 78 (State)", length: 2, isOptional: true, isRepeatable: false, 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;