@quesmed/types 2.6.257 → 2.6.259
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/dist/cjs/models/Job.d.ts +2 -1
- package/dist/cjs/models/Job.js +1 -0
- package/dist/cjs/models/OsceStation.d.ts +52 -0
- package/dist/cjs/resolvers/fragments/osce.js +4 -0
- package/dist/mjs/models/Job.d.ts +2 -1
- package/dist/mjs/models/Job.js +1 -0
- package/dist/mjs/models/OsceStation.d.ts +52 -0
- package/dist/mjs/resolvers/fragments/osce.js +4 -0
- package/package.json +1 -1
package/dist/cjs/models/Job.d.ts
CHANGED
package/dist/cjs/models/Job.js
CHANGED
|
@@ -96,6 +96,7 @@ var ELightGalleryType;
|
|
|
96
96
|
ELightGalleryType[ELightGalleryType["WALKTHROUGH"] = 8] = "WALKTHROUGH";
|
|
97
97
|
ELightGalleryType[ELightGalleryType["ACTOR"] = 9] = "ACTOR";
|
|
98
98
|
ELightGalleryType[ELightGalleryType["CHOICE_EXPLANATION"] = 10] = "CHOICE_EXPLANATION";
|
|
99
|
+
ELightGalleryType[ELightGalleryType["CLINICAL_DATA"] = 11] = "CLINICAL_DATA";
|
|
99
100
|
})(ELightGalleryType = exports.ELightGalleryType || (exports.ELightGalleryType = {}));
|
|
100
101
|
var EJobRemarkStatus;
|
|
101
102
|
(function (EJobRemarkStatus) {
|
|
@@ -8,6 +8,55 @@ import { ITopic } from './Topic';
|
|
|
8
8
|
import { Id } from './Type';
|
|
9
9
|
import { EUserLearningStatus } from './User';
|
|
10
10
|
import { IVideo } from './Video';
|
|
11
|
+
export type ClinicalDataFlag = 'high' | 'low' | 'normal' | 'abnormal' | null;
|
|
12
|
+
export interface IClinicalDataObservationItem {
|
|
13
|
+
name: string;
|
|
14
|
+
value: string;
|
|
15
|
+
unit?: string;
|
|
16
|
+
flag?: ClinicalDataFlag;
|
|
17
|
+
context?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IClinicalDataLabRow {
|
|
20
|
+
name: string;
|
|
21
|
+
value: string;
|
|
22
|
+
unit?: string;
|
|
23
|
+
ref?: string;
|
|
24
|
+
flag?: ClinicalDataFlag;
|
|
25
|
+
/** Pos/Neg, +++, etc. — render pill, not ↑/↓ arrow. */
|
|
26
|
+
qualitative?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface IClinicalDataObservationsModule {
|
|
29
|
+
type: 'observations';
|
|
30
|
+
title: string;
|
|
31
|
+
items: IClinicalDataObservationItem[];
|
|
32
|
+
context?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IClinicalDataLabPanelModule {
|
|
35
|
+
type: 'labPanel';
|
|
36
|
+
title: string;
|
|
37
|
+
category: string;
|
|
38
|
+
rows: IClinicalDataLabRow[];
|
|
39
|
+
conditions?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface IClinicalDataEcgModule {
|
|
42
|
+
type: 'ecg';
|
|
43
|
+
title: string;
|
|
44
|
+
interpretation: string | null;
|
|
45
|
+
imageRef?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IClinicalDataImagingModule {
|
|
48
|
+
type: 'imaging';
|
|
49
|
+
title: string;
|
|
50
|
+
modality: string;
|
|
51
|
+
imageRef?: string;
|
|
52
|
+
caption?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface IClinicalDataFreeTextModule {
|
|
55
|
+
type: 'freeText';
|
|
56
|
+
title: string;
|
|
57
|
+
body: string;
|
|
58
|
+
}
|
|
59
|
+
export type IClinicalDataModule = IClinicalDataObservationsModule | IClinicalDataLabPanelModule | IClinicalDataEcgModule | IClinicalDataImagingModule | IClinicalDataFreeTextModule;
|
|
11
60
|
export interface IOsceType {
|
|
12
61
|
id: Id;
|
|
13
62
|
name: string;
|
|
@@ -75,6 +124,8 @@ export interface IOsceStation {
|
|
|
75
124
|
topics?: ITopic[];
|
|
76
125
|
picture: IPicture | null;
|
|
77
126
|
candidatePictures?: IPicture[];
|
|
127
|
+
clinicalPictures?: IPicture[];
|
|
128
|
+
aiEnabled?: boolean;
|
|
78
129
|
/**
|
|
79
130
|
* This is used to tell if the station has examiner questions or not.
|
|
80
131
|
*/
|
|
@@ -90,6 +141,7 @@ export interface IOsceStation {
|
|
|
90
141
|
demo?: boolean;
|
|
91
142
|
userNote: null | IUserStationNote;
|
|
92
143
|
public: boolean;
|
|
144
|
+
clinicalData?: IClinicalDataModule[];
|
|
93
145
|
}
|
|
94
146
|
export interface IOsceStationTopic {
|
|
95
147
|
id: Id;
|
|
@@ -65,6 +65,7 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
|
|
|
65
65
|
id
|
|
66
66
|
name
|
|
67
67
|
}
|
|
68
|
+
clinicalData
|
|
68
69
|
picture {
|
|
69
70
|
...PictureFields
|
|
70
71
|
}
|
|
@@ -80,6 +81,9 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
|
|
|
80
81
|
walkthroughPictures {
|
|
81
82
|
...PictureFields
|
|
82
83
|
}
|
|
84
|
+
clinicalPictures {
|
|
85
|
+
...PictureFields
|
|
86
|
+
}
|
|
83
87
|
videos {
|
|
84
88
|
...VideoFields
|
|
85
89
|
}
|
package/dist/mjs/models/Job.d.ts
CHANGED
package/dist/mjs/models/Job.js
CHANGED
|
@@ -93,6 +93,7 @@ export var ELightGalleryType;
|
|
|
93
93
|
ELightGalleryType[ELightGalleryType["WALKTHROUGH"] = 8] = "WALKTHROUGH";
|
|
94
94
|
ELightGalleryType[ELightGalleryType["ACTOR"] = 9] = "ACTOR";
|
|
95
95
|
ELightGalleryType[ELightGalleryType["CHOICE_EXPLANATION"] = 10] = "CHOICE_EXPLANATION";
|
|
96
|
+
ELightGalleryType[ELightGalleryType["CLINICAL_DATA"] = 11] = "CLINICAL_DATA";
|
|
96
97
|
})(ELightGalleryType || (ELightGalleryType = {}));
|
|
97
98
|
export var EJobRemarkStatus;
|
|
98
99
|
(function (EJobRemarkStatus) {
|
|
@@ -8,6 +8,55 @@ import { ITopic } from './Topic';
|
|
|
8
8
|
import { Id } from './Type';
|
|
9
9
|
import { EUserLearningStatus } from './User';
|
|
10
10
|
import { IVideo } from './Video';
|
|
11
|
+
export type ClinicalDataFlag = 'high' | 'low' | 'normal' | 'abnormal' | null;
|
|
12
|
+
export interface IClinicalDataObservationItem {
|
|
13
|
+
name: string;
|
|
14
|
+
value: string;
|
|
15
|
+
unit?: string;
|
|
16
|
+
flag?: ClinicalDataFlag;
|
|
17
|
+
context?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IClinicalDataLabRow {
|
|
20
|
+
name: string;
|
|
21
|
+
value: string;
|
|
22
|
+
unit?: string;
|
|
23
|
+
ref?: string;
|
|
24
|
+
flag?: ClinicalDataFlag;
|
|
25
|
+
/** Pos/Neg, +++, etc. — render pill, not ↑/↓ arrow. */
|
|
26
|
+
qualitative?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface IClinicalDataObservationsModule {
|
|
29
|
+
type: 'observations';
|
|
30
|
+
title: string;
|
|
31
|
+
items: IClinicalDataObservationItem[];
|
|
32
|
+
context?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IClinicalDataLabPanelModule {
|
|
35
|
+
type: 'labPanel';
|
|
36
|
+
title: string;
|
|
37
|
+
category: string;
|
|
38
|
+
rows: IClinicalDataLabRow[];
|
|
39
|
+
conditions?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface IClinicalDataEcgModule {
|
|
42
|
+
type: 'ecg';
|
|
43
|
+
title: string;
|
|
44
|
+
interpretation: string | null;
|
|
45
|
+
imageRef?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IClinicalDataImagingModule {
|
|
48
|
+
type: 'imaging';
|
|
49
|
+
title: string;
|
|
50
|
+
modality: string;
|
|
51
|
+
imageRef?: string;
|
|
52
|
+
caption?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface IClinicalDataFreeTextModule {
|
|
55
|
+
type: 'freeText';
|
|
56
|
+
title: string;
|
|
57
|
+
body: string;
|
|
58
|
+
}
|
|
59
|
+
export type IClinicalDataModule = IClinicalDataObservationsModule | IClinicalDataLabPanelModule | IClinicalDataEcgModule | IClinicalDataImagingModule | IClinicalDataFreeTextModule;
|
|
11
60
|
export interface IOsceType {
|
|
12
61
|
id: Id;
|
|
13
62
|
name: string;
|
|
@@ -75,6 +124,8 @@ export interface IOsceStation {
|
|
|
75
124
|
topics?: ITopic[];
|
|
76
125
|
picture: IPicture | null;
|
|
77
126
|
candidatePictures?: IPicture[];
|
|
127
|
+
clinicalPictures?: IPicture[];
|
|
128
|
+
aiEnabled?: boolean;
|
|
78
129
|
/**
|
|
79
130
|
* This is used to tell if the station has examiner questions or not.
|
|
80
131
|
*/
|
|
@@ -90,6 +141,7 @@ export interface IOsceStation {
|
|
|
90
141
|
demo?: boolean;
|
|
91
142
|
userNote: null | IUserStationNote;
|
|
92
143
|
public: boolean;
|
|
144
|
+
clinicalData?: IClinicalDataModule[];
|
|
93
145
|
}
|
|
94
146
|
export interface IOsceStationTopic {
|
|
95
147
|
id: Id;
|
|
@@ -62,6 +62,7 @@ export const OSCE_STATION_FIELDS = gql `
|
|
|
62
62
|
id
|
|
63
63
|
name
|
|
64
64
|
}
|
|
65
|
+
clinicalData
|
|
65
66
|
picture {
|
|
66
67
|
...PictureFields
|
|
67
68
|
}
|
|
@@ -77,6 +78,9 @@ export const OSCE_STATION_FIELDS = gql `
|
|
|
77
78
|
walkthroughPictures {
|
|
78
79
|
...PictureFields
|
|
79
80
|
}
|
|
81
|
+
clinicalPictures {
|
|
82
|
+
...PictureFields
|
|
83
|
+
}
|
|
80
84
|
videos {
|
|
81
85
|
...VideoFields
|
|
82
86
|
}
|