UNPKG

@dotbase/hl7-v2-message

Version:

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

587 lines (586 loc) 15.5 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class PSL_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Provider Product/Service Line Item Number */ this.PSL_1 = { index: 0, identifier: "PSL_1", description: "Provider Product/Service Line Item Number", length: 73, isOptional: false, isRepeatable: false, value: "", }; /** * Payer Product/Service Line Item Number */ this.PSL_2 = { index: 1, identifier: "PSL_2", description: "Payer Product/Service Line Item Number", length: 73, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Line Item Sequence Number */ this.PSL_3 = { index: 2, identifier: "PSL_3", description: "Product/Service Line Item Sequence Number", length: 4, isOptional: false, isRepeatable: false, value: "", }; /** * Provider Tracking ID */ this.PSL_4 = { index: 3, identifier: "PSL_4", description: "Provider Tracking ID", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Payer Tracking ID */ this.PSL_5 = { index: 4, identifier: "PSL_5", description: "Payer Tracking ID", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Line Item Status */ this.PSL_6 = { index: 5, identifier: "PSL_6", description: "Product/Service Line Item Status", length: 2, isOptional: false, isRepeatable: false, value: "", }; /** * Product/Service Code */ this.PSL_7 = { index: 6, identifier: "PSL_7", description: "Product/Service Code", length: 177, isOptional: false, isRepeatable: false, value: "", }; /** * Product/Service Code Modifier */ this.PSL_8 = { index: 7, identifier: "PSL_8", description: "Product/Service Code Modifier", length: 177, isOptional: true, isRepeatable: true, value: "", }; /** * Product/Service Code Description */ this.PSL_9 = { index: 8, identifier: "PSL_9", description: "Product/Service Code Description", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Effective Date */ this.PSL_10 = { index: 9, identifier: "PSL_10", description: "Product/Service Effective Date", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Expiration Date */ this.PSL_11 = { index: 10, identifier: "PSL_11", description: "Product/Service Expiration Date", length: 24, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Quantity */ this.PSL_12 = { index: 11, identifier: "PSL_12", description: "Product/Service Quantity", length: 222, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Unit Cost */ this.PSL_13 = { index: 12, identifier: "PSL_13", description: "Product/Service Unit Cost", length: 254, isOptional: true, isRepeatable: false, value: "", }; /** * Number of Items per Unit */ this.PSL_14 = { index: 13, identifier: "PSL_14", description: "Number of Items per Unit", length: 10, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Gross Amount */ this.PSL_15 = { index: 14, identifier: "PSL_15", description: "Product/Service Gross Amount", length: 254, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Billed Amount */ this.PSL_16 = { index: 15, identifier: "PSL_16", description: "Product/Service Billed Amount", length: 254, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Clarification Code Type */ this.PSL_17 = { index: 16, identifier: "PSL_17", description: "Product/Service Clarification Code Type", length: 10, isOptional: true, isRepeatable: true, value: "", }; /** * Product/Service Clarification Code Value */ this.PSL_18 = { index: 17, identifier: "PSL_18", description: "Product/Service Clarification Code Value", length: 40, isOptional: true, isRepeatable: true, value: "", }; /** * Health Document Reference Identifier */ this.PSL_19 = { index: 18, identifier: "PSL_19", description: "Health Document Reference Identifier", length: 73, isOptional: true, isRepeatable: true, value: "", }; /** * Processing Consideration Code */ this.PSL_20 = { index: 19, identifier: "PSL_20", description: "Processing Consideration Code", length: 10, isOptional: true, isRepeatable: true, value: "", }; /** * Restricted Disclosure Indicator */ this.PSL_21 = { index: 20, identifier: "PSL_21", description: "Restricted Disclosure Indicator", length: 2, isOptional: false, isRepeatable: false, value: "", }; /** * Related Product/Service Code Indicator */ this.PSL_22 = { index: 21, identifier: "PSL_22", description: "Related Product/Service Code Indicator", length: 177, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Amount for Physician */ this.PSL_23 = { index: 22, identifier: "PSL_23", description: "Product/Service Amount for Physician", length: 254, isOptional: true, isRepeatable: false, value: "", }; /** * Product/Service Cost Factor */ this.PSL_24 = { index: 23, identifier: "PSL_24", description: "Product/Service Cost Factor", length: 5, isOptional: true, isRepeatable: false, value: "", }; /** * Cost Center */ this.PSL_25 = { index: 24, identifier: "PSL_25", description: "Cost Center", length: 250, isOptional: true, isRepeatable: false, value: "", }; /** * Billing Period */ this.PSL_26 = { index: 25, identifier: "PSL_26", description: "Billing Period", length: 49, isOptional: true, isRepeatable: false, value: "", }; /** * Days without Billing */ this.PSL_27 = { index: 26, identifier: "PSL_27", description: "Days without Billing", length: 5, isOptional: true, isRepeatable: false, value: "", }; /** * Session-No */ this.PSL_28 = { index: 27, identifier: "PSL_28", description: "Session-No", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Executing Physician ID */ this.PSL_29 = { index: 28, identifier: "PSL_29", description: "Executing Physician ID", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Responsible Physician ID */ this.PSL_30 = { index: 29, identifier: "PSL_30", description: "Responsible Physician ID", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Role Executing Physician */ this.PSL_31 = { index: 30, identifier: "PSL_31", description: "Role Executing Physician", length: 10, isOptional: true, isRepeatable: false, value: "", }; /** * Medical Role Executing Physician */ this.PSL_32 = { index: 31, identifier: "PSL_32", description: "Medical Role Executing Physician", length: 10, isOptional: true, isRepeatable: false, value: "", }; /** * Side of body */ this.PSL_33 = { index: 32, identifier: "PSL_33", description: "Side of body", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Number of TPs PP */ this.PSL_34 = { index: 33, identifier: "PSL_34", description: "Number of TPs PP", length: 6, isOptional: true, isRepeatable: false, value: "", }; /** * TP-Value PP */ this.PSL_35 = { index: 34, identifier: "PSL_35", description: "TP-Value PP", length: 6, isOptional: true, isRepeatable: false, value: "", }; /** * Internal Scaling Factor PP */ this.PSL_36 = { index: 35, identifier: "PSL_36", description: "Internal Scaling Factor PP", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * External Scaling Factor PP */ this.PSL_37 = { index: 36, identifier: "PSL_37", description: "External Scaling Factor PP", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Amount PP */ this.PSL_38 = { index: 37, identifier: "PSL_38", description: "Amount PP", length: 7, isOptional: true, isRepeatable: false, value: "", }; /** * Number of TPs Technical Part */ this.PSL_39 = { index: 38, identifier: "PSL_39", description: "Number of TPs Technical Part", length: 6, isOptional: true, isRepeatable: false, value: "", }; /** * TP-Value Technical Part */ this.PSL_40 = { index: 39, identifier: "PSL_40", description: "TP-Value Technical Part", length: 6, isOptional: true, isRepeatable: false, value: "", }; /** * Internal Scaling Factor Technical Part */ this.PSL_41 = { index: 40, identifier: "PSL_41", description: "Internal Scaling Factor Technical Part", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * External Scaling Factor Technical Part */ this.PSL_42 = { index: 41, identifier: "PSL_42", description: "External Scaling Factor Technical Part", length: 4, isOptional: true, isRepeatable: false, value: "", }; /** * Amount Technical Part */ this.PSL_43 = { index: 42, identifier: "PSL_43", description: "Amount Technical Part", length: 7, isOptional: true, isRepeatable: false, value: "", }; /** * Total Amount Professional Part + Technical Part */ this.PSL_44 = { index: 43, identifier: "PSL_44", description: "Total Amount Professional Part + Technical Part", length: 8, isOptional: true, isRepeatable: false, value: "", }; /** * VAT-Rate */ this.PSL_45 = { index: 44, identifier: "PSL_45", description: "VAT-Rate", length: 3, isOptional: true, isRepeatable: false, value: "", }; /** * Main-Service */ this.PSL_46 = { index: 45, identifier: "PSL_46", description: "Main-Service", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Validation */ this.PSL_47 = { index: 46, identifier: "PSL_47", description: "Validation", length: 1, isOptional: true, isRepeatable: false, value: "", }; /** * Comment */ this.PSL_48 = { index: 47, identifier: "PSL_48", description: "Comment", length: 255, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = PSL_Fields;