UNPKG

@dotbase/hl7-v2-message

Version:

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

125 lines (124 loc) 3.87 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 for Staff/Practitioner */ class MFN_M02_Message extends Hl7Message_1.default { constructor() { super(...arguments); this.compounds = { MF_STAFF: { name: "MF_STAFF", 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_STAFF_MFE: { name: "MF_STAFF_MFE", type: "MFE", isOptional: false, isRepeatable: false, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_STF: { name: "MF_STAFF_STF", type: "STF", isOptional: false, isRepeatable: false, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_PRA: { name: "MF_STAFF_PRA", type: "PRA", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_ORG: { name: "MF_STAFF_ORG", type: "ORG", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_AFF: { name: "MF_STAFF_AFF", type: "AFF", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_LAN: { name: "MF_STAFF_LAN", type: "LAN", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_EDU: { name: "MF_STAFF_EDU", type: "EDU", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_CER: { name: "MF_STAFF_CER", type: "CER", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_STAFF, value: [] }, MF_STAFF_NTE: { name: "MF_STAFF_NTE", type: "NTE", isOptional: true, isRepeatable: true, parentCompound: this.compounds.MF_STAFF, value: [] }, }; } get name() { return 'MFN_M02'; } get description() { return 'Master File Notification for Staff/Practitioner'; } } exports.default = MFN_M02_Message;