oro-sdk-apis 1.35.0-dev1 → 1.35.0-dev4
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 +55 -0
- package/dist/models/diagnosis.d.ts +0 -5
- package/dist/oro-sdk-apis.cjs.development.js +429 -822
- 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 +432 -825
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +3 -1
- package/dist/services/teller.d.ts +2 -2
- package/package.json +1 -1
- package/src/models/consult.ts +58 -0
- package/src/models/diagnosis.ts +1 -7
- package/src/services/consult.ts +3 -0
- package/src/services/teller.ts +6 -1
- package/LICENSE +0 -21
package/dist/models/consult.d.ts
CHANGED
@@ -74,6 +74,60 @@ export declare enum TaskStatus {
|
|
74
74
|
Blocked = "Blocked",
|
75
75
|
Done = "Done"
|
76
76
|
}
|
77
|
+
export declare enum ClosedReasonType {
|
78
|
+
/**
|
79
|
+
* A completed consultation
|
80
|
+
*/
|
81
|
+
Completed = "Completed",
|
82
|
+
/**
|
83
|
+
* The conclusion was that what the patient submitted was not a disease
|
84
|
+
*/
|
85
|
+
NotADisease = "NotADisease",
|
86
|
+
/**
|
87
|
+
* The consultation was not appropriate for virtual
|
88
|
+
*/
|
89
|
+
NotAppropriateForVirtual = "NotAppropriateForVirtual",
|
90
|
+
/**
|
91
|
+
* Any other reason why the consultation was closed
|
92
|
+
*/
|
93
|
+
Other = "Other",
|
94
|
+
/**
|
95
|
+
* A consultation that is required to be done in person
|
96
|
+
*/
|
97
|
+
RequiresInPerson = "RequiresInPerson"
|
98
|
+
}
|
99
|
+
export interface ClosedConsultReasonInsertFields {
|
100
|
+
/**
|
101
|
+
* The uuid of the consultation
|
102
|
+
*/
|
103
|
+
consult_uuid: string;
|
104
|
+
/**
|
105
|
+
* The reason why the consultation was closed
|
106
|
+
*/
|
107
|
+
closed_reason_type: ClosedReasonType;
|
108
|
+
/**
|
109
|
+
* The description why the consultation was closed
|
110
|
+
*/
|
111
|
+
closed_reason_description: string;
|
112
|
+
/**
|
113
|
+
* When the consultation was closed
|
114
|
+
*/
|
115
|
+
created_at: string;
|
116
|
+
}
|
117
|
+
export interface ConsultClosedReason {
|
118
|
+
/**
|
119
|
+
* The reason why the consultation was closed
|
120
|
+
*/
|
121
|
+
closedReasonType: ClosedReasonType;
|
122
|
+
/**
|
123
|
+
* The description why the consultation was closed
|
124
|
+
*/
|
125
|
+
closedReasonDescription: string;
|
126
|
+
/**
|
127
|
+
* When the consultation was closed
|
128
|
+
*/
|
129
|
+
createdAt: string;
|
130
|
+
}
|
77
131
|
export interface ConsultRequest {
|
78
132
|
uuidPractice: string;
|
79
133
|
tagSpecialtyRequired: string;
|
@@ -96,6 +150,7 @@ export interface Consult {
|
|
96
150
|
statusTask?: TaskStatus;
|
97
151
|
hasTransmissions?: boolean;
|
98
152
|
assignedAssistant?: ConsultAssignedAssistant[];
|
153
|
+
closeConsultReason?: ConsultClosedReason;
|
99
154
|
shortId?: string;
|
100
155
|
createdAt?: string;
|
101
156
|
expiresAt?: string;
|
@@ -56,10 +56,6 @@ export interface Drug extends DrugRequest {
|
|
56
56
|
uuidPractitioner?: string;
|
57
57
|
createdAt: string;
|
58
58
|
}
|
59
|
-
export declare enum PrescriptionStatus {
|
60
|
-
Existing = "Existing",
|
61
|
-
Deleted = "Deleted"
|
62
|
-
}
|
63
59
|
export interface PrescriptionRequest {
|
64
60
|
uuid?: string;
|
65
61
|
uuidTreatment?: string;
|
@@ -71,7 +67,6 @@ export interface PrescriptionRequest {
|
|
71
67
|
export interface Prescription extends PrescriptionRequest {
|
72
68
|
uuid: string;
|
73
69
|
uuidTreatment: string;
|
74
|
-
status: PrescriptionStatus;
|
75
70
|
createdAt: string;
|
76
71
|
}
|
77
72
|
export declare enum PlanStatus {
|