@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
95 lines (94 loc) • 2.43 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields"));
class CTD_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Contact Role
*/
this.CTD_1 = {
index: 0,
identifier: "CTD_1",
description: "Contact Role",
length: 705,
isOptional: false,
isRepeatable: true,
value: "",
};
/**
* Contact Name
*/
this.CTD_2 = {
index: 1,
identifier: "CTD_2",
description: "Contact Name",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Contact Address
*/
this.CTD_3 = {
index: 2,
identifier: "CTD_3",
description: "Contact Address",
length: 2915,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Contact Location
*/
this.CTD_4 = {
index: 3,
identifier: "CTD_4",
description: "Contact Location",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Contact Communication Information
*/
this.CTD_5 = {
index: 4,
identifier: "CTD_5",
description: "Contact Communication Information",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Preferred Method of Contact
*/
this.CTD_6 = {
index: 5,
identifier: "CTD_6",
description: "Preferred Method of Contact",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Contact Identifiers
*/
this.CTD_7 = {
index: 6,
identifier: "CTD_7",
description: "Contact Identifiers",
length: 100,
isOptional: true,
isRepeatable: true,
value: "",
};
}
}
exports.default = CTD_Fields;