UNPKG

@dotbase/hl7-v2-message

Version:

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

635 lines (634 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 PV1_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Set ID - PV1 */ this.PV1_1 = { index: 0, identifier: "PV1_1", description: "Set ID - PV1", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Patient Class */ this.PV1_2 = { index: 1, identifier: "PV1_2", description: "Patient Class", length: 1, isOptional: false, isRepeatable: false, value: "", }; /** * Assigned Patient Location */ this.PV1_3 = { index: 2, identifier: "PV1_3", description: "Assigned Patient Location", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Admission Type */ this.PV1_4 = { index: 3, identifier: "PV1_4", description: "Admission Type", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Preadmit Number */ this.PV1_5 = { index: 4, identifier: "PV1_5", description: "Preadmit Number", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Prior Patient Location */ this.PV1_6 = { index: 5, identifier: "PV1_6", description: "Prior Patient Location", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Attending Doctor */ this.PV1_7 = { index: 6, identifier: "PV1_7", description: "Attending Doctor", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Referring Doctor */ this.PV1_8 = { index: 7, identifier: "PV1_8", description: "Referring Doctor", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Consulting Doctor */ this.PV1_9 = { index: 8, identifier: "PV1_9", description: "Consulting Doctor", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Hospital Service */ this.PV1_10 = { index: 9, identifier: "PV1_10", description: "Hospital Service", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Temporary Location */ this.PV1_11 = { index: 10, identifier: "PV1_11", description: "Temporary Location", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Preadmit Test Indicator */ this.PV1_12 = { index: 11, identifier: "PV1_12", description: "Preadmit Test Indicator", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Re-admission Indicator */ this.PV1_13 = { index: 12, identifier: "PV1_13", description: "Re-admission Indicator", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Admit Source */ this.PV1_14 = { index: 13, identifier: "PV1_14", description: "Admit Source", length: 6, isOptional: true, isRepeatable: false, value: "", }; /** * Ambulatory Status */ this.PV1_15 = { index: 14, identifier: "PV1_15", description: "Ambulatory Status", length: 2, isOptional: true, isRepeatable: true, value: "", }; /** * VIP Indicator */ this.PV1_16 = { index: 15, identifier: "PV1_16", description: "VIP Indicator", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Admitting Doctor */ this.PV1_17 = { index: 16, identifier: "PV1_17", description: "Admitting Doctor", length: 250, isOptional: true, isRepeatable: true, value: "", }; /** * Patient Type */ this.PV1_18 = { index: 17, identifier: "PV1_18", description: "Patient Type", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Visit Number */ this.PV1_19 = { index: 18, identifier: "PV1_19", description: "Visit Number", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Financial Class */ this.PV1_20 = { index: 19, identifier: "PV1_20", description: "Financial Class", length: 50, isOptional: true, isRepeatable: true, value: "", }; /** * Charge Price Indicator */ this.PV1_21 = { index: 20, identifier: "PV1_21", description: "Charge Price Indicator", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Courtesy Code */ this.PV1_22 = { index: 21, identifier: "PV1_22", description: "Courtesy Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Credit Rating */ this.PV1_23 = { index: 22, identifier: "PV1_23", description: "Credit Rating", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Contract Code */ this.PV1_24 = { index: 23, identifier: "PV1_24", description: "Contract Code", length: 2, isOptional: true, isRepeatable: true, value: "", }; /** * Contract Effective Date */ this.PV1_25 = { index: 24, identifier: "PV1_25", description: "Contract Effective Date", length: 8, isOptional: true, isRepeatable: true, value: "", }; /** * Contract Amount */ this.PV1_26 = { index: 25, identifier: "PV1_26", description: "Contract Amount", length: 12, isOptional: true, isRepeatable: true, value: "", }; /** * Contract Period */ this.PV1_27 = { index: 26, identifier: "PV1_27", description: "Contract Period", length: 3, isOptional: true, isRepeatable: true, value: "", }; /** * Interest Code */ this.PV1_28 = { index: 27, identifier: "PV1_28", description: "Interest Code", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Transfer to Bad Debt Code */ this.PV1_29 = { index: 28, identifier: "PV1_29", description: "Transfer to Bad Debt Code", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Transfer to Bad Debt Date */ this.PV1_30 = { index: 29, identifier: "PV1_30", description: "Transfer to Bad Debt Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * Bad Debt Agency Code */ this.PV1_31 = { index: 30, identifier: "PV1_31", description: "Bad Debt Agency Code", length: 10, isOptional: true, isRepeatable: false, value: "", }; /** * Bad Debt Transfer Amount */ this.PV1_32 = { index: 31, identifier: "PV1_32", description: "Bad Debt Transfer Amount", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Bad Debt Recovery Amount */ this.PV1_33 = { index: 32, identifier: "PV1_33", description: "Bad Debt Recovery Amount", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Delete Account Indicator */ this.PV1_34 = { index: 33, identifier: "PV1_34", description: "Delete Account Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Delete Account Date */ this.PV1_35 = { index: 34, identifier: "PV1_35", description: "Delete Account Date", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * Discharge Disposition */ this.PV1_36 = { index: 35, identifier: "PV1_36", description: "Discharge Disposition", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Discharged to Location */ this.PV1_37 = { index: 36, identifier: "PV1_37", description: "Discharged to Location", length: 47, isOptional: true, isRepeatable: false, value: "", }; /** * Diet Type */ this.PV1_38 = { index: 37, identifier: "PV1_38", description: "Diet Type", length: 705, isOptional: true, isRepeatable: false, value: "", }; /** * Servicing Facility */ this.PV1_39 = { index: 38, identifier: "PV1_39", description: "Servicing Facility", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Bed Status */ this.PV1_40 = { index: 39, identifier: "PV1_40", description: "Bed Status", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Account Status */ this.PV1_41 = { index: 40, identifier: "PV1_41", description: "Account Status", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Pending Location */ this.PV1_42 = { index: 41, identifier: "PV1_42", description: "Pending Location", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Prior Temporary Location */ this.PV1_43 = { index: 42, identifier: "PV1_43", description: "Prior Temporary Location", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Admit Date/Time */ this.PV1_44 = { index: 43, identifier: "PV1_44", description: "Admit Date/Time", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Discharge Date/Time */ this.PV1_45 = { index: 44, identifier: "PV1_45", description: "Discharge Date/Time", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Current Patient Balance */ this.PV1_46 = { index: 45, identifier: "PV1_46", description: "Current Patient Balance", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Total Charges */ this.PV1_47 = { index: 46, identifier: "PV1_47", description: "Total Charges", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Total Adjustments */ this.PV1_48 = { index: 47, identifier: "PV1_48", description: "Total Adjustments", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Total Payments */ this.PV1_49 = { index: 48, identifier: "PV1_49", description: "Total Payments", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Alternate Visit ID */ this.PV1_50 = { index: 49, identifier: "PV1_50", description: "Alternate Visit ID", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Visit Indicator */ this.PV1_51 = { index: 50, identifier: "PV1_51", description: "Visit Indicator", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Other Healthcare Provider */ this.PV1_52 = { index: 51, identifier: "PV1_52", description: "Other Healthcare Provider", length: 250, isOptional: true, isRepeatable: true, value: "", }; } } exports.default = PV1_Fields;