@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
47 lines (46 loc) • 1.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields"));
class MRG_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Prior patient id - internal
*/
this.MRG_1 = {
index: 0,
identifier: "MRG_1",
description: "Prior patient id - internal",
length: 16,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Prior alternate patient id
*/
this.MRG_2 = {
index: 1,
identifier: "MRG_2",
description: "Prior alternate patient id",
length: 16,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Prior patient account number
*/
this.MRG_3 = {
index: 2,
identifier: "MRG_3",
description: "Prior patient account number",
length: 20,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = MRG_Fields;