UNPKG

@dotbase/hl7-v2-message

Version:

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

263 lines (262 loc) 6.68 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class DG1_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Set ID - DG1 */ this.DG1_1 = { index: 0, identifier: "DG1_1", description: "Set ID - DG1", length: 4, isOptional: false, isRepeatable: false, value: "", }; /** * Diagnosis Coding Method */ this.DG1_2 = { index: 1, identifier: "DG1_2", description: "Diagnosis Coding Method", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosis Code - DG1 */ this.DG1_3 = { index: 2, identifier: "DG1_3", description: "Diagnosis Code - DG1", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosis Description */ this.DG1_4 = { index: 3, identifier: "DG1_4", description: "Diagnosis Description", length: 40, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosis Date/Time */ this.DG1_5 = { index: 4, identifier: "DG1_5", description: "Diagnosis Date/Time", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosis Type */ this.DG1_6 = { index: 5, identifier: "DG1_6", description: "Diagnosis Type", length: 2, isOptional: false, isRepeatable: false, value: "", }; /** * Major Diagnostic Category */ this.DG1_7 = { index: 6, identifier: "DG1_7", description: "Major Diagnostic Category", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnostic Related Group */ this.DG1_8 = { index: 7, identifier: "DG1_8", description: "Diagnostic Related Group", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * DRG Approval Indicator */ this.DG1_9 = { index: 8, identifier: "DG1_9", description: "DRG Approval Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * DRG Grouper Review Code */ this.DG1_10 = { index: 9, identifier: "DG1_10", description: "DRG Grouper Review Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Outlier Type */ this.DG1_11 = { index: 10, identifier: "DG1_11", description: "Outlier Type", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Outlier Days */ this.DG1_12 = { index: 11, identifier: "DG1_12", description: "Outlier Days", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Outlier Cost */ this.DG1_13 = { index: 12, identifier: "DG1_13", description: "Outlier Cost", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Grouper Version And Type */ this.DG1_14 = { index: 13, identifier: "DG1_14", description: "Grouper Version And Type", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosis Priority */ this.DG1_15 = { index: 14, identifier: "DG1_15", description: "Diagnosis Priority", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosing Clinician */ this.DG1_16 = { index: 15, identifier: "DG1_16", description: "Diagnosing Clinician", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Diagnosis Classification */ this.DG1_17 = { index: 16, identifier: "DG1_17", description: "Diagnosis Classification", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Confidential Indicator */ this.DG1_18 = { index: 17, identifier: "DG1_18", description: "Confidential Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Attestation Date/Time */ this.DG1_19 = { index: 18, identifier: "DG1_19", description: "Attestation Date/Time", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosis Identifier */ this.DG1_20 = { index: 19, identifier: "DG1_20", description: "Diagnosis Identifier", length: 427, isOptional: true, isRepeatable: false, value: "", }; /** * Diagnosis Action Code */ this.DG1_21 = { index: 20, identifier: "DG1_21", description: "Diagnosis Action Code", length: 1, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = DG1_Fields;