@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
167 lines (166 loc) • 4.26 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 PES_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Sender Organization Name
*/
this.PES_1 = {
index: 0,
identifier: "PES_1",
description: "Sender Organization Name",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Sender Individual Name
*/
this.PES_2 = {
index: 1,
identifier: "PES_2",
description: "Sender Individual Name",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Sender Address
*/
this.PES_3 = {
index: 2,
identifier: "PES_3",
description: "Sender Address",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Sender Telephone
*/
this.PES_4 = {
index: 3,
identifier: "PES_4",
description: "Sender Telephone",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Sender Event Identifier
*/
this.PES_5 = {
index: 4,
identifier: "PES_5",
description: "Sender Event Identifier",
length: 75,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Sender Sequence Number
*/
this.PES_6 = {
index: 5,
identifier: "PES_6",
description: "Sender Sequence Number",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Sender Event Description
*/
this.PES_7 = {
index: 6,
identifier: "PES_7",
description: "Sender Event Description",
length: 600,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Sender Comment
*/
this.PES_8 = {
index: 7,
identifier: "PES_8",
description: "Sender Comment",
length: 600,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Sender Aware Date/Time
*/
this.PES_9 = {
index: 8,
identifier: "PES_9",
description: "Sender Aware Date/Time",
length: 26,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Event Report Date
*/
this.PES_10 = {
index: 9,
identifier: "PES_10",
description: "Event Report Date",
length: 26,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Event Report Timing/Type
*/
this.PES_11 = {
index: 10,
identifier: "PES_11",
description: "Event Report Timing/Type",
length: 3,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Event Report Source
*/
this.PES_12 = {
index: 11,
identifier: "PES_12",
description: "Event Report Source",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Event Reported To
*/
this.PES_13 = {
index: 12,
identifier: "PES_13",
description: "Event Reported To",
length: 1,
isOptional: true,
isRepeatable: true,
value: "",
};
}
}
exports.default = PES_Fields;