@quesmed/types 2.6.257 → 2.6.258
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.
|
@@ -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
|
}
|
|
@@ -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
|
}
|