@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
155 lines (154 loc) • 3.9 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: 90,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Patient Primary Care Provider Name & ID No.
*/
this.PD1_4 = {
index: 3,
identifier: "PD1_4",
description: "Patient Primary Care Provider Name & ID No.",
length: 90,
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
*/
this.PD1_7 = {
index: 6,
identifier: "PD1_7",
description: "Living Will",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Organ Donor
*/
this.PD1_8 = {
index: 7,
identifier: "PD1_8",
description: "Organ Donor",
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: 20,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Publicity Code
*/
this.PD1_11 = {
index: 10,
identifier: "PD1_11",
description: "Publicity Code",
length: 80,
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: "",
};
}
}
exports.default = PD1_Fields;