oro-sdk-apis 1.34.1 → 1.35.0-dev3
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/oro-sdk-apis.cjs.development.js +30 -1
- 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 +33 -2
- 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/services/consult.ts +3 -0
- package/src/services/teller.ts +6 -1
- package/LICENSE +0 -21
package/dist/oro-sdk-apis.esm.js
CHANGED
@@ -922,6 +922,35 @@ var TaskStatus;
|
|
922
922
|
TaskStatus["Done"] = "Done";
|
923
923
|
})(TaskStatus || (TaskStatus = {}));
|
924
924
|
|
925
|
+
var ClosedReasonType;
|
926
|
+
|
927
|
+
(function (ClosedReasonType) {
|
928
|
+
/**
|
929
|
+
* A completed consultation
|
930
|
+
*/
|
931
|
+
ClosedReasonType["Completed"] = "Completed";
|
932
|
+
/**
|
933
|
+
* The conclusion was that what the patient submitted was not a disease
|
934
|
+
*/
|
935
|
+
|
936
|
+
ClosedReasonType["NotADisease"] = "NotADisease";
|
937
|
+
/**
|
938
|
+
* The consultation was not appropriate for virtual
|
939
|
+
*/
|
940
|
+
|
941
|
+
ClosedReasonType["NotAppropriateForVirtual"] = "NotAppropriateForVirtual";
|
942
|
+
/**
|
943
|
+
* Any other reason why the consultation was closed
|
944
|
+
*/
|
945
|
+
|
946
|
+
ClosedReasonType["Other"] = "Other";
|
947
|
+
/**
|
948
|
+
* A consultation that is required to be done in person
|
949
|
+
*/
|
950
|
+
|
951
|
+
ClosedReasonType["RequiresInPerson"] = "RequiresInPerson";
|
952
|
+
})(ClosedReasonType || (ClosedReasonType = {}));
|
953
|
+
|
925
954
|
var VisibilityType;
|
926
955
|
|
927
956
|
(function (VisibilityType) {
|
@@ -2544,10 +2573,12 @@ var TellerService = /*#__PURE__*/function () {
|
|
2544
2573
|
return lockboxDataStore;
|
2545
2574
|
}();
|
2546
2575
|
|
2547
|
-
_proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, neverExpires) {
|
2576
|
+
_proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, closedReasonType, closedReasonDescription, neverExpires) {
|
2548
2577
|
return this.api.put(this.baseURL + "/v1/consults/" + uuidConsult, {
|
2549
2578
|
patientUuid: patientUuid,
|
2550
2579
|
statusMedical: statusMedical,
|
2580
|
+
closedReasonType: closedReasonType,
|
2581
|
+
closedReasonDescription: closedReasonDescription,
|
2551
2582
|
neverExpires: neverExpires
|
2552
2583
|
});
|
2553
2584
|
}
|
@@ -3089,5 +3120,5 @@ var init = function init(services, authenticationCallback, useLocalStorage) {
|
|
3089
3120
|
};
|
3090
3121
|
|
3091
3122
|
export default init;
|
3092
|
-
export { APIService, ApisPracticeManager, AssignmentStatus, AssistantType, AuthenticationBadRequest, AuthenticationFailed, AuthenticationServerError, AuthenticationUnconfirmedEmail, AxiosService, ConsultService, DiagnosisService, DocumentType, DrugType, FeeStatus, GuardService, IdentityCreationBadRequest, IdentityCreationConflict, IdentityCreationFailed, IndexKey, LicenseStatus, MedicalStatus, MetadataCategory, OtherRoleType, PaymentStatus, PeriodType, PlanStatus, PlanType, PracticeConfigKind, PracticeEmailKind, PracticeService, PractitionerStatus, PractitionnerRoleType, RateDimension, StripePriceType, SyncStatus, TaskStatus, TellerService, TransmissionKind, TransmissionStatus, VaultService, VisibilityType, WorkflowService, WorkflowType, hashToBase64String, init };
|
3123
|
+
export { APIService, ApisPracticeManager, AssignmentStatus, AssistantType, AuthenticationBadRequest, AuthenticationFailed, AuthenticationServerError, AuthenticationUnconfirmedEmail, AxiosService, ClosedReasonType, ConsultService, DiagnosisService, DocumentType, DrugType, FeeStatus, GuardService, IdentityCreationBadRequest, IdentityCreationConflict, IdentityCreationFailed, IndexKey, LicenseStatus, MedicalStatus, MetadataCategory, OtherRoleType, PaymentStatus, PeriodType, PlanStatus, PlanType, PracticeConfigKind, PracticeEmailKind, PracticeService, PractitionerStatus, PractitionnerRoleType, RateDimension, StripePriceType, SyncStatus, TaskStatus, TellerService, TransmissionKind, TransmissionStatus, VaultService, VisibilityType, WorkflowService, WorkflowType, hashToBase64String, init };
|
3093
3124
|
//# sourceMappingURL=oro-sdk-apis.esm.js.map
|