UNPKG

@dotbase/hl7-v2-message

Version:

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

143 lines (142 loc) 3.73 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class SHP_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Shipment ID */ this.SHP_1 = { index: 0, identifier: "SHP_1", description: "Shipment ID", length: undefined, isOptional: false, isRepeatable: false, value: "", }; /** * Internal Shipment ID */ this.SHP_2 = { index: 1, identifier: "SHP_2", description: "Internal Shipment ID", length: undefined, isOptional: true, isRepeatable: true, value: "", }; /** * Shipment Status */ this.SHP_3 = { index: 2, identifier: "SHP_3", description: "Shipment Status", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Shipment Status Date/Time */ this.SHP_4 = { index: 3, identifier: "SHP_4", description: "Shipment Status Date/Time", length: undefined, isOptional: false, isRepeatable: false, value: "", }; /** * Shipment Status Reason */ this.SHP_5 = { index: 4, identifier: "SHP_5", description: "Shipment Status Reason", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Shipment Priority */ this.SHP_6 = { index: 5, identifier: "SHP_6", description: "Shipment Priority", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Shipment Confidentiality */ this.SHP_7 = { index: 6, identifier: "SHP_7", description: "Shipment Confidentiality", length: undefined, isOptional: true, isRepeatable: true, value: "", }; /** * Number of Packages in Shipment */ this.SHP_8 = { index: 7, identifier: "SHP_8", description: "Number of Packages in Shipment", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Shipment Condition */ this.SHP_9 = { index: 8, identifier: "SHP_9", description: "Shipment Condition", length: undefined, isOptional: true, isRepeatable: true, value: "", }; /** * Shipment Handling Code */ this.SHP_10 = { index: 9, identifier: "SHP_10", description: "Shipment Handling Code", length: undefined, isOptional: true, isRepeatable: true, value: "", }; /** * Shipment Risk Code */ this.SHP_11 = { index: 10, identifier: "SHP_11", description: "Shipment Risk Code", length: undefined, isOptional: true, isRepeatable: true, value: "", }; } } exports.default = SHP_Fields;