@dotbase/hl7-v2-message
Version:
Parses HL7 v2.x messages into typed javascript objects and makes them easily accessable.
311 lines (310 loc) • 8.25 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const Hl7Fields_1 = tslib_1.__importDefault(require("../../../model/Hl7Fields"));
class CON_Fields extends Hl7Fields_1.default {
constructor() {
super(...arguments);
/**
* Set ID - CON
*/
this.CON_1 = {
index: 0,
identifier: "CON_1",
description: "Set ID - CON",
length: 4,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Consent Type
*/
this.CON_2 = {
index: 1,
identifier: "CON_2",
description: "Consent Type",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Form ID and Version
*/
this.CON_3 = {
index: 2,
identifier: "CON_3",
description: "Consent Form ID and Version",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Form Number
*/
this.CON_4 = {
index: 3,
identifier: "CON_4",
description: "Consent Form Number",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Text
*/
this.CON_5 = {
index: 4,
identifier: "CON_5",
description: "Consent Text",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Subject-specific Consent Text
*/
this.CON_6 = {
index: 5,
identifier: "CON_6",
description: "Subject-specific Consent Text",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Consent Background Information
*/
this.CON_7 = {
index: 6,
identifier: "CON_7",
description: "Consent Background Information",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Subject-specific Consent Background Text
*/
this.CON_8 = {
index: 7,
identifier: "CON_8",
description: "Subject-specific Consent Background Text",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Consenter-imposed limitations
*/
this.CON_9 = {
index: 8,
identifier: "CON_9",
description: "Consenter-imposed limitations",
length: undefined,
isOptional: true,
isRepeatable: true,
value: "",
};
/**
* Consent Mode
*/
this.CON_10 = {
index: 9,
identifier: "CON_10",
description: "Consent Mode",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Status
*/
this.CON_11 = {
index: 10,
identifier: "CON_11",
description: "Consent Status",
length: undefined,
isOptional: false,
isRepeatable: false,
value: "",
};
/**
* Consent Discussion Date/Time
*/
this.CON_12 = {
index: 11,
identifier: "CON_12",
description: "Consent Discussion Date/Time",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Decision Date/Time
*/
this.CON_13 = {
index: 12,
identifier: "CON_13",
description: "Consent Decision Date/Time",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Effective Date/Time
*/
this.CON_14 = {
index: 13,
identifier: "CON_14",
description: "Consent Effective Date/Time",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent End Date/Time
*/
this.CON_15 = {
index: 14,
identifier: "CON_15",
description: "Consent End Date/Time",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Subject Competence Indicator
*/
this.CON_16 = {
index: 15,
identifier: "CON_16",
description: "Subject Competence Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Translator Assistance Indicator
*/
this.CON_17 = {
index: 16,
identifier: "CON_17",
description: "Translator Assistance Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Language Translated To
*/
this.CON_18 = {
index: 17,
identifier: "CON_18",
description: "Language Translated To",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Informational Material Supplied Indicator
*/
this.CON_19 = {
index: 18,
identifier: "CON_19",
description: "Informational Material Supplied Indicator",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Bypass Reason
*/
this.CON_20 = {
index: 19,
identifier: "CON_20",
description: "Consent Bypass Reason",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Disclosure Level
*/
this.CON_21 = {
index: 20,
identifier: "CON_21",
description: "Consent Disclosure Level",
length: 1,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consent Non-disclosure Reason
*/
this.CON_22 = {
index: 21,
identifier: "CON_22",
description: "Consent Non-disclosure Reason",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Non-subject Consenter Reason
*/
this.CON_23 = {
index: 22,
identifier: "CON_23",
description: "Non-subject Consenter Reason",
length: undefined,
isOptional: true,
isRepeatable: false,
value: "",
};
/**
* Consenter ID
*/
this.CON_24 = {
index: 23,
identifier: "CON_24",
description: "Consenter ID",
length: undefined,
isOptional: false,
isRepeatable: true,
value: "",
};
/**
* Relationship to Subject
*/
this.CON_25 = {
index: 24,
identifier: "CON_25",
description: "Relationship to Subject ",
length: undefined,
isOptional: false,
isRepeatable: true,
value: "",
};
}
}
exports.default = CON_Fields;