UNPKG

@dotbase/hl7-v2-message

Version:

Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.

77 lines (76 loc) 2.46 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Message_1 = tslib_1.__importDefault(require("../../../model/Hl7Message")); /** * Master File Notification - Clinical Study without Phases but with Schedules */ class MFN_M07_Message extends Hl7Message_1.default { constructor() { super(...arguments); this.compounds = { MF_CLIN_STUDY_SCHED: { name: "MF_CLIN_STUDY_SCHED", isOptional: false, isRepeatable: true, }, }; this.segments = { MSH: { name: "MSH", type: "MSH", isOptional: false, isRepeatable: false, value: [] }, SFT: { name: "SFT", type: "SFT", isOptional: true, isRepeatable: true, value: [] }, UAC: { name: "UAC", type: "UAC", isOptional: true, isRepeatable: false, value: [] }, MFI: { name: "MFI", type: "MFI", isOptional: false, isRepeatable: false, value: [] }, MF_CLIN_STUDY_SCHED_MFE: { name: "MF_CLIN_STUDY_SCHED_MFE", type: "MFE", isOptional: false, isRepeatable: false, parentCompound: this.compounds.MF_CLIN_STUDY_SCHED, value: [] }, MF_CLIN_STUDY_SCHED_CM0: { name: "MF_CLIN_STUDY_SCHED_CM0", type: "CM0", isOptional: false, isRepeatable: false, parentCompound: this.compounds.MF_CLIN_STUDY_SCHED, value: [] }, MF_CLIN_STUDY_SCHED_CM2: { name: "MF_CLIN_STUDY_SCHED_CM2", type: "CM2", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_CLIN_STUDY_SCHED, value: [] }, }; } get name() { return 'MFN_M07'; } get description() { return 'Master File Notification - Clinical Study without Phases but with Schedules'; } } exports.default = MFN_M07_Message;