@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
119 lines (118 loc) • 3.02 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 PV2_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Prior Pending Location
*/
this.PV2_1 = {
index: 0,
identifier: "PV2_1",
description: "Prior Pending Location",
length: 12,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Accommodation Code
*/
this.PV2_2 = {
index: 1,
identifier: "PV2_2",
description: "Accommodation Code",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Admit Reason
*/
this.PV2_3 = {
index: 2,
identifier: "PV2_3",
description: "Admit Reason",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Transfer Reason
*/
this.PV2_4 = {
index: 3,
identifier: "PV2_4",
description: "Transfer Reason",
length: 60,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Patient Valuables
*/
this.PV2_5 = {
index: 4,
identifier: "PV2_5",
description: "Patient Valuables",
length: 25,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Patient Valuables Location
*/
this.PV2_6 = {
index: 5,
identifier: "PV2_6",
description: "Patient Valuables Location",
length: 25,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Visit User Code
*/
this.PV2_7 = {
index: 6,
identifier: "PV2_7",
description: "Visit User Code",
length: 2,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Expected Admit Date
*/
this.PV2_8 = {
index: 7,
identifier: "PV2_8",
description: "Expected Admit Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Expected Discharge Date
*/
this.PV2_9 = {
index: 8,
identifier: "PV2_9",
description: "Expected Discharge Date",
length: 8,
isOptional: true,
isRepeatable: false,
value: "",
};
}
}
exports.default = PV2_Fields;