UNPKG

@dotbase/hl7-v2-message

Version:

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

155 lines (154 loc) 3.9 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class AIP_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Set ID - AIP */ this.AIP_1 = { index: 0, identifier: "AIP_1", description: "Set ID - AIP", length: 4, isOptional: false, isRepeatable: false, value: "", }; /** * Segment Action Code */ this.AIP_2 = { index: 1, identifier: "AIP_2", description: "Segment Action Code", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Personnel Resource ID */ this.AIP_3 = { index: 2, identifier: "AIP_3", description: "Personnel Resource ID", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Resource Type */ this.AIP_4 = { index: 3, identifier: "AIP_4", description: "Resource Type", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Resource Group */ this.AIP_5 = { index: 4, identifier: "AIP_5", description: "Resource Group", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Start Date/Time */ this.AIP_6 = { index: 5, identifier: "AIP_6", description: "Start Date/Time", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Start Date/Time Offset */ this.AIP_7 = { index: 6, identifier: "AIP_7", description: "Start Date/Time Offset", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Start Date/Time Offset Units */ this.AIP_8 = { index: 7, identifier: "AIP_8", description: "Start Date/Time Offset Units", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Duration */ this.AIP_9 = { index: 8, identifier: "AIP_9", description: "Duration", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Duration Units */ this.AIP_10 = { index: 9, identifier: "AIP_10", description: "Duration Units", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Allow Substitution Code */ this.AIP_11 = { index: 10, identifier: "AIP_11", description: "Allow Substitution Code", length: 10, isOptional: true, isRepeatable: false, value: "", }; /** * Filler Status Code */ this.AIP_12 = { index: 11, identifier: "AIP_12", description: "Filler Status Code", length: 250, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = AIP_Fields;