UNPKG

@dotbase/hl7-v2-message

Version:

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

179 lines (178 loc) 4.53 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class ROL_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Role Instance ID */ this.ROL_1 = { index: 0, identifier: "ROL_1", description: "Role Instance ID", length: undefined, isOptional: false, isRepeatable: false, value: "", }; /** * Action Code */ this.ROL_2 = { index: 1, identifier: "ROL_2", description: "Action Code", length: 2, isOptional: false, isRepeatable: false, value: "", }; /** * Role-ROL */ this.ROL_3 = { index: 2, identifier: "ROL_3", description: "Role-ROL", length: undefined, isOptional: false, isRepeatable: false, value: "", }; /** * Role Person */ this.ROL_4 = { index: 3, identifier: "ROL_4", description: "Role Person", length: undefined, isOptional: false, isRepeatable: true, value: "", }; /** * Role Begin Date/Time */ this.ROL_5 = { index: 4, identifier: "ROL_5", description: "Role Begin Date/Time", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Role End Date/Time */ this.ROL_6 = { index: 5, identifier: "ROL_6", description: "Role End Date/Time", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Role Duration */ this.ROL_7 = { index: 6, identifier: "ROL_7", description: "Role Duration", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Role Action Reason */ this.ROL_8 = { index: 7, identifier: "ROL_8", description: "Role Action Reason", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Provider Type */ this.ROL_9 = { index: 8, identifier: "ROL_9", description: "Provider Type", length: undefined, isOptional: true, isRepeatable: true, value: "", }; /** * Organization Unit Type */ this.ROL_10 = { index: 9, identifier: "ROL_10", description: "Organization Unit Type", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Office/Home Address/Birthplace */ this.ROL_11 = { index: 10, identifier: "ROL_11", description: "Office/Home Address/Birthplace", length: undefined, isOptional: true, isRepeatable: true, value: "", }; /** * Phone */ this.ROL_12 = { index: 11, identifier: "ROL_12", description: "Phone ", length: undefined, isOptional: true, isRepeatable: true, value: "", }; /** * Persons Location */ this.ROL_13 = { index: 12, identifier: "ROL_13", description: "Persons Location", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Organization */ this.ROL_14 = { index: 13, identifier: "ROL_14", description: "Organization", length: undefined, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = ROL_Fields;