@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
155 lines (154 loc) • 3.92 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields"));
class ERR_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Error Code and Location
*/
this.ERR_1 = {
index: 0,
identifier: "ERR_1",
description: "Error Code and Location",
length: 493,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Error Location
*/
this.ERR_2 = {
index: 1,
identifier: "ERR_2",
description: "Error Location",
length: 18,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* HL7 Error Code
*/
this.ERR_3 = {
index: 2,
identifier: "ERR_3",
description: "HL7 Error Code",
length: 705,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Severity
*/
this.ERR_4 = {
index: 3,
identifier: "ERR_4",
description: "Severity",
length: 2,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Application Error Code
*/
this.ERR_5 = {
index: 4,
identifier: "ERR_5",
description: "Application Error Code",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Application Error Parameter
*/
this.ERR_6 = {
index: 5,
identifier: "ERR_6",
description: "Application Error Parameter",
length: 80,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Diagnostic Information
*/
this.ERR_7 = {
index: 6,
identifier: "ERR_7",
description: "Diagnostic Information",
length: 2048,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* User Message
*/
this.ERR_8 = {
index: 7,
identifier: "ERR_8",
description: "User Message",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Inform Person Indicator
*/
this.ERR_9 = {
index: 8,
identifier: "ERR_9",
description: "Inform Person Indicator",
length: 20,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Override Type
*/
this.ERR_10 = {
index: 9,
identifier: "ERR_10",
description: "Override Type",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Override Reason Code
*/
this.ERR_11 = {
index: 10,
identifier: "ERR_11",
description: "Override Reason Code",
length: 705,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Help Desk Contact Point
*/
this.ERR_12 = {
index: 11,
identifier: "ERR_12",
description: "Help Desk Contact Point",
length: 652,
isOptional: true,
isRepeatable: true,
value: "",
};
}
}
exports.default = ERR_Fields;