@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
251 lines (250 loc) • 6.4 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 GT1_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set id - guarantor
*/
this.GT1_1 = {
index: 0,
identifier: "GT1_1",
description: "Set id - guarantor",
length: 4,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Guarantor number
*/
this.GT1_2 = {
index: 1,
identifier: "GT1_2",
description: "Guarantor number",
length: 20,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor name
*/
this.GT1_3 = {
index: 2,
identifier: "GT1_3",
description: "Guarantor name",
length: 48,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Guarantor spouse name
*/
this.GT1_4 = {
index: 3,
identifier: "GT1_4",
description: "Guarantor spouse name",
length: 48,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor address
*/
this.GT1_5 = {
index: 4,
identifier: "GT1_5",
description: "Guarantor address",
length: 106,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor ph. num.- home
*/
this.GT1_6 = {
index: 5,
identifier: "GT1_6",
description: "Guarantor ph. num.- home",
length: 40,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor ph. num-business
*/
this.GT1_7 = {
index: 6,
identifier: "GT1_7",
description: "Guarantor ph. num-business",
length: 40,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor date of birth
*/
this.GT1_8 = {
index: 7,
identifier: "GT1_8",
description: "Guarantor date of birth",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor sex
*/
this.GT1_9 = {
index: 8,
identifier: "GT1_9",
description: "Guarantor sex",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor type
*/
this.GT1_10 = {
index: 9,
identifier: "GT1_10",
description: "Guarantor type",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor relationship
*/
this.GT1_11 = {
index: 10,
identifier: "GT1_11",
description: "Guarantor relationship",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor ssn
*/
this.GT1_12 = {
index: 11,
identifier: "GT1_12",
description: "Guarantor ssn",
length: 11,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor date - begin
*/
this.GT1_13 = {
index: 12,
identifier: "GT1_13",
description: "Guarantor date - begin",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor date - end
*/
this.GT1_14 = {
index: 13,
identifier: "GT1_14",
description: "Guarantor date - end",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor priority
*/
this.GT1_15 = {
index: 14,
identifier: "GT1_15",
description: "Guarantor priority",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor employer name
*/
this.GT1_16 = {
index: 15,
identifier: "GT1_16",
description: "Guarantor employer name",
length: 45,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor employer address
*/
this.GT1_17 = {
index: 16,
identifier: "GT1_17",
description: "Guarantor employer address",
length: 106,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor employ phone
*/
this.GT1_18 = {
index: 17,
identifier: "GT1_18",
description: "Guarantor employ phone ",
length: 40,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor employee id num
*/
this.GT1_19 = {
index: 18,
identifier: "GT1_19",
description: "Guarantor employee id num",
length: 20,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Guarantor employment status
*/
this.GT1_20 = {
index: 19,
identifier: "GT1_20",
description: "Guarantor employment status",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = GT1_Fields;