@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
167 lines (166 loc) • 4.15 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 ROL_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Role Instance ID
*/
this.ROL_1 = {
index: 0,
identifier: "ROL_1",
description: "Role Instance ID",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Action Code
*/
this.ROL_2 = {
index: 1,
identifier: "ROL_2",
description: "Action Code",
length: 2,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Role-ROL
*/
this.ROL_3 = {
index: 2,
identifier: "ROL_3",
description: "Role-ROL",
length: 250,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Role Person
*/
this.ROL_4 = {
index: 3,
identifier: "ROL_4",
description: "Role Person",
length: 250,
isOptional: false,
isRepeatable: true,
value: "",
};
/**
* Role Begin Date/Time
*/
this.ROL_5 = {
index: 4,
identifier: "ROL_5",
description: "Role Begin Date/Time",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Role End Date/Time
*/
this.ROL_6 = {
index: 5,
identifier: "ROL_6",
description: "Role End Date/Time",
length: 24,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Role Duration
*/
this.ROL_7 = {
index: 6,
identifier: "ROL_7",
description: "Role Duration",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Role Action Reason
*/
this.ROL_8 = {
index: 7,
identifier: "ROL_8",
description: "Role Action Reason",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Provider Type
*/
this.ROL_9 = {
index: 8,
identifier: "ROL_9",
description: "Provider Type",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Organization Unit Type
*/
this.ROL_10 = {
index: 9,
identifier: "ROL_10",
description: "Organization Unit Type",
length: 250,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Office/Home Address/Birthplace
*/
this.ROL_11 = {
index: 10,
identifier: "ROL_11",
description: "Office/Home Address/Birthplace",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Phone
*/
this.ROL_12 = {
index: 11,
identifier: "ROL_12",
description: "Phone",
length: 250,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Persons Location
*/
this.ROL_13 = {
index: 12,
identifier: "ROL_13",
description: "Persons Location",
length: 1230,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = ROL_Fields;