@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
323 lines (322 loc) • 8.24 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields"));
class RXG_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Give Sub-ID Counter
*/
this.RXG_1 = {
index: 0,
identifier: "RXG_1",
description: "Give Sub-ID Counter",
length: 4,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Dispense Sub-ID Counter
*/
this.RXG_2 = {
index: 1,
identifier: "RXG_2",
description: "Dispense Sub-ID Counter",
length: 4,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Quantity/Timing
*/
this.RXG_3 = {
index: 2,
identifier: "RXG_3",
description: "Quantity/Timing",
length: 200,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Code
*/
this.RXG_4 = {
index: 3,
identifier: "RXG_4",
description: "Give Code",
length: 250,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Give Amount - Minimum
*/
this.RXG_5 = {
index: 4,
identifier: "RXG_5",
description: "Give Amount - Minimum",
length: 20,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Give Amount - Maximum
*/
this.RXG_6 = {
index: 5,
identifier: "RXG_6",
description: "Give Amount - Maximum",
length: 20,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Units
*/
this.RXG_7 = {
index: 6,
identifier: "RXG_7",
description: "Give Units",
length: 250,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Give Dosage Form
*/
this.RXG_8 = {
index: 7,
identifier: "RXG_8",
description: "Give Dosage Form",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Administration Notes
*/
this.RXG_9 = {
index: 8,
identifier: "RXG_9",
description: "Administration Notes",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Substitution Status
*/
this.RXG_10 = {
index: 9,
identifier: "RXG_10",
description: "Substitution Status",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Dispense-to Location
*/
this.RXG_11 = {
index: 10,
identifier: "RXG_11",
description: "Dispense-to Location",
length: 200,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Needs Human Review
*/
this.RXG_12 = {
index: 11,
identifier: "RXG_12",
description: "Needs Human Review",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Pharmacy/Treatment Suppliers Special Administration Instructions
*/
this.RXG_13 = {
index: 12,
identifier: "RXG_13",
description: "Pharmacy/Treatment Suppliers Special Administration Instructions",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Give Per
*/
this.RXG_14 = {
index: 13,
identifier: "RXG_14",
description: "Give Per",
length: 20,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Rate Amount
*/
this.RXG_15 = {
index: 14,
identifier: "RXG_15",
description: "Give Rate Amount",
length: 6,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Rate Units
*/
this.RXG_16 = {
index: 15,
identifier: "RXG_16",
description: "Give Rate Units",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Strength
*/
this.RXG_17 = {
index: 16,
identifier: "RXG_17",
description: "Give Strength",
length: 20,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Strength Units
*/
this.RXG_18 = {
index: 17,
identifier: "RXG_18",
description: "Give Strength Units",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Substance Lot Number
*/
this.RXG_19 = {
index: 18,
identifier: "RXG_19",
description: "Substance Lot Number",
length: 20,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Substance Expiration Date
*/
this.RXG_20 = {
index: 19,
identifier: "RXG_20",
description: "Substance Expiration Date",
length: 26,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Substance Manufacturer Name
*/
this.RXG_21 = {
index: 20,
identifier: "RXG_21",
description: "Substance Manufacturer Name",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Indication
*/
this.RXG_22 = {
index: 21,
identifier: "RXG_22",
description: "Indication",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Give Drug Strength Volume
*/
this.RXG_23 = {
index: 22,
identifier: "RXG_23",
description: "Give Drug Strength Volume",
length: 5,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Drug Strength Volume Units
*/
this.RXG_24 = {
index: 23,
identifier: "RXG_24",
description: "Give Drug Strength Volume Units",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Give Barcode Identifier
*/
this.RXG_25 = {
index: 24,
identifier: "RXG_25",
description: "Give Barcode Identifier",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Pharmacy Order Type
*/
this.RXG_26 = {
index: 25,
identifier: "RXG_26",
description: "Pharmacy Order Type",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = RXG_Fields;