oro-sdk-apis 1.58.1-dev1.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,10 +24,8 @@ export interface Diagnosis extends DiagnosisRequest {
24
24
  export interface TreatmentRequest {
25
25
  uuid?: string;
26
26
  uuidDiagnosis?: string;
27
- uuidParentTreatment?: string;
28
27
  name: string;
29
28
  description: string;
30
- refillable?: boolean;
31
29
  urlMultimedia?: string;
32
30
  type?: TreatmentType;
33
31
  }
@@ -100,7 +98,8 @@ export interface DrugPrescription {
100
98
  drug: Drug;
101
99
  }
102
100
  export interface TreatmentAndDrugPrescription {
103
- treatmentsHistory?: TreatmentHistory[];
101
+ treatment?: Treatment;
102
+ prescriptionsAndDrugs?: DrugPrescription[];
104
103
  notes?: string;
105
104
  status: PlanStatus;
106
105
  uuidTreatmentPlan: string;
@@ -110,15 +109,6 @@ export interface TreatmentAndDrugPrescription {
110
109
  decidedAt?: string;
111
110
  createdAt: string;
112
111
  }
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
- }
122
112
  export interface TreatmentPlans {
123
113
  uuidConsult: string;
124
114
  diagnosis: Diagnosis;
@@ -148,7 +138,6 @@ export interface TreatmentPlanUpdateRequest extends TreatmentPlansRequest {
148
138
  uuidConsult: string;
149
139
  diagnosis: DiagnosisRequest;
150
140
  plan: TreatmentAndDrugPrescriptionUpdateRequest;
151
- refill?: boolean;
152
141
  }
153
142
  export interface TreatmentPlansResponseEntry {
154
143
  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