UNPKG

@dotbase/hl7-v2-message

Version:

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

203 lines (202 loc) 5.34 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class REL_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Set ID –REL */ this.REL_1 = { index: 0, identifier: "REL_1", description: "Set ID –REL", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Relationship Type */ this.REL_2 = { index: 1, identifier: "REL_2", description: "Relationship Type", length: 705, isOptional: false, isRepeatable: false, value: "", }; /** * This Relationship Instance Identifier */ this.REL_3 = { index: 2, identifier: "REL_3", description: "This Relationship Instance Identifier", length: 60, isOptional: false, isRepeatable: false, value: "", }; /** * Source Information Instance Identifier */ this.REL_4 = { index: 3, identifier: "REL_4", description: "Source Information Instance Identifier", length: 60, isOptional: false, isRepeatable: false, value: "", }; /** * Target Information Instance Identifier */ this.REL_5 = { index: 4, identifier: "REL_5", description: "Target Information Instance Identifier", length: 60, isOptional: false, isRepeatable: false, value: "", }; /** * Asserting Entity Instance ID */ this.REL_6 = { index: 5, identifier: "REL_6", description: "Asserting Entity Instance ID", length: 60, isOptional: true, isRepeatable: false, value: "", }; /** * Asserting Person */ this.REL_7 = { index: 6, identifier: "REL_7", description: "Asserting Person", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Asserting Organization */ this.REL_8 = { index: 7, identifier: "REL_8", description: "Asserting Organization", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Assertor Address */ this.REL_9 = { index: 8, identifier: "REL_9", description: "Assertor Address", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Assertor Contact */ this.REL_10 = { index: 9, identifier: "REL_10", description: "Assertor Contact", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Assertion Date Range */ this.REL_11 = { index: 10, identifier: "REL_11", description: "Assertion Date Range", length: 53, isOptional: true, isRepeatable: false, value: "", }; /** * Negation Indicator */ this.REL_12 = { index: 11, identifier: "REL_12", description: "Negation Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Certainty of Relationship */ this.REL_13 = { index: 12, identifier: "REL_13", description: "Certainty of Relationship", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Priority No */ this.REL_14 = { index: 13, identifier: "REL_14", description: "Priority No", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Priority Sequence No (rel preference for consideration) */ this.REL_15 = { index: 14, identifier: "REL_15", description: "Priority Sequence No (rel preference for consideration)", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Separability Indicator */ this.REL_16 = { index: 15, identifier: "REL_16", description: "Separability Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = REL_Fields;