@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
275 lines (274 loc) • 7.08 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 PD1_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Living Dependency
*/
this.PD1_1 = {
index: 0,
identifier: "PD1_1",
description: "Living Dependency",
length: 2,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Living Arrangement
*/
this.PD1_2 = {
index: 1,
identifier: "PD1_2",
description: "Living Arrangement",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient Primary Facility
*/
this.PD1_3 = {
index: 2,
identifier: "PD1_3",
description: "Patient Primary Facility",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Patient Primary Care Provider Name and ID No.
*/
this.PD1_4 = {
index: 3,
identifier: "PD1_4",
description: "Patient Primary Care Provider Name and ID No.",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Student Indicator
*/
this.PD1_5 = {
index: 4,
identifier: "PD1_5",
description: "Student Indicator",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Handicap
*/
this.PD1_6 = {
index: 5,
identifier: "PD1_6",
description: "Handicap",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Living Will Code
*/
this.PD1_7 = {
index: 6,
identifier: "PD1_7",
description: "Living Will Code",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Organ Donor Code
*/
this.PD1_8 = {
index: 7,
identifier: "PD1_8",
description: "Organ Donor Code",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Separate Bill
*/
this.PD1_9 = {
index: 8,
identifier: "PD1_9",
description: "Separate Bill",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Duplicate Patient
*/
this.PD1_10 = {
index: 9,
identifier: "PD1_10",
description: "Duplicate Patient",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Publicity Code
*/
this.PD1_11 = {
index: 10,
identifier: "PD1_11",
description: "Publicity Code",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Protection Indicator
*/
this.PD1_12 = {
index: 11,
identifier: "PD1_12",
description: "Protection Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Protection Indicator Effective Date
*/
this.PD1_13 = {
index: 12,
identifier: "PD1_13",
description: "Protection Indicator Effective Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Place of Worship
*/
this.PD1_14 = {
index: 13,
identifier: "PD1_14",
description: "Place of Worship",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Advance Directive Code
*/
this.PD1_15 = {
index: 14,
identifier: "PD1_15",
description: "Advance Directive Code",
length: 705,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Immunization Registry Status
*/
this.PD1_16 = {
index: 15,
identifier: "PD1_16",
description: "Immunization Registry Status",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Immunization Registry Status Effective Date
*/
this.PD1_17 = {
index: 16,
identifier: "PD1_17",
description: "Immunization Registry Status Effective Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Publicity Code Effective Date
*/
this.PD1_18 = {
index: 17,
identifier: "PD1_18",
description: "Publicity Code Effective Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Military Branch
*/
this.PD1_19 = {
index: 18,
identifier: "PD1_19",
description: "Military Branch",
length: 5,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Military Rank/Grade
*/
this.PD1_20 = {
index: 19,
identifier: "PD1_20",
description: "Military Rank/Grade",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Military Status
*/
this.PD1_21 = {
index: 20,
identifier: "PD1_21",
description: "Military Status",
length: 3,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Advance Directive Last Verified Date
*/
this.PD1_22 = {
index: 21,
identifier: "PD1_22",
description: "Advance Directive Last Verified Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = PD1_Fields;