UNPKG

@dotbase/hl7-v2-message

Version:

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

93 lines (92 loc) 2.95 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 - Test/Observation (Numeric) */ class MFN_M08_Message extends Hl7Message_1.default { constructor() { super(...arguments); this.compounds = { MF_TEST_NUMERIC: { name: "MF_TEST_NUMERIC", 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_TEST_NUMERIC_MFE: { name: "MF_TEST_NUMERIC_MFE", type: "MFE", isOptional: false, isRepeatable: false, parentCompound: this.compounds.MF_TEST_NUMERIC, value: [] }, MF_TEST_NUMERIC_OM1: { name: "MF_TEST_NUMERIC_OM1", type: "OM1", isOptional: false, isRepeatable: false, parentCompound: this.compounds.MF_TEST_NUMERIC, value: [] }, MF_TEST_NUMERIC_OM2: { name: "MF_TEST_NUMERIC_OM2", type: "OM2", isOptional: true, isRepeatable: false, parentCompound: this.compounds.MF_TEST_NUMERIC, value: [] }, MF_TEST_NUMERIC_OM3: { name: "MF_TEST_NUMERIC_OM3", type: "OM3", isOptional: true, isRepeatable: false, parentCompound: this.compounds.MF_TEST_NUMERIC, value: [] }, MF_TEST_NUMERIC_OM4: { name: "MF_TEST_NUMERIC_OM4", type: "OM4", isOptional: true, isRepeatable: false, parentCompound: this.compounds.MF_TEST_NUMERIC, value: [] }, }; } get name() { return 'MFN_M08'; } get description() { return 'Master File Notification - Test/Observation (Numeric)'; } } exports.default = MFN_M08_Message;