@quesmed/types-rn 2.6.269 → 2.6.271

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.
@@ -19,7 +19,7 @@ export interface IOsceMarksheetMark {
19
19
  id: Id;
20
20
  index: number;
21
21
  mark: number | null;
22
- reason?: string;
22
+ comment?: string;
23
23
  suggestion?: string;
24
24
  selectedChoice: Nullable<EPaceMarkType>;
25
25
  osceMarksheetId: Id;
@@ -65,7 +65,8 @@ export declare enum EOsceMarksheetMode {
65
65
  }
66
66
  export declare enum EOsceStationPhase {
67
67
  PATIENT = "PATIENT",
68
- EXAMINER = "EXAMINER"
68
+ EXAMINER = "EXAMINER",
69
+ EXAMINATION = "EXAMINATION"
69
70
  }
70
71
  export interface IOsceMarksheetMessage {
71
72
  id: Id;
@@ -44,6 +44,7 @@ var EOsceStationPhase;
44
44
  (function (EOsceStationPhase) {
45
45
  EOsceStationPhase["PATIENT"] = "PATIENT";
46
46
  EOsceStationPhase["EXAMINER"] = "EXAMINER";
47
+ EOsceStationPhase["EXAMINATION"] = "EXAMINATION";
47
48
  })(EOsceStationPhase = exports.EOsceStationPhase || (exports.EOsceStationPhase = {}));
48
49
  var EOsceTimerState;
49
50
  (function (EOsceTimerState) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.269",
3
+ "version": "2.6.271",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -103,6 +103,8 @@ exports.OSCE_MARKSHEET_MARK_FIELDS = (0, client_1.gql) `
103
103
  score
104
104
  secondaryMark
105
105
  selectedChoice
106
+ comment
107
+ suggestion
106
108
  osceMarksheetId
107
109
  osceStationMarkId
108
110
  osceStationMark {
@@ -258,7 +260,7 @@ exports.UPSERT_STATION_NOTE_FRAGMENT = (0, client_1.gql) `
258
260
  exports.AUTO_MARKED_OSCE_MARKSHEET_MARK_FIELDS = (0, client_1.gql) `
259
261
  fragment AutoMarkedOsceMarksheetMarkFields on OsceMarksheetMark {
260
262
  mark
261
- reason
263
+ comment
262
264
  suggestion
263
265
  }
264
266
  `;
@@ -366,8 +366,9 @@ const updateCacheOnEndOsceMarksheet = (productType) => (cache, result, options)
366
366
  __typename: 'OsceMarksheetMark',
367
367
  }),
368
368
  fields: {
369
+ secondaryMark: () => mark.secondaryMark,
369
370
  mark: () => mark.mark,
370
- reason: () => mark.reason,
371
+ comment: () => mark.comment,
371
372
  suggestion: () => mark.suggestion,
372
373
  },
373
374
  });
@@ -460,7 +461,8 @@ const updateCacheOnAutoMarkOsceMarksheet = (cache, result, options) => {
460
461
  }),
461
462
  fields: {
462
463
  mark: () => mark.mark,
463
- reason: () => mark.reason,
464
+ secondaryMark: () => mark.secondaryMark,
465
+ comment: () => mark.comment,
464
466
  suggestion: () => mark.suggestion,
465
467
  },
466
468
  });