@quesmed/types 2.6.256 → 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;
@@ -48,6 +97,7 @@ export interface IStationExaminerQuestion {
48
97
  question: string;
49
98
  }
50
99
  export interface IOsceStationPhaseTimer {
100
+ introPhase: number;
51
101
  readingPhase: number;
52
102
  stationPhase: number;
53
103
  examinerPhase: number;
@@ -74,6 +124,8 @@ export interface IOsceStation {
74
124
  topics?: ITopic[];
75
125
  picture: IPicture | null;
76
126
  candidatePictures?: IPicture[];
127
+ clinicalPictures?: IPicture[];
128
+ aiEnabled?: boolean;
77
129
  /**
78
130
  * This is used to tell if the station has examiner questions or not.
79
131
  */
@@ -89,6 +141,7 @@ export interface IOsceStation {
89
141
  demo?: boolean;
90
142
  userNote: null | IUserStationNote;
91
143
  public: boolean;
144
+ clinicalData?: IClinicalDataModule[];
92
145
  }
93
146
  export interface IOsceStationTopic {
94
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;
@@ -48,6 +97,7 @@ export interface IStationExaminerQuestion {
48
97
  question: string;
49
98
  }
50
99
  export interface IOsceStationPhaseTimer {
100
+ introPhase: number;
51
101
  readingPhase: number;
52
102
  stationPhase: number;
53
103
  examinerPhase: number;
@@ -74,6 +124,8 @@ export interface IOsceStation {
74
124
  topics?: ITopic[];
75
125
  picture: IPicture | null;
76
126
  candidatePictures?: IPicture[];
127
+ clinicalPictures?: IPicture[];
128
+ aiEnabled?: boolean;
77
129
  /**
78
130
  * This is used to tell if the station has examiner questions or not.
79
131
  */
@@ -89,6 +141,7 @@ export interface IOsceStation {
89
141
  demo?: boolean;
90
142
  userNote: null | IUserStationNote;
91
143
  public: boolean;
144
+ clinicalData?: IClinicalDataModule[];
92
145
  }
93
146
  export interface IOsceStationTopic {
94
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.256",
3
+ "version": "2.6.258",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",