oro-sdk-apis 1.58.1-dev1 → 1.58.1-dev1.2

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",
@@ -100,8 +100,7 @@ export interface DrugPrescription {
100
100
  drug: Drug;
101
101
  }
102
102
  export interface TreatmentAndDrugPrescription {
103
- treatment?: Treatment;
104
- prescriptionsAndDrugs?: DrugPrescription[];
103
+ treatmentsHistory?: TreatmentHistory[];
105
104
  notes?: string;
106
105
  status: PlanStatus;
107
106
  uuidTreatmentPlan: string;
@@ -111,6 +110,15 @@ export interface TreatmentAndDrugPrescription {
111
110
  decidedAt?: string;
112
111
  createdAt: string;
113
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
+ }
114
122
  export interface TreatmentPlans {
115
123
  uuidConsult: string;
116
124
  diagnosis: Diagnosis;
@@ -140,6 +148,9 @@ export interface TreatmentPlanUpdateRequest extends TreatmentPlansRequest {
140
148
  uuidConsult: string;
141
149
  diagnosis: DiagnosisRequest;
142
150
  plan: TreatmentAndDrugPrescriptionUpdateRequest;
151
+ /**
152
+ * request to refill the treatment plan
153
+ */
143
154
  refill?: boolean;
144
155
  }
145
156
  export interface TreatmentPlansResponseEntry {
@@ -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
@@ -1323,6 +1323,7 @@ var ApisPracticeManager = /*#__PURE__*/function () {
1323
1323
  MedicalStatus["Closed"] = "Closed";
1324
1324
  MedicalStatus["Reopened"] = "Reopened";
1325
1325
  MedicalStatus["Archived"] = "Archived";
1326
+ MedicalStatus["Failed"] = "Failed";
1326
1327
  })(exports.MedicalStatus || (exports.MedicalStatus = {}));
1327
1328
 
1328
1329
  (function (TaskStatus) {