oro-sdk-apis 4.2.1 → 4.2.3

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": "4.2.1",
2
+ "version": "4.2.3",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -26,6 +26,12 @@ export interface Diagnosis extends DiagnosisRequest {
26
26
  createdAt: string
27
27
  }
28
28
 
29
+ // Type defined to store all consult related data linked to a given treatment
30
+ export interface TreatmentAssociatedConsultData {
31
+ uuidConsult: string
32
+ consultKind: string
33
+ }
34
+
29
35
  export interface TreatmentRequest {
30
36
  uuid?: string
31
37
  uuidDiagnosis?: string
@@ -43,6 +49,7 @@ export interface Treatment extends TreatmentRequest {
43
49
  uuidDiagnosis: string
44
50
  uuidPractitioner?: string
45
51
  createdAt: string
52
+ associatedConsultsData: TreatmentAssociatedConsultData[]
46
53
  }
47
54
 
48
55
  export enum DrugType {
@@ -164,6 +164,7 @@ export type PermissionBasedScopes =
164
164
  | 'practice.assignments.post'
165
165
  | 'practice.emails.get'
166
166
  | 'practice.configs.get'
167
+ | 'practice.practitioners.get'
167
168
  | 'practice.invoices.get'
168
169
  | 'practice.payments.get'
169
170
  | 'practice.secrets.get'