UNPKG

@dotbase/hl7-v2-message

Version:

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

191 lines (190 loc) 5.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields")); class PRT_Fields extends Hl7Fields_1.default { constructor() { super(...arguments); /** * Participation Instance ID */ this.PRT_1 = { index: 0, identifier: "PRT_1", description: "Participation Instance ID", length: 4, isOptional: false, isRepeatable: false, value: "", }; /** * Action Code */ this.PRT_2 = { index: 1, identifier: "PRT_2", description: "Action Code", length: 2, isOptional: false, isRepeatable: false, value: "", }; /** * Action Reason */ this.PRT_3 = { index: 2, identifier: "PRT_3", description: "Action Reason", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Participation */ this.PRT_4 = { index: 3, identifier: "PRT_4", description: "Participation ", length: undefined, isOptional: false, isRepeatable: false, value: "", }; /** * Participation Person */ this.PRT_5 = { index: 4, identifier: "PRT_5", description: "Participation Person", length: undefined, isOptional: false, isRepeatable: true, value: "", }; /** * Participation Person Provider Type */ this.PRT_6 = { index: 5, identifier: "PRT_6", description: "Participation Person Provider Type", length: undefined, isOptional: false, isRepeatable: false, value: "", }; /** * Participant Organization Unit Type */ this.PRT_7 = { index: 6, identifier: "PRT_7", description: "Participant Organization Unit Type", length: undefined, isOptional: false, isRepeatable: false, value: "", }; /** * Participation Organization */ this.PRT_8 = { index: 7, identifier: "PRT_8", description: "Participation Organization", length: undefined, isOptional: false, isRepeatable: true, value: "", }; /** * Participant Location */ this.PRT_9 = { index: 8, identifier: "PRT_9", description: "Participant Location", length: undefined, isOptional: false, isRepeatable: true, value: "", }; /** * Participation Device */ this.PRT_10 = { index: 9, identifier: "PRT_10", description: "Participation Device", length: undefined, isOptional: false, isRepeatable: true, value: "", }; /** * Participation Begin Date/Time (arrival time) */ this.PRT_11 = { index: 10, identifier: "PRT_11", description: "Participation Begin Date/Time (arrival time)", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Participation End Date/Time (departure time) */ this.PRT_12 = { index: 11, identifier: "PRT_12", description: "Participation End Date/Time (departure time)", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Participation Qualitative Duration */ this.PRT_13 = { index: 12, identifier: "PRT_13", description: "Participation Qualitative Duration", length: undefined, isOptional: true, isRepeatable: false, value: "", }; /** * Participation Address */ this.PRT_14 = { index: 13, identifier: "PRT_14", description: "Participation Address", length: undefined, isOptional: false, isRepeatable: true, value: "", }; /** * Participant Telecommunication Address */ this.PRT_15 = { index: 14, identifier: "PRT_15", description: "Participant Telecommunication Address", length: undefined, isOptional: true, isRepeatable: true, value: "", }; } } exports.default = PRT_Fields;