oro-sdk-apis 1.58.1 → 3.0.0

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.
@@ -65,7 +65,8 @@ export declare enum MedicalStatus {
65
65
  Answered = "Answered",
66
66
  Closed = "Closed",
67
67
  Reopened = "Reopened",
68
- Archived = "Archived"
68
+ Archived = "Archived",
69
+ Failed = "Failed"
69
70
  }
70
71
  export declare enum TaskStatus {
71
72
  None = "None",
@@ -24,8 +24,10 @@ export interface Diagnosis extends DiagnosisRequest {
24
24
  export interface TreatmentRequest {
25
25
  uuid?: string;
26
26
  uuidDiagnosis?: string;
27
+ uuidParentTreatment?: string;
27
28
  name: string;
28
29
  description: string;
30
+ refillable?: boolean;
29
31
  urlMultimedia?: string;
30
32
  type?: TreatmentType;
31
33
  }
@@ -98,8 +100,7 @@ export interface DrugPrescription {
98
100
  drug: Drug;
99
101
  }
100
102
  export interface TreatmentAndDrugPrescription {
101
- treatment?: Treatment;
102
- prescriptionsAndDrugs?: DrugPrescription[];
103
+ treatmentsHistory?: TreatmentHistory[];
103
104
  notes?: string;
104
105
  status: PlanStatus;
105
106
  uuidTreatmentPlan: string;
@@ -109,6 +110,15 @@ export interface TreatmentAndDrugPrescription {
109
110
  decidedAt?: string;
110
111
  createdAt: string;
111
112
  }
113
+ /**
114
+ * An entry in the history of the treatments of the patient.
115
+ * The history entry consists of the treatment and the prescriptions and the drugs
116
+ * that were prescribed to the patient at that point of history
117
+ */
118
+ export interface TreatmentHistory {
119
+ treatment: Treatment;
120
+ prescriptionsAndDrugs: DrugPrescription[];
121
+ }
112
122
  export interface TreatmentPlans {
113
123
  uuidConsult: string;
114
124
  diagnosis: Diagnosis;
@@ -138,6 +148,10 @@ export interface TreatmentPlanUpdateRequest extends TreatmentPlansRequest {
138
148
  uuidConsult: string;
139
149
  diagnosis: DiagnosisRequest;
140
150
  plan: TreatmentAndDrugPrescriptionUpdateRequest;
151
+ /**
152
+ * request to refill the treatment plan
153
+ */
154
+ refill?: boolean;
141
155
  }
142
156
  export interface TreatmentPlansResponseEntry {
143
157
  trackingId?: string;
@@ -297,13 +297,13 @@ export declare type PracticeConfigPracticePrescriptionFields = PracticeConfig<Pr
297
297
  */
298
298
  export declare type PracticeConfigPractitionerSearch = PracticeConfig<PracticeConfigKind.PractitionerSearch, {
299
299
  /**
300
- * Enables search indexing a consultation on its creation
300
+ * Disable search indexing a consultation on its creation
301
301
  */
302
- enableSearchIndexing?: boolean;
302
+ disableSearchIndexing?: boolean;
303
303
  /**
304
- * Enables to search for consultations from the ConsultList
304
+ * Disable search for consultations from the ConsultList
305
305
  */
306
- enableSearch?: boolean;
306
+ disableSearch?: boolean;
307
307
  }>;
308
308
  /**
309
309
  * This config is used to configure the register walkthrough