@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
263 lines (262 loc) • 6.62 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 BPX_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set ID _ BPX
*/
this.BPX_1 = {
index: 0,
identifier: "BPX_1",
description: "Set ID _ BPX",
length: 4,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Dispense Status
*/
this.BPX_2 = {
index: 1,
identifier: "BPX_2",
description: "BP Dispense Status",
length: 250,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Status
*/
this.BPX_3 = {
index: 2,
identifier: "BPX_3",
description: "BP Status",
length: 1,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Date/Time of Status
*/
this.BPX_4 = {
index: 3,
identifier: "BPX_4",
description: "BP Date/Time of Status",
length: 24,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BC Donation ID
*/
this.BPX_5 = {
index: 4,
identifier: "BPX_5",
description: "BC Donation ID",
length: 22,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BC Component
*/
this.BPX_6 = {
index: 5,
identifier: "BPX_6",
description: "BC Component",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BC Donation Type / Intended Use
*/
this.BPX_7 = {
index: 6,
identifier: "BPX_7",
description: "BC Donation Type / Intended Use",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* CP Commercial Product
*/
this.BPX_8 = {
index: 7,
identifier: "BPX_8",
description: "CP Commercial Product",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* CP Manufacturer
*/
this.BPX_9 = {
index: 8,
identifier: "BPX_9",
description: "CP Manufacturer",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* CP Lot Number
*/
this.BPX_10 = {
index: 9,
identifier: "BPX_10",
description: "CP Lot Number",
length: 22,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Blood Group
*/
this.BPX_11 = {
index: 10,
identifier: "BPX_11",
description: "BP Blood Group",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BC Special Testing
*/
this.BPX_12 = {
index: 11,
identifier: "BPX_12",
description: "BC Special Testing",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* BP Expiration Date/Time
*/
this.BPX_13 = {
index: 12,
identifier: "BPX_13",
description: "BP Expiration Date/Time",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Quantity
*/
this.BPX_14 = {
index: 13,
identifier: "BPX_14",
description: "BP Quantity",
length: 5,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Amount
*/
this.BPX_15 = {
index: 14,
identifier: "BPX_15",
description: "BP Amount",
length: 5,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Units
*/
this.BPX_16 = {
index: 15,
identifier: "BPX_16",
description: "BP Units",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Unique ID
*/
this.BPX_17 = {
index: 16,
identifier: "BPX_17",
description: "BP Unique ID",
length: 22,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Actual Dispensed To Location
*/
this.BPX_18 = {
index: 17,
identifier: "BPX_18",
description: "BP Actual Dispensed To Location",
length: 80,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Actual Dispensed To Address
*/
this.BPX_19 = {
index: 18,
identifier: "BPX_19",
description: "BP Actual Dispensed To Address",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Dispensed to Receiver
*/
this.BPX_20 = {
index: 19,
identifier: "BPX_20",
description: "BP Dispensed to Receiver",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Dispensing Individual
*/
this.BPX_21 = {
index: 20,
identifier: "BPX_21",
description: "BP Dispensing Individual",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = BPX_Fields;