@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
239 lines (238 loc) • 6.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 BTX_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set ID - BTX
*/
this.BTX_1 = {
index: 0,
identifier: "BTX_1",
description: "Set ID - BTX",
length: 4,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BC Donation ID
*/
this.BTX_2 = {
index: 1,
identifier: "BTX_2",
description: "BC Donation ID ",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BC Component
*/
this.BTX_3 = {
index: 2,
identifier: "BTX_3",
description: "BC Component ",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BC Blood Group
*/
this.BTX_4 = {
index: 3,
identifier: "BTX_4",
description: "BC Blood Group",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* CP Commercial Product
*/
this.BTX_5 = {
index: 4,
identifier: "BTX_5",
description: "CP Commercial Product ",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* CP Manufacturer
*/
this.BTX_6 = {
index: 5,
identifier: "BTX_6",
description: "CP Manufacturer ",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* CP Lot Number
*/
this.BTX_7 = {
index: 6,
identifier: "BTX_7",
description: "CP Lot Number",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Quantity
*/
this.BTX_8 = {
index: 7,
identifier: "BTX_8",
description: "BP Quantity",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Amount
*/
this.BTX_9 = {
index: 8,
identifier: "BTX_9",
description: "BP Amount",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Units
*/
this.BTX_10 = {
index: 9,
identifier: "BTX_10",
description: "BP Units",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Transfusion/Disposition Status
*/
this.BTX_11 = {
index: 10,
identifier: "BTX_11",
description: "BP Transfusion/Disposition Status",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Message Status
*/
this.BTX_12 = {
index: 11,
identifier: "BTX_12",
description: "BP Message Status",
length: 1,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Date/Time of Status
*/
this.BTX_13 = {
index: 12,
identifier: "BTX_13",
description: "BP Date/Time of Status",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* BP Transfusion Administrator
*/
this.BTX_14 = {
index: 13,
identifier: "BTX_14",
description: "BP Transfusion Administrator",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Transfusion Verifier
*/
this.BTX_15 = {
index: 14,
identifier: "BTX_15",
description: "BP Transfusion Verifier ",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Transfusion Start Date/Time of Status
*/
this.BTX_16 = {
index: 15,
identifier: "BTX_16",
description: "BP Transfusion Start Date/Time of Status",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Transfusion End Date/Time of Status
*/
this.BTX_17 = {
index: 16,
identifier: "BTX_17",
description: "BP Transfusion End Date/Time of Status",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* BP Adverse Reaction Type
*/
this.BTX_18 = {
index: 17,
identifier: "BTX_18",
description: "BP Adverse Reaction Type",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* BP Transfusion Interrupted Reason
*/
this.BTX_19 = {
index: 18,
identifier: "BTX_19",
description: "BP Transfusion Interrupted Reason",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = BTX_Fields;