@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
203 lines (202 loc) • 4.97 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 STF_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* STF - primary key value
*/
this.STF_1 = {
index: 0,
identifier: "STF_1",
description: "STF - primary key value",
length: 60,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Staff ID Code
*/
this.STF_2 = {
index: 1,
identifier: "STF_2",
description: "Staff ID Code",
length: 60,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Staff Name
*/
this.STF_3 = {
index: 2,
identifier: "STF_3",
description: "Staff Name",
length: 48,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Staff Type
*/
this.STF_4 = {
index: 3,
identifier: "STF_4",
description: "Staff Type",
length: 2,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Sex
*/
this.STF_5 = {
index: 4,
identifier: "STF_5",
description: "Sex",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Date of Birth
*/
this.STF_6 = {
index: 5,
identifier: "STF_6",
description: "Date of Birth",
length: 26,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Active / inactive
*/
this.STF_7 = {
index: 6,
identifier: "STF_7",
description: "Active / inactive",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Department
*/
this.STF_8 = {
index: 7,
identifier: "STF_8",
description: "Department",
length: 200,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Service
*/
this.STF_9 = {
index: 8,
identifier: "STF_9",
description: "Service",
length: 200,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Phone
*/
this.STF_10 = {
index: 9,
identifier: "STF_10",
description: "Phone",
length: 40,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Office / home address
*/
this.STF_11 = {
index: 10,
identifier: "STF_11",
description: "Office / home address",
length: 106,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Activation Date
*/
this.STF_12 = {
index: 11,
identifier: "STF_12",
description: "Activation Date",
length: 19,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Inactivation Date
*/
this.STF_13 = {
index: 12,
identifier: "STF_13",
description: "Inactivation Date",
length: 19,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Backup Person ID
*/
this.STF_14 = {
index: 13,
identifier: "STF_14",
description: "Backup Person ID",
length: 60,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* E-mail Address
*/
this.STF_15 = {
index: 14,
identifier: "STF_15",
description: "E-mail Address",
length: 40,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Preferred method of Contact
*/
this.STF_16 = {
index: 15,
identifier: "STF_16",
description: "Preferred method of Contact",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = STF_Fields;