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

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.58.1-dev1",
2
+ "version": "1.58.1-dev1.1",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -116,8 +116,7 @@ export interface DrugPrescription {
116
116
  }
117
117
 
118
118
  export interface TreatmentAndDrugPrescription {
119
- treatment?: Treatment
120
- prescriptionsAndDrugs?: DrugPrescription[]
119
+ treatmentsHistory?: TreatmentHistory[]
121
120
  notes?: string
122
121
  status: PlanStatus
123
122
  uuidTreatmentPlan: string
@@ -127,6 +126,17 @@ export interface TreatmentAndDrugPrescription {
127
126
  decidedAt?: string
128
127
  createdAt: string
129
128
  }
129
+
130
+ /**
131
+ * An entry in the history of the treatments of the patient.
132
+ * The history entry consists of the treatment and the prescriptions and the drugs
133
+ * that were prescribed to the patient at that point of history
134
+ */
135
+ export interface TreatmentHistory {
136
+ treatment: Treatment
137
+ prescriptionsAndDrugs: DrugPrescription[]
138
+ }
139
+
130
140
  export interface TreatmentPlans {
131
141
  uuidConsult: string
132
142
  diagnosis: Diagnosis