oro-sdk-apis 1.26.0 → 1.27.0-dev1
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 +9 -0
- package/dist/models/practice.d.ts +1 -0
- package/dist/oro-sdk-apis.cjs.development.js +17 -3
- 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 +20 -4
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +3 -3
- package/dist/services/teller.d.ts +2 -2
- package/package.json +1 -1
- package/src/models/consult.ts +10 -0
- package/src/models/practice.ts +1 -0
- package/src/services/consult.ts +9 -0
- package/src/services/teller.ts +5 -0
package/dist/models/consult.d.ts
CHANGED
|
@@ -74,6 +74,13 @@ export declare enum TaskStatus {
|
|
|
74
74
|
Blocked = "Blocked",
|
|
75
75
|
Done = "Done"
|
|
76
76
|
}
|
|
77
|
+
export declare enum ReasonWhyClosed {
|
|
78
|
+
Completed = "Completed",
|
|
79
|
+
NotADisease = "NotADisease",
|
|
80
|
+
NotAppropriateForVirtual = "NotAppropriateForVirtual",
|
|
81
|
+
Other = "Other",
|
|
82
|
+
RequiresInPerson = "RequiresInPerson"
|
|
83
|
+
}
|
|
77
84
|
export interface ConsultRequest {
|
|
78
85
|
uuidPractice: string;
|
|
79
86
|
tagSpecialtyRequired: string;
|
|
@@ -94,6 +101,8 @@ export interface Consult {
|
|
|
94
101
|
uuidAssignedDoctor: string;
|
|
95
102
|
uuidCurrentAssigned: string;
|
|
96
103
|
statusTask?: TaskStatus;
|
|
104
|
+
reasonWhyClosed?: ReasonWhyClosed;
|
|
105
|
+
reasonWhyOther?: string;
|
|
97
106
|
hasTransmissions?: boolean;
|
|
98
107
|
assignedAssistant?: ConsultAssignedAssistant[];
|
|
99
108
|
shortId?: string;
|
|
@@ -125,6 +125,7 @@ export declare type PracticeConfigPractitionerConsultList = PracticeConfig<Pract
|
|
|
125
125
|
hideLocality?: boolean;
|
|
126
126
|
hideFax?: boolean;
|
|
127
127
|
hideExpiresAt?: boolean;
|
|
128
|
+
showExpirationInDays?: boolean;
|
|
128
129
|
}>;
|
|
129
130
|
export declare type PracticeConfigPracticeLocaleSwitcher = PracticeConfig<PracticeConfigKind.PracticeLocaleSwitcher, {
|
|
130
131
|
hideLocaleSwitcher?: boolean;
|
|
@@ -1333,6 +1333,14 @@ var ApisPracticeManager = /*#__PURE__*/function () {
|
|
|
1333
1333
|
TaskStatus["Done"] = "Done";
|
|
1334
1334
|
})(exports.TaskStatus || (exports.TaskStatus = {}));
|
|
1335
1335
|
|
|
1336
|
+
(function (ReasonWhyClosed) {
|
|
1337
|
+
ReasonWhyClosed["Completed"] = "Completed";
|
|
1338
|
+
ReasonWhyClosed["NotADisease"] = "NotADisease";
|
|
1339
|
+
ReasonWhyClosed["NotAppropriateForVirtual"] = "NotAppropriateForVirtual";
|
|
1340
|
+
ReasonWhyClosed["Other"] = "Other";
|
|
1341
|
+
ReasonWhyClosed["RequiresInPerson"] = "RequiresInPerson";
|
|
1342
|
+
})(exports.ReasonWhyClosed || (exports.ReasonWhyClosed = {}));
|
|
1343
|
+
|
|
1336
1344
|
(function (VisibilityType) {
|
|
1337
1345
|
VisibilityType["Generic"] = "Generic";
|
|
1338
1346
|
VisibilityType["Private"] = "Private";
|
|
@@ -1607,13 +1615,15 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1607
1615
|
*/
|
|
1608
1616
|
;
|
|
1609
1617
|
|
|
1610
|
-
_proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1618
|
+
_proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, reasonsWhyClosed, reasonsWhyOther, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1611
1619
|
return this.api.head(this.baseURL + "/v1/consults", {
|
|
1612
1620
|
params: {
|
|
1613
1621
|
uuidPractice: uuidPractice,
|
|
1614
1622
|
uuidRequester: uuidRequester,
|
|
1615
1623
|
statusesMedical: statusesMedical,
|
|
1616
1624
|
statusesExclude: statusesExclude,
|
|
1625
|
+
reasonsWhyClosed: reasonsWhyClosed,
|
|
1626
|
+
reasonsWhyOther: reasonsWhyOther,
|
|
1617
1627
|
shortId: shortId,
|
|
1618
1628
|
perPage: perPage,
|
|
1619
1629
|
page: indexPage,
|
|
@@ -1654,13 +1664,15 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1654
1664
|
*/
|
|
1655
1665
|
;
|
|
1656
1666
|
|
|
1657
|
-
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1667
|
+
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, reasonsWhyClosed, reasonsWhyOther, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1658
1668
|
return this.api.get(this.baseURL + "/v1/consults", {
|
|
1659
1669
|
params: {
|
|
1660
1670
|
uuidPractice: uuidPractice,
|
|
1661
1671
|
uuidRequester: uuidRequester,
|
|
1662
1672
|
statusesMedical: statusesMedical,
|
|
1663
1673
|
statusesExclude: statusesExclude,
|
|
1674
|
+
reasonsWhyClosed: reasonsWhyClosed,
|
|
1675
|
+
reasonsWhyOther: reasonsWhyOther,
|
|
1664
1676
|
shortId: shortId,
|
|
1665
1677
|
perPage: perPage,
|
|
1666
1678
|
page: indexPage,
|
|
@@ -2900,10 +2912,12 @@ var TellerService = /*#__PURE__*/function () {
|
|
|
2900
2912
|
return lockboxDataStore;
|
|
2901
2913
|
}();
|
|
2902
2914
|
|
|
2903
|
-
_proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, neverExpires) {
|
|
2915
|
+
_proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, reasonWhyClosed, reasonWhyOther, neverExpires) {
|
|
2904
2916
|
return this.api.put(this.baseURL + "/v1/consults/" + uuidConsult, {
|
|
2905
2917
|
patientUuid: patientUuid,
|
|
2906
2918
|
statusMedical: statusMedical,
|
|
2919
|
+
reasonWhyClosed: reasonWhyClosed,
|
|
2920
|
+
reasonWhyOther: reasonWhyOther,
|
|
2907
2921
|
neverExpires: neverExpires
|
|
2908
2922
|
});
|
|
2909
2923
|
}
|