UNPKG

@dotbase/hl7-v2-message

Version:

Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.

611 lines (610 loc) 15.9 kB
"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: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Accommodation Code */ this.PV2_2 = { index: 1, identifier: "PV2_2", description: "Accommodation Code", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Admit Reason */ this.PV2_3 = { index: 2, identifier: "PV2_3", description: "Admit Reason", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Transfer Reason */ this.PV2_4 = { index: 3, identifier: "PV2_4", description: "Transfer Reason", length: 705, 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: true, value: "", }; /** * Expected Admit Date/Time */ this.PV2_8 = { index: 7, identifier: "PV2_8", description: "Expected Admit Date/Time", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Expected Discharge Date/Time */ this.PV2_9 = { index: 8, identifier: "PV2_9", description: "Expected Discharge Date/Time", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Estimated Length of Inpatient Stay */ this.PV2_10 = { index: 9, identifier: "PV2_10", description: "Estimated Length of Inpatient Stay", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Actual Length of Inpatient Stay */ this.PV2_11 = { index: 10, identifier: "PV2_11", description: "Actual Length of Inpatient Stay", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Visit Description */ this.PV2_12 = { index: 11, identifier: "PV2_12", description: "Visit Description", length: 50, isOptional: true, isRepeatable: false, value: "", }; /** * Referral Source Code */ this.PV2_13 = { index: 12, identifier: "PV2_13", description: "Referral Source Code", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Previous Service Date */ this.PV2_14 = { index: 13, identifier: "PV2_14", description: "Previous Service Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * Employment Illness Related Indicator */ this.PV2_15 = { index: 14, identifier: "PV2_15", description: "Employment Illness Related Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Purge Status Code */ this.PV2_16 = { index: 15, identifier: "PV2_16", description: "Purge Status Code", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Purge Status Date */ this.PV2_17 = { index: 16, identifier: "PV2_17", description: "Purge Status Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * Special Program Code */ this.PV2_18 = { index: 17, identifier: "PV2_18", description: "Special Program Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Retention Indicator */ this.PV2_19 = { index: 18, identifier: "PV2_19", description: "Retention Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Expected Number of Insurance Plans */ this.PV2_20 = { index: 19, identifier: "PV2_20", description: "Expected Number of Insurance Plans", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Visit Publicity Code */ this.PV2_21 = { index: 20, identifier: "PV2_21", description: "Visit Publicity Code", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Visit Protection Indicator */ this.PV2_22 = { index: 21, identifier: "PV2_22", description: "Visit Protection Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Clinic Organization Name */ this.PV2_23 = { index: 22, identifier: "PV2_23", description: "Clinic Organization Name", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Patient Status Code */ this.PV2_24 = { index: 23, identifier: "PV2_24", description: "Patient Status Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Visit Priority Code */ this.PV2_25 = { index: 24, identifier: "PV2_25", description: "Visit Priority Code", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Previous Treatment Date */ this.PV2_26 = { index: 25, identifier: "PV2_26", description: "Previous Treatment Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * Expected Discharge Disposition */ this.PV2_27 = { index: 26, identifier: "PV2_27", description: "Expected Discharge Disposition", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Signature on File Date */ this.PV2_28 = { index: 27, identifier: "PV2_28", description: "Signature on File Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * First Similar Illness Date */ this.PV2_29 = { index: 28, identifier: "PV2_29", description: "First Similar Illness Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * Patient Charge Adjustment Code */ this.PV2_30 = { index: 29, identifier: "PV2_30", description: "Patient Charge Adjustment Code", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Recurring Service Code */ this.PV2_31 = { index: 30, identifier: "PV2_31", description: "Recurring Service Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Billing Media Code */ this.PV2_32 = { index: 31, identifier: "PV2_32", description: "Billing Media Code", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Expected Surgery Date and Time */ this.PV2_33 = { index: 32, identifier: "PV2_33", description: "Expected Surgery Date and Time", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Military Partnership Code */ this.PV2_34 = { index: 33, identifier: "PV2_34", description: "Military Partnership Code", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Military Non-Availability Code */ this.PV2_35 = { index: 34, identifier: "PV2_35", description: "Military Non-Availability Code", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Newborn Baby Indicator */ this.PV2_36 = { index: 35, identifier: "PV2_36", description: "Newborn Baby Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Baby Detained Indicator */ this.PV2_37 = { index: 36, identifier: "PV2_37", description: "Baby Detained Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Mode of Arrival Code */ this.PV2_38 = { index: 37, identifier: "PV2_38", description: "Mode of Arrival Code", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Recreational Drug Use Code */ this.PV2_39 = { index: 38, identifier: "PV2_39", description: "Recreational Drug Use Code", length: 705, isOptional: true, isRepeatable: true, value: "", }; /** * Admission Level of Care Code */ this.PV2_40 = { index: 39, identifier: "PV2_40", description: "Admission Level of Care Code", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Precaution Code */ this.PV2_41 = { index: 40, identifier: "PV2_41", description: "Precaution Code", length: 705, isOptional: true, isRepeatable: true, value: "", }; /** * Patient Condition Code */ this.PV2_42 = { index: 41, identifier: "PV2_42", description: "Patient Condition Code", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Living Will Code */ this.PV2_43 = { index: 42, identifier: "PV2_43", description: "Living Will Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Organ Donor Code */ this.PV2_44 = { index: 43, identifier: "PV2_44", description: "Organ Donor Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Advance Directive Code */ this.PV2_45 = { index: 44, identifier: "PV2_45", description: "Advance Directive Code", length: 705, isOptional: true, isRepeatable: true, value: "", }; /** * Patient Status Effective Date */ this.PV2_46 = { index: 45, identifier: "PV2_46", description: "Patient Status Effective Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * Expected LOA Return Date/Time */ this.PV2_47 = { index: 46, identifier: "PV2_47", description: "Expected LOA Return Date/Time", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Expected Pre-admission Testing Date/Time */ this.PV2_48 = { index: 47, identifier: "PV2_48", description: "Expected Pre-admission Testing Date/Time", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Notify Clergy Code */ this.PV2_49 = { index: 48, identifier: "PV2_49", description: "Notify Clergy Code", length: 20, isOptional: true, isRepeatable: true, value: "", }; /** * Advance Directive Last Verified Date */ this.PV2_50 = { index: 49, identifier: "PV2_50", description: "Advance Directive Last Verified Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = PV2_Fields;