oro-sdk-apis 1.22.0 → 1.23.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 ORO Health Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -110,7 +110,7 @@ export interface GroupedGenericQuestionData<T, A = IndexedData<ChoiceInputData>>
110
110
  inlineLabel?: boolean;
111
111
  order?: number;
112
112
  }
113
- export declare type QuestionData = GenericQuestionData<'title' | 'paragraph' | 'checkbox', void> | GenericQuestionData<'text' | 'text-area' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'place-address'> | GenericQuestionData<'checkbox-group' | 'select' | 'multiple' | 'text-select-group', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card', IndexedData<RadioCardInputData>> | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>;
113
+ export declare type QuestionData = GenericQuestionData<'title' | 'paragraph' | 'checkbox', void> | GenericQuestionData<'text' | 'text-area' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'online-pharmacy-picker' | 'place-address'> | GenericQuestionData<'checkbox-group' | 'select' | 'multiple' | 'text-select-group', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card' | 'profile-selector', IndexedData<RadioCardInputData>> | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>;
114
114
  export interface FieldData {
115
115
  type: 'field';
116
116
  className?: string;
@@ -1600,11 +1600,12 @@ var ConsultService = /*#__PURE__*/function () {
1600
1600
  * @param filterAssignedDoctor the uuid of the doctor for which to filter with
1601
1601
  * @param filterCurrentPractitioner the uuid of the current assistant assigned to filter with
1602
1602
  * @param filterIsoLocality the of isoLocality to filter with
1603
+ * @param filterAssignee array of practitioner uuids with which you want to filter the consultations
1603
1604
  * @returns a number of consult
1604
1605
  */
1605
1606
  ;
1606
1607
 
1607
- _proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality) {
1608
+ _proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
1608
1609
  return this.api.head(this.baseURL + "/v1/consults", {
1609
1610
  params: {
1610
1611
  uuidPractice: uuidPractice,
@@ -1618,7 +1619,8 @@ var ConsultService = /*#__PURE__*/function () {
1618
1619
  orderColumns: orderToSortTo,
1619
1620
  filterAssignedDoctor: filterAssignedDoctor,
1620
1621
  filterCurrentPractitioner: filterCurrentPractitioner,
1621
- filterIsoLocality: filterIsoLocality
1622
+ filterIsoLocality: filterIsoLocality,
1623
+ filterAssignee: filterAssignee
1622
1624
  }
1623
1625
  }, 'Content-Range').then(function (resContentRange) {
1624
1626
  if (!resContentRange || typeof resContentRange !== 'string' && typeof resContentRange !== 'number') {
@@ -1650,7 +1652,7 @@ var ConsultService = /*#__PURE__*/function () {
1650
1652
  */
1651
1653
  ;
1652
1654
 
1653
- _proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality) {
1655
+ _proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
1654
1656
  return this.api.get(this.baseURL + "/v1/consults", {
1655
1657
  params: {
1656
1658
  uuidPractice: uuidPractice,
@@ -1664,7 +1666,8 @@ var ConsultService = /*#__PURE__*/function () {
1664
1666
  orderColumns: orderToSortTo,
1665
1667
  filterAssignedDoctor: filterAssignedDoctor,
1666
1668
  filterCurrentPractitioner: filterCurrentPractitioner,
1667
- filterIsoLocality: filterIsoLocality
1669
+ filterIsoLocality: filterIsoLocality,
1670
+ filterAssignee: filterAssignee
1668
1671
  }
1669
1672
  });
1670
1673
  };
@@ -2950,7 +2953,7 @@ var TellerService = /*#__PURE__*/function () {
2950
2953
  _proto.sendOnlineFaxSuccessfulEmail = function sendOnlineFaxSuccessfulEmail(consult, patientUuid) {
2951
2954
  return this.api.post(this.baseURL + "/v1/online-fax-notify", {
2952
2955
  consult: consult,
2953
- patient_uuid: patientUuid
2956
+ patientUuid: patientUuid
2954
2957
  });
2955
2958
  };
2956
2959