@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
191 lines (190 loc) • 4.77 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 PDC_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Manufacturer/Distributor
*/
this.PDC_1 = {
index: 0,
identifier: "PDC_1",
description: "Manufacturer/Distributor",
length: 570,
isOptional: false,
isRepeatable: true,
value: "",
};
/**
* Country
*/
this.PDC_2 = {
index: 1,
identifier: "PDC_2",
description: "Country",
length: 705,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Brand Name
*/
this.PDC_3 = {
index: 2,
identifier: "PDC_3",
description: "Brand Name",
length: 60,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Device Family Name
*/
this.PDC_4 = {
index: 3,
identifier: "PDC_4",
description: "Device Family Name",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Generic Name
*/
this.PDC_5 = {
index: 4,
identifier: "PDC_5",
description: "Generic Name",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Model Identifier
*/
this.PDC_6 = {
index: 5,
identifier: "PDC_6",
description: "Model Identifier",
length: 60,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Catalogue Identifier
*/
this.PDC_7 = {
index: 6,
identifier: "PDC_7",
description: "Catalogue Identifier",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Other Identifier
*/
this.PDC_8 = {
index: 7,
identifier: "PDC_8",
description: "Other Identifier",
length: 60,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Product Code
*/
this.PDC_9 = {
index: 8,
identifier: "PDC_9",
description: "Product Code",
length: 705,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Marketing Basis
*/
this.PDC_10 = {
index: 9,
identifier: "PDC_10",
description: "Marketing Basis",
length: 4,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Marketing Approval ID
*/
this.PDC_11 = {
index: 10,
identifier: "PDC_11",
description: "Marketing Approval ID",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Labeled Shelf Life
*/
this.PDC_12 = {
index: 11,
identifier: "PDC_12",
description: "Labeled Shelf Life",
length: 722,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Expected Shelf Life
*/
this.PDC_13 = {
index: 12,
identifier: "PDC_13",
description: "Expected Shelf Life",
length: 722,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Date First Marketed
*/
this.PDC_14 = {
index: 13,
identifier: "PDC_14",
description: "Date First Marketed",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Date Last Marketed
*/
this.PDC_15 = {
index: 14,
identifier: "PDC_15",
description: "Date Last Marketed",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = PDC_Fields;