@taphealth/kafka 1.6.36 → 1.6.37

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.
@@ -4,7 +4,7 @@ export interface PlanUpdatedEvent {
4
4
  topic: Topics.PlanUpdated;
5
5
  data: {
6
6
  userId: string;
7
- guidelines: Record<string, any>;
7
+ guidelines?: Record<string, string>;
8
8
  trigger: PlanUpdatedTrigger;
9
9
  };
10
10
  }
@@ -92,9 +92,19 @@ export interface DietSettings {
92
92
  lunchPreference?: string[];
93
93
  dinnerPreference?: string[];
94
94
  }
95
+ export interface MedicalConditionData {
96
+ id: string;
97
+ snomedConceptId?: string;
98
+ label: string;
99
+ clinicalCourse?: "EPISODIC" | "CHRONIC" | "ACUTE" | "RECURRENT";
100
+ status: "ACTIVE" | "RESOLVED" | "IN_REMISSION";
101
+ certainty: "CONFIRMED" | "SUSPECTED" | "RULED_OUT";
102
+ source: "SELF_REPORTED" | "CLINICAL" | "LAB_RESULT";
103
+ }
95
104
  export interface MedicalSettings {
96
- medicalConditions: string[];
97
- recentSurgery: boolean;
105
+ medicalConditions?: string[];
106
+ conditions?: MedicalConditionData[];
107
+ recentSurgery?: boolean;
98
108
  }
99
109
  export interface LifeStyleRoutineSettings {
100
110
  currentFamilyStructure: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taphealth/kafka",
3
- "version": "1.6.36",
3
+ "version": "1.6.37",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",