UNPKG

@dotbase/hl7-v2-message

Version:

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

599 lines (598 loc) 15 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 - patient visit */ this.PV1_1 = { index: 0, identifier: "PV1_1", description: "Set id - patient visit", 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: 12, isOptional: false, isRepeatable: false, value: "", }; /** * Admission type */ this.PV1_4 = { index: 3, identifier: "PV1_4", description: "Admission type", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Pre-admit number */ this.PV1_5 = { index: 4, identifier: "PV1_5", description: "Pre-admit number", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Prior patient location */ this.PV1_6 = { index: 5, identifier: "PV1_6", description: "Prior patient location", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Attending doctor */ this.PV1_7 = { index: 6, identifier: "PV1_7", description: "Attending doctor", length: 60, isOptional: true, isRepeatable: false, value: "", }; /** * Referring doctor */ this.PV1_8 = { index: 7, identifier: "PV1_8", description: "Referring doctor", length: 60, isOptional: true, isRepeatable: false, value: "", }; /** * Consulting doctor */ this.PV1_9 = { index: 8, identifier: "PV1_9", description: "Consulting doctor", length: 60, 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: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Pre-admit test indicator */ this.PV1_12 = { index: 11, identifier: "PV1_12", description: "Pre-admit 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: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Ambulatory status */ this.PV1_15 = { index: 14, identifier: "PV1_15", description: "Ambulatory status", length: 2, isOptional: true, isRepeatable: false, 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: 60, isOptional: true, isRepeatable: false, 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: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Financial class */ this.PV1_20 = { index: 19, identifier: "PV1_20", description: "Financial class", length: 11, isOptional: true, isRepeatable: false, 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: 1, 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: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Discharged to location */ this.PV1_37 = { index: 36, identifier: "PV1_37", description: "Discharged to location", length: 2, isOptional: true, isRepeatable: false, value: "", }; /** * Diet type */ this.PV1_38 = { index: 37, identifier: "PV1_38", description: "Diet type", length: 2, 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: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Prior temporary location */ this.PV1_43 = { index: 42, identifier: "PV1_43", description: "Prior temporary location", length: 12, isOptional: true, isRepeatable: false, value: "", }; /** * Admit date/time */ this.PV1_44 = { index: 43, identifier: "PV1_44", description: "Admit date/time", length: 19, isOptional: true, isRepeatable: false, value: "", }; /** * Discharge date/time */ this.PV1_45 = { index: 44, identifier: "PV1_45", description: "Discharge date/time", length: 19, 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: "", }; } } exports.default = PV1_Fields;