UNPKG

@dotbase/hl7-v2-message

Version:

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

179 lines (178 loc) 4.64 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class BHS_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Batch Field Separator */ this.BHS_1 = { index: 0, identifier: "BHS_1", description: "Batch Field Separator", length: 1, isOptional: false, isRepeatable: false, value: "", }; /** * Batch Encoding Characters */ this.BHS_2 = { index: 1, identifier: "BHS_2", description: "Batch Encoding Characters", length: 4, isOptional: false, isRepeatable: false, value: "", }; /** * Batch Sending Application */ this.BHS_3 = { index: 2, identifier: "BHS_3", description: "Batch Sending Application", length: 227, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Sending Facility */ this.BHS_4 = { index: 3, identifier: "BHS_4", description: "Batch Sending Facility", length: 227, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Receiving Application */ this.BHS_5 = { index: 4, identifier: "BHS_5", description: "Batch Receiving Application", length: 227, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Receiving Facility */ this.BHS_6 = { index: 5, identifier: "BHS_6", description: "Batch Receiving Facility", length: 227, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Creation Date/Time */ this.BHS_7 = { index: 6, identifier: "BHS_7", description: "Batch Creation Date/Time", length: 26, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Security */ this.BHS_8 = { index: 7, identifier: "BHS_8", description: "Batch Security", length: 40, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Name/ID/Type */ this.BHS_9 = { index: 8, identifier: "BHS_9", description: "Batch Name/ID/Type", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Comment */ this.BHS_10 = { index: 9, identifier: "BHS_10", description: "Batch Comment", length: 80, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Control ID */ this.BHS_11 = { index: 10, identifier: "BHS_11", description: "Batch Control ID", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Reference Batch Control ID */ this.BHS_12 = { index: 11, identifier: "BHS_12", description: "Reference Batch Control ID", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Sending Network Address */ this.BHS_13 = { index: 12, identifier: "BHS_13", description: "Batch Sending Network Address", length: 227, isOptional: true, isRepeatable: false, value: "", }; /** * Batch Receiving Network Address */ this.BHS_14 = { index: 13, identifier: "BHS_14", description: "Batch Receiving Network Address", length: 227, isOptional: true, isRepeatable: false, value: "", }; } } exports.default = BHS_Fields;