@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
143 lines (142 loc) • 3.6 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 CM0_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set ID - CM0
*/
this.CM0_1 = {
index: 0,
identifier: "CM0_1",
description: "Set ID - CM0",
length: 4,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Sponsor Study ID
*/
this.CM0_2 = {
index: 1,
identifier: "CM0_2",
description: "Sponsor Study ID",
length: 60,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Alternate Study ID
*/
this.CM0_3 = {
index: 2,
identifier: "CM0_3",
description: "Alternate Study ID",
length: 60,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Title of Study
*/
this.CM0_4 = {
index: 3,
identifier: "CM0_4",
description: "Title of Study",
length: 300,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Chairman of Study
*/
this.CM0_5 = {
index: 4,
identifier: "CM0_5",
description: "Chairman of Study",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Last IRB Approval Date
*/
this.CM0_6 = {
index: 5,
identifier: "CM0_6",
description: "Last IRB Approval Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Total Accrual to Date
*/
this.CM0_7 = {
index: 6,
identifier: "CM0_7",
description: "Total Accrual to Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Last Accrual Date
*/
this.CM0_8 = {
index: 7,
identifier: "CM0_8",
description: "Last Accrual Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Contact for Study
*/
this.CM0_9 = {
index: 8,
identifier: "CM0_9",
description: "Contact for Study",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Contacts Telephone Number
*/
this.CM0_10 = {
index: 9,
identifier: "CM0_10",
description: "Contacts Telephone Number",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Contacts Address
*/
this.CM0_11 = {
index: 10,
identifier: "CM0_11",
description: "Contacts Address",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
}
}
exports.default = CM0_Fields;