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.
- package/dist/models/consult.d.ts +2 -1
- package/dist/models/diagnosis.d.ts +16 -2
- package/dist/models/practice.d.ts +4 -4
- package/dist/oro-sdk-apis.cjs.development.js +817 -399
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +817 -399
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +6 -5
- package/src/models/consult.ts +1 -0
- package/src/models/diagnosis.ts +19 -3
- package/src/models/practice.ts +4 -4
package/dist/models/consult.d.ts
CHANGED
@@ -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
|
-
|
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
|
-
*
|
300
|
+
* Disable search indexing a consultation on its creation
|
301
301
|
*/
|
302
|
-
|
302
|
+
disableSearchIndexing?: boolean;
|
303
303
|
/**
|
304
|
-
*
|
304
|
+
* Disable search for consultations from the ConsultList
|
305
305
|
*/
|
306
|
-
|
306
|
+
disableSearch?: boolean;
|
307
307
|
}>;
|
308
308
|
/**
|
309
309
|
* This config is used to configure the register walkthrough
|