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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,7 @@ export interface TreatmentPlanUpdateRequest extends TreatmentPlansRequest {
138
148
  uuidConsult: string;
139
149
  diagnosis: DiagnosisRequest;
140
150
  plan: TreatmentAndDrugPrescriptionUpdateRequest;
151
+ refill?: boolean;
141
152
  }
142
153
  export interface TreatmentPlansResponseEntry {
143
154
  trackingId?: string;
@@ -135,7 +135,8 @@ export declare enum PracticeConfigKind {
135
135
  PracticeRegisterWalkthrough = "PracticeRegisterWalkthrough",
136
136
  PracticeExamsAndResults = "PracticeExamsAndResults",
137
137
  PracticeLayout = "PracticeLayout",
138
- PracticeAddressField = "PracticeAddressField"
138
+ PracticeAddressField = "PracticeAddressField",
139
+ PracticeDiagnosisAndTreatment = "PracticeDiagnosisAndTreatment"
139
140
  }
140
141
  /**
141
142
  * Defines the close consultation types to hide in the close consultation modal of a practice
@@ -340,7 +341,16 @@ export declare type PracticeConfigPracticeAddressField = PracticeConfig<Practice
340
341
  */
341
342
  longAddress?: boolean;
342
343
  }>;
343
- export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout | PracticeConfigPracticeAddressField;
344
+ /**
345
+ * This config is used for all configs related to the Diagnosis and Treatments module
346
+ */
347
+ export declare type PracticeConfigPracticeDiagnosisAndTreatment = PracticeConfig<PracticeConfigKind.PracticeDiagnosisAndTreatment, {
348
+ /**
349
+ * If true, then sort alphabetically the diagnoses, treatments, and drugs shown in their respective select dropdown
350
+ */
351
+ sortNames?: boolean;
352
+ }>;
353
+ export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout | PracticeConfigPracticeAddressField | PracticeConfigPracticeDiagnosisAndTreatment;
344
354
  export interface PracticeWorkflow {
345
355
  id?: number;
346
356
  uuidPractice: string;
@@ -580,6 +590,7 @@ export interface HydratedPracticeConfigs {
580
590
  [PracticeConfigKind.PracticeExamsAndResults]?: PracticeConfigPracticeExamsAndResults;
581
591
  [PracticeConfigKind.PracticeLayout]?: PracticeConfigPracticeLayout;
582
592
  [PracticeConfigKind.PracticeAddressField]?: PracticeConfigPracticeAddressField;
593
+ [PracticeConfigKind.PracticeDiagnosisAndTreatment]?: PracticeConfigPracticeDiagnosisAndTreatment;
583
594
  }
584
595
  export interface Practice {
585
596
  uuid: string;
@@ -1584,6 +1584,7 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
1584
1584
  PracticeConfigKind["PracticeExamsAndResults"] = "PracticeExamsAndResults";
1585
1585
  PracticeConfigKind["PracticeLayout"] = "PracticeLayout";
1586
1586
  PracticeConfigKind["PracticeAddressField"] = "PracticeAddressField";
1587
+ PracticeConfigKind["PracticeDiagnosisAndTreatment"] = "PracticeDiagnosisAndTreatment";
1587
1588
  })(exports.PracticeConfigKind || (exports.PracticeConfigKind = {}));
1588
1589
 
1589
1590
  (function (StripePriceType) {
@@ -2596,7 +2597,7 @@ var GuardService = /*#__PURE__*/function () {
2596
2597
  while (1) {
2597
2598
  switch (_context13.prev = _context13.next) {
2598
2599
  case 0:
2599
- return _context13.abrupt("return", this.identityGet(b64Hash.replace('+', '-').replace('/', '_')));
2600
+ return _context13.abrupt("return", this.identityGet(b64Hash.replace(/\+/g, '-').replace(/\//g, '_')));
2600
2601
 
2601
2602
  case 1:
2602
2603
  case "end":