@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
479 lines (478 loc) • 12 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 PID_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set ID - PID
*/
this.PID_1 = {
index: 0,
identifier: "PID_1",
description: "Set ID - PID",
length: 4,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient ID
*/
this.PID_2 = {
index: 1,
identifier: "PID_2",
description: "Patient ID",
length: 20,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient Identifier List
*/
this.PID_3 = {
index: 2,
identifier: "PID_3",
description: "Patient Identifier List",
length: 250,
isOptional: false,
isRepeatable: true,
value: "",
};
/**
* Alternate Patient ID - PID
*/
this.PID_4 = {
index: 3,
identifier: "PID_4",
description: "Alternate Patient ID - PID",
length: 20,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Patient Name
*/
this.PID_5 = {
index: 4,
identifier: "PID_5",
description: "Patient Name",
length: 250,
isOptional: false,
isRepeatable: true,
value: "",
};
/**
* Mothers Maiden Name
*/
this.PID_6 = {
index: 5,
identifier: "PID_6",
description: "Mothers Maiden Name",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Date/Time of Birth
*/
this.PID_7 = {
index: 6,
identifier: "PID_7",
description: "Date/Time of Birth",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Administrative Sex
*/
this.PID_8 = {
index: 7,
identifier: "PID_8",
description: "Administrative Sex",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient Alias
*/
this.PID_9 = {
index: 8,
identifier: "PID_9",
description: "Patient Alias",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Race
*/
this.PID_10 = {
index: 9,
identifier: "PID_10",
description: "Race",
length: 705,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Patient Address
*/
this.PID_11 = {
index: 10,
identifier: "PID_11",
description: "Patient Address",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* County Code
*/
this.PID_12 = {
index: 11,
identifier: "PID_12",
description: "County Code",
length: 4,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Phone Number - Home
*/
this.PID_13 = {
index: 12,
identifier: "PID_13",
description: "Phone Number - Home",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Phone Number - Business
*/
this.PID_14 = {
index: 13,
identifier: "PID_14",
description: "Phone Number - Business",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Primary Language
*/
this.PID_15 = {
index: 14,
identifier: "PID_15",
description: "Primary Language",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Marital Status
*/
this.PID_16 = {
index: 15,
identifier: "PID_16",
description: "Marital Status",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Religion
*/
this.PID_17 = {
index: 16,
identifier: "PID_17",
description: "Religion",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient Account Number
*/
this.PID_18 = {
index: 17,
identifier: "PID_18",
description: "Patient Account Number",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* SSN Number - Patient
*/
this.PID_19 = {
index: 18,
identifier: "PID_19",
description: "SSN Number - Patient",
length: 16,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Drivers License Number - Patient
*/
this.PID_20 = {
index: 19,
identifier: "PID_20",
description: "Drivers License Number - Patient",
length: 25,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Mothers Identifier
*/
this.PID_21 = {
index: 20,
identifier: "PID_21",
description: "Mothers Identifier",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Ethnic Group
*/
this.PID_22 = {
index: 21,
identifier: "PID_22",
description: "Ethnic Group",
length: 705,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Birth Place
*/
this.PID_23 = {
index: 22,
identifier: "PID_23",
description: "Birth Place",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Multiple Birth Indicator
*/
this.PID_24 = {
index: 23,
identifier: "PID_24",
description: "Multiple Birth Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Birth Order
*/
this.PID_25 = {
index: 24,
identifier: "PID_25",
description: "Birth Order",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Citizenship
*/
this.PID_26 = {
index: 25,
identifier: "PID_26",
description: "Citizenship",
length: 705,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Veterans Military Status
*/
this.PID_27 = {
index: 26,
identifier: "PID_27",
description: "Veterans Military Status",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Nationality
*/
this.PID_28 = {
index: 27,
identifier: "PID_28",
description: "Nationality",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient Death Date and Time
*/
this.PID_29 = {
index: 28,
identifier: "PID_29",
description: "Patient Death Date and Time",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient Death Indicator
*/
this.PID_30 = {
index: 29,
identifier: "PID_30",
description: "Patient Death Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Identity Unknown Indicator
*/
this.PID_31 = {
index: 30,
identifier: "PID_31",
description: "Identity Unknown Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Identity Reliability Code
*/
this.PID_32 = {
index: 31,
identifier: "PID_32",
description: "Identity Reliability Code",
length: 20,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Last Update Date/Time
*/
this.PID_33 = {
index: 32,
identifier: "PID_33",
description: "Last Update Date/Time",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Last Update Facility
*/
this.PID_34 = {
index: 33,
identifier: "PID_34",
description: "Last Update Facility",
length: 241,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Species Code
*/
this.PID_35 = {
index: 34,
identifier: "PID_35",
description: "Species Code",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Breed Code
*/
this.PID_36 = {
index: 35,
identifier: "PID_36",
description: "Breed Code",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Strain
*/
this.PID_37 = {
index: 36,
identifier: "PID_37",
description: "Strain",
length: 80,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Production Class Code
*/
this.PID_38 = {
index: 37,
identifier: "PID_38",
description: "Production Class Code",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Tribal Citizenship
*/
this.PID_39 = {
index: 38,
identifier: "PID_39",
description: "Tribal Citizenship",
length: 705,
isOptional: true,
isRepeatable: true,
value: "",
};
}
}
exports.default = PID_Fields;