@quesmed/types-rn 2.6.39 → 2.6.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/models/Psa.d.ts
CHANGED
|
@@ -4,8 +4,7 @@ export declare enum EPrescriptionType {
|
|
|
4
4
|
Dose = 1,
|
|
5
5
|
Duration = 2,
|
|
6
6
|
Frequency = 3,
|
|
7
|
-
Route = 4
|
|
8
|
-
Unit = 5
|
|
7
|
+
Route = 4
|
|
9
8
|
}
|
|
10
9
|
export interface IPrescriptionItem {
|
|
11
10
|
id: Id;
|
|
@@ -25,6 +24,4 @@ export interface IQuestionPrescription {
|
|
|
25
24
|
frequencyVisible: boolean;
|
|
26
25
|
durationId: Id;
|
|
27
26
|
durationVisible: boolean;
|
|
28
|
-
unitId: Id;
|
|
29
|
-
unitVisible: boolean;
|
|
30
27
|
}
|
package/models/Psa.js
CHANGED
|
@@ -8,5 +8,4 @@ var EPrescriptionType;
|
|
|
8
8
|
EPrescriptionType[EPrescriptionType["Duration"] = 2] = "Duration";
|
|
9
9
|
EPrescriptionType[EPrescriptionType["Frequency"] = 3] = "Frequency";
|
|
10
10
|
EPrescriptionType[EPrescriptionType["Route"] = 4] = "Route";
|
|
11
|
-
EPrescriptionType[EPrescriptionType["Unit"] = 5] = "Unit";
|
|
12
11
|
})(EPrescriptionType = exports.EPrescriptionType || (exports.EPrescriptionType = {}));
|
package/models/Question.d.ts
CHANGED
|
@@ -204,7 +204,6 @@ export type IPrescribeAnswerData = {
|
|
|
204
204
|
export interface IPrescribeAnswer {
|
|
205
205
|
drug: IPrescribeAnswerData;
|
|
206
206
|
dose: IPrescribeAnswerData;
|
|
207
|
-
unit: IPrescribeAnswerData;
|
|
208
207
|
route: IPrescribeAnswerData;
|
|
209
208
|
frequency: IPrescribeAnswerData;
|
|
210
209
|
duration: IPrescribeAnswerData;
|
|
@@ -212,13 +211,11 @@ export interface IPrescribeAnswer {
|
|
|
212
211
|
export interface IPrescribeMark {
|
|
213
212
|
drugId: number;
|
|
214
213
|
doseId: number;
|
|
215
|
-
unitId: number;
|
|
216
214
|
routeId: number;
|
|
217
215
|
frequencyId: number;
|
|
218
216
|
durationId: number;
|
|
219
217
|
drugLabel?: string;
|
|
220
218
|
doseLabel?: string;
|
|
221
|
-
unitLabel?: string;
|
|
222
219
|
routeLabel?: string;
|
|
223
220
|
frequencyLabel?: string;
|
|
224
221
|
durationLabel?: string;
|
package/package.json
CHANGED
package/utils/commonFunctions.js
CHANGED
|
@@ -23,7 +23,6 @@ function mapPrescribeMarkToAnswer(obj) {
|
|
|
23
23
|
doseId: obj.dose.value,
|
|
24
24
|
durationId: obj.duration.value,
|
|
25
25
|
frequencyId: obj.frequency.value,
|
|
26
|
-
unitId: obj.unit.value,
|
|
27
26
|
routeId: obj.route.value,
|
|
28
27
|
};
|
|
29
28
|
}
|
|
@@ -32,7 +31,6 @@ function mapPrescribeMarkToAnswer(obj) {
|
|
|
32
31
|
doseId: obj.doseId,
|
|
33
32
|
durationId: obj.durationId,
|
|
34
33
|
frequencyId: obj.frequencyId,
|
|
35
|
-
unitId: obj.unitId,
|
|
36
34
|
routeId: obj.routeId,
|
|
37
35
|
};
|
|
38
36
|
}
|