@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
107 lines (106 loc) • 2.82 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields"));
class DB1_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set ID - DB1
*/
this.DB1_1 = {
index: 0,
identifier: "DB1_1",
description: "Set ID - DB1",
length: 4,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Disabled Person Code
*/
this.DB1_2 = {
index: 1,
identifier: "DB1_2",
description: "Disabled Person Code",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Disabled Person Identifier
*/
this.DB1_3 = {
index: 2,
identifier: "DB1_3",
description: "Disabled Person Identifier",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Disability Indicator
*/
this.DB1_4 = {
index: 3,
identifier: "DB1_4",
description: "Disability Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Disability Start Date
*/
this.DB1_5 = {
index: 4,
identifier: "DB1_5",
description: "Disability Start Date",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Disability End Date
*/
this.DB1_6 = {
index: 5,
identifier: "DB1_6",
description: "Disability End Date",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Disability Return to Work Date
*/
this.DB1_7 = {
index: 6,
identifier: "DB1_7",
description: "Disability Return to Work Date",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Disability Unable to Work Date
*/
this.DB1_8 = {
index: 7,
identifier: "DB1_8",
description: "Disability Unable to Work Date",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = DB1_Fields;