UNPKG

@dotbase/hl7-v2-message

Version:

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

155 lines (154 loc) 3.99 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: 15, isOptional: true, isRepeatable: false, value: "", }; /** * Batch sending facility */ this.BHS_4 = { index: 3, identifier: "BHS_4", description: "Batch sending facility", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Batch receiving application */ this.BHS_5 = { index: 4, identifier: "BHS_5", description: "Batch receiving application", length: 15, isOptional: true, isRepeatable: false, value: "", }; /** * Batch receiving facility */ this.BHS_6 = { index: 5, identifier: "BHS_6", description: "Batch receiving facility", length: 20, isOptional: true, isRepeatable: false, value: "", }; /** * Batch creation date/time */ this.BHS_7 = { index: 6, identifier: "BHS_7", description: "Batch creation date/time", length: 19, 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: "", }; } } exports.default = BHS_Fields;