@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
83 lines (82 loc) • 2.19 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields"));
class AL1_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set ID - AL1
*/
this.AL1_1 = {
index: 0,
identifier: "AL1_1",
description: "Set ID - AL1",
length: 4,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Allergen Type Code
*/
this.AL1_2 = {
index: 1,
identifier: "AL1_2",
description: "Allergen Type Code",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Allergen Code/Mnemonic/Description
*/
this.AL1_3 = {
index: 2,
identifier: "AL1_3",
description: "Allergen Code/Mnemonic/Description",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Allergy Severity Code
*/
this.AL1_4 = {
index: 3,
identifier: "AL1_4",
description: "Allergy Severity Code",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Allergy Reaction Code
*/
this.AL1_5 = {
index: 4,
identifier: "AL1_5",
description: "Allergy Reaction Code",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Identification Date
*/
this.AL1_6 = {
index: 5,
identifier: "AL1_6",
description: "Identification Date",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
}
}
exports.default = AL1_Fields;