@oystehr/sdk 3.0.16 → 4.0.0-alpha.0

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.
Files changed (127) hide show
  1. package/dist/cjs/config.d.ts +2 -1
  2. package/dist/cjs/index.cjs +82 -12
  3. package/dist/cjs/index.cjs.map +1 -1
  4. package/dist/cjs/index.min.cjs +1 -1
  5. package/dist/cjs/index.min.cjs.map +1 -1
  6. package/dist/cjs/resources/classes/developer.d.ts +2 -2
  7. package/dist/cjs/resources/classes/erx.d.ts +17 -17
  8. package/dist/cjs/resources/classes/erxV1.d.ts +31 -0
  9. package/dist/cjs/resources/classes/erxV2.d.ts +15 -0
  10. package/dist/cjs/resources/classes/index.d.ts +5 -1
  11. package/dist/cjs/resources/classes/m2m.d.ts +2 -2
  12. package/dist/cjs/resources/classes/user.d.ts +2 -2
  13. package/dist/cjs/resources/types/ErxCheckAllergyInteractionsParams.d.ts +3 -0
  14. package/dist/cjs/resources/types/ErxCheckAllergyInteractionsResponse.d.ts +9 -0
  15. package/dist/cjs/resources/types/ErxCheckMedicationInteractionsParams.d.ts +3 -0
  16. package/dist/cjs/resources/types/ErxCheckMedicationInteractionsResponse.d.ts +21 -0
  17. package/dist/cjs/resources/types/ErxCheckPrecheckInteractionsParams.d.ts +4 -0
  18. package/dist/cjs/resources/types/ErxCheckPrecheckInteractionsResponse.d.ts +29 -0
  19. package/dist/cjs/resources/types/ErxConnectPractitionerParams.d.ts +4 -0
  20. package/dist/cjs/resources/types/ErxConnectPractitionerResponse.d.ts +9 -0
  21. package/dist/cjs/resources/types/ErxSearchAllergensParams.d.ts +3 -0
  22. package/dist/cjs/resources/types/ErxSearchAllergensResponse.d.ts +21 -0
  23. package/dist/cjs/resources/types/ErxSearchMedicationsParams.d.ts +3 -0
  24. package/dist/cjs/resources/types/ErxSearchMedicationsResponse.d.ts +27 -0
  25. package/dist/cjs/resources/types/ErxV1AllergySearchParams.d.ts +3 -0
  26. package/dist/{esm/resources/types/ErxAllergySearchResponse.d.ts → cjs/resources/types/ErxV1AllergySearchResponse.d.ts} +1 -1
  27. package/dist/{esm/resources/types/ErxCancelOrderParams.d.ts → cjs/resources/types/ErxV1CancelOrderParams.d.ts} +1 -1
  28. package/dist/{esm/resources/types/ErxCancelOrderResponse.d.ts → cjs/resources/types/ErxV1CancelOrderResponse.d.ts} +1 -1
  29. package/dist/cjs/resources/types/{ErxCancelPrescriptionParams.d.ts → ErxV1CancelPrescriptionParams.d.ts} +1 -1
  30. package/dist/cjs/resources/types/{ErxCancelPrescriptionResponse.d.ts → ErxV1CancelPrescriptionResponse.d.ts} +1 -1
  31. package/dist/cjs/resources/types/{ErxMedicationSearchParams.d.ts → ErxV1MedicationSearchParams.d.ts} +1 -1
  32. package/dist/cjs/resources/types/{ErxMedicationSearchResponse.d.ts → ErxV1MedicationSearchResponse.d.ts} +1 -1
  33. package/dist/cjs/resources/types/ErxV1SyncPatientParams.d.ts +3 -0
  34. package/dist/{esm/resources/types/ErxSyncPatientResponse.d.ts → cjs/resources/types/ErxV1SyncPatientResponse.d.ts} +1 -1
  35. package/dist/cjs/resources/types/ErxV2MedicationSearchParams.d.ts +4 -0
  36. package/dist/cjs/resources/types/{ErxMedicationSearchV2Response.d.ts → ErxV2MedicationSearchResponse.d.ts} +1 -1
  37. package/dist/cjs/resources/types/index.d.ts +25 -12
  38. package/dist/esm/config.d.ts +2 -1
  39. package/dist/esm/index.min.js +1 -1
  40. package/dist/esm/index.min.js.map +1 -1
  41. package/dist/esm/resources/classes/developer.d.ts +2 -2
  42. package/dist/esm/resources/classes/developer.js +1 -1
  43. package/dist/esm/resources/classes/developer.js.map +1 -1
  44. package/dist/esm/resources/classes/erx.d.ts +17 -17
  45. package/dist/esm/resources/classes/erx.js +25 -19
  46. package/dist/esm/resources/classes/erx.js.map +1 -1
  47. package/dist/esm/resources/classes/erxV1.d.ts +31 -0
  48. package/dist/esm/resources/classes/erxV1.js +48 -0
  49. package/dist/esm/resources/classes/erxV1.js.map +1 -0
  50. package/dist/esm/resources/classes/erxV2.d.ts +15 -0
  51. package/dist/esm/resources/classes/erxV2.js +24 -0
  52. package/dist/esm/resources/classes/erxV2.js.map +1 -0
  53. package/dist/esm/resources/classes/index.d.ts +5 -1
  54. package/dist/esm/resources/classes/index.js +5 -1
  55. package/dist/esm/resources/classes/index.js.map +1 -1
  56. package/dist/esm/resources/classes/m2m.d.ts +2 -2
  57. package/dist/esm/resources/classes/m2m.js +1 -1
  58. package/dist/esm/resources/classes/m2m.js.map +1 -1
  59. package/dist/esm/resources/classes/user.d.ts +2 -2
  60. package/dist/esm/resources/classes/user.js +1 -1
  61. package/dist/esm/resources/classes/user.js.map +1 -1
  62. package/dist/esm/resources/types/ErxCheckAllergyInteractionsParams.d.ts +3 -0
  63. package/dist/esm/resources/types/ErxCheckAllergyInteractionsResponse.d.ts +9 -0
  64. package/dist/esm/resources/types/ErxCheckMedicationInteractionsParams.d.ts +3 -0
  65. package/dist/esm/resources/types/ErxCheckMedicationInteractionsResponse.d.ts +21 -0
  66. package/dist/esm/resources/types/ErxCheckPrecheckInteractionsParams.d.ts +4 -0
  67. package/dist/esm/resources/types/ErxCheckPrecheckInteractionsResponse.d.ts +29 -0
  68. package/dist/esm/resources/types/ErxConnectPractitionerParams.d.ts +4 -0
  69. package/dist/esm/resources/types/ErxConnectPractitionerResponse.d.ts +9 -0
  70. package/dist/esm/resources/types/ErxSearchAllergensParams.d.ts +3 -0
  71. package/dist/esm/resources/types/ErxSearchAllergensResponse.d.ts +21 -0
  72. package/dist/esm/resources/types/ErxSearchMedicationsParams.d.ts +3 -0
  73. package/dist/esm/resources/types/ErxSearchMedicationsResponse.d.ts +27 -0
  74. package/dist/esm/resources/types/ErxV1AllergySearchParams.d.ts +3 -0
  75. package/dist/{cjs/resources/types/ErxAllergySearchResponse.d.ts → esm/resources/types/ErxV1AllergySearchResponse.d.ts} +1 -1
  76. package/dist/{cjs/resources/types/ErxCancelOrderParams.d.ts → esm/resources/types/ErxV1CancelOrderParams.d.ts} +1 -1
  77. package/dist/{cjs/resources/types/ErxCancelOrderResponse.d.ts → esm/resources/types/ErxV1CancelOrderResponse.d.ts} +1 -1
  78. package/dist/esm/resources/types/{ErxCancelPrescriptionParams.d.ts → ErxV1CancelPrescriptionParams.d.ts} +1 -1
  79. package/dist/esm/resources/types/{ErxCancelPrescriptionResponse.d.ts → ErxV1CancelPrescriptionResponse.d.ts} +1 -1
  80. package/dist/esm/resources/types/{ErxMedicationSearchParams.d.ts → ErxV1MedicationSearchParams.d.ts} +1 -1
  81. package/dist/esm/resources/types/{ErxMedicationSearchResponse.d.ts → ErxV1MedicationSearchResponse.d.ts} +1 -1
  82. package/dist/esm/resources/types/ErxV1SyncPatientParams.d.ts +3 -0
  83. package/dist/{cjs/resources/types/ErxSyncPatientResponse.d.ts → esm/resources/types/ErxV1SyncPatientResponse.d.ts} +1 -1
  84. package/dist/esm/resources/types/ErxV2MedicationSearchParams.d.ts +4 -0
  85. package/dist/esm/resources/types/{ErxMedicationSearchV2Response.d.ts → ErxV2MedicationSearchResponse.d.ts} +1 -1
  86. package/dist/esm/resources/types/index.d.ts +25 -12
  87. package/package.json +3 -3
  88. package/src/config.ts +2 -1
  89. package/src/resources/classes/developer.ts +3 -3
  90. package/src/resources/classes/erx.ts +68 -51
  91. package/src/resources/classes/erxV1.ts +73 -0
  92. package/src/resources/classes/erxV2.ts +34 -0
  93. package/src/resources/classes/index.ts +8 -2
  94. package/src/resources/classes/m2m.ts +3 -3
  95. package/src/resources/classes/user.ts +3 -3
  96. package/src/resources/types/ErxCheckAllergyInteractionsParams.ts +5 -0
  97. package/src/resources/types/ErxCheckAllergyInteractionsResponse.ts +11 -0
  98. package/src/resources/types/ErxCheckMedicationInteractionsParams.ts +5 -0
  99. package/src/resources/types/ErxCheckMedicationInteractionsResponse.ts +23 -0
  100. package/src/resources/types/ErxCheckPrecheckInteractionsParams.ts +6 -0
  101. package/src/resources/types/ErxCheckPrecheckInteractionsResponse.ts +31 -0
  102. package/src/resources/types/ErxConnectPractitionerParams.ts +6 -0
  103. package/src/resources/types/ErxConnectPractitionerResponse.ts +11 -0
  104. package/src/resources/types/{ErxAllergySearchParams.ts → ErxSearchAllergensParams.ts} +1 -1
  105. package/src/resources/types/ErxSearchAllergensResponse.ts +28 -0
  106. package/src/resources/types/ErxSearchMedicationsParams.ts +5 -0
  107. package/src/resources/types/ErxSearchMedicationsResponse.ts +29 -0
  108. package/src/resources/types/ErxV1AllergySearchParams.ts +5 -0
  109. package/src/resources/types/{ErxAllergySearchResponse.ts → ErxV1AllergySearchResponse.ts} +1 -1
  110. package/src/resources/types/{ErxCancelOrderParams.ts → ErxV1CancelOrderParams.ts} +1 -1
  111. package/src/resources/types/{ErxCancelOrderResponse.ts → ErxV1CancelOrderResponse.ts} +1 -1
  112. package/src/resources/types/{ErxCancelPrescriptionParams.ts → ErxV1CancelPrescriptionParams.ts} +1 -1
  113. package/src/resources/types/{ErxCancelPrescriptionResponse.ts → ErxV1CancelPrescriptionResponse.ts} +1 -1
  114. package/src/resources/types/{ErxMedicationSearchParams.ts → ErxV1MedicationSearchParams.ts} +1 -1
  115. package/src/resources/types/{ErxMedicationSearchResponse.ts → ErxV1MedicationSearchResponse.ts} +1 -1
  116. package/src/resources/types/ErxV1SyncPatientParams.ts +5 -0
  117. package/src/resources/types/{ErxSyncPatientResponse.ts → ErxV1SyncPatientResponse.ts} +1 -1
  118. package/src/resources/types/{ErxMedicationSearchV2Params.ts → ErxV2MedicationSearchParams.ts} +1 -1
  119. package/src/resources/types/{ErxMedicationSearchV2Response.ts → ErxV2MedicationSearchResponse.ts} +1 -1
  120. package/src/resources/types/index.ts +25 -12
  121. package/dist/cjs/resources/types/ErxAllergySearchParams.d.ts +0 -3
  122. package/dist/cjs/resources/types/ErxMedicationSearchV2Params.d.ts +0 -4
  123. package/dist/esm/node_modules/tslib/package.json +0 -1
  124. package/dist/esm/node_modules/tslib/tslib.es6.js +0 -40
  125. package/dist/esm/node_modules/tslib/tslib.es6.js.map +0 -1
  126. package/dist/esm/resources/types/ErxAllergySearchParams.d.ts +0 -3
  127. package/dist/esm/resources/types/ErxMedicationSearchV2Params.d.ts +0 -4
@@ -13,10 +13,11 @@ export interface OystehrConfig {
13
13
  fhirApiUrl?: string;
14
14
  projectApiUrl?: string;
15
15
  services?: {
16
+ erxApiUrl?: string;
16
17
  faxApiUrl?: string;
17
18
  fhirApiUrl?: string;
18
- projectApiUrl?: string;
19
19
  labApiUrl?: string;
20
+ projectApiUrl?: string;
20
21
  };
21
22
  /**
22
23
  * Optionally provide a custom fetch implementation. This must conform to the
@@ -627,7 +627,7 @@ class Developer extends SDKResource {
627
627
  return this.request('/developer', 'get', __classPrivateFieldGet(this, _Developer_instances, "m", _Developer_baseUrlThunk).bind(this))(request);
628
628
  }
629
629
  /**
630
- * Get Developers in the Project with pagination, sort, sort Order and filtering. [Users](https://docs.oystehr.com/oystehr/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/oystehr/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
630
+ * Get Developers in the Project with pagination, sort, sort order and filtering. [Users](https://docs.oystehr.com/oystehr/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/oystehr/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
631
631
  *
632
632
  * Access Policy Action: `Project:ListAllUsers`
633
633
  * Access Policy Resource: `Project:Settings`
@@ -648,44 +648,112 @@ class Erx extends SDKResource {
648
648
  super(config);
649
649
  _Erx_instances.add(this);
650
650
  }
651
+ /**
652
+ * Search for allergens
653
+ */
654
+ searchAllergens(params, request) {
655
+ return this.request('/allergen', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
656
+ }
657
+ /**
658
+ * Search for medications. Provide at least one of code or name filters
659
+ */
660
+ searchMedications(params, request) {
661
+ return this.request('/medication', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
662
+ }
663
+ /**
664
+ * Checks for drug-allergy interactions for a patient. This endpoint requires the patient's allergies to be synced with the upstream eRx provider.
665
+ */
666
+ checkAllergyInteractions(params, request) {
667
+ return this.request('/patient/{patientId}/interactions/allergy', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
668
+ }
669
+ /**
670
+ * Checks for drug-drug interactions for a patient. This endpoint requires the patient's medications to be synced with the upstream eRx provider.
671
+ */
672
+ checkMedicationInteractions(params, request) {
673
+ return this.request('/patient/{patientId}/interactions/medication', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
674
+ }
675
+ /**
676
+ * Checks for drug-allergy and drug-drug interactions with a specific drug for a patient. This endpoint requires the patient's allergies and medications to be synced with the upstream eRx provider.
677
+ */
678
+ checkPrecheckInteractions(params, request) {
679
+ return this.request('/patient/{patientId}/interactions/precheck/{drugId}', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
680
+ }
681
+ /**
682
+ * Syncs demographic, allergy, and medication data for a patient with the upstream eRx provider.
683
+ */
684
+ syncPatient(params, request) {
685
+ return this.request('/patient/{patientId}/sync', 'post', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
686
+ }
687
+ /**
688
+ * Create an SSO link for a practitioner. This link can be used to log in to the eRx service as the specified practitioner.
689
+ */
690
+ connectPractitioner(params, request) {
691
+ return this.request('/practitioner/connect', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
692
+ }
693
+ }
694
+ _Erx_instances = new WeakSet(), _Erx_baseUrlThunk = function _Erx_baseUrlThunk() {
695
+ var _a, _b;
696
+ return (_b = (_a = this.config.services) === null || _a === void 0 ? void 0 : _a['erxApiUrl']) !== null && _b !== void 0 ? _b : 'https://erx-api.zapehr.com/v3';
697
+ };
698
+
699
+ // AUTOGENERATED -- DO NOT EDIT
700
+ var _ErxV1_instances, _ErxV1_baseUrlThunk;
701
+ class ErxV1 extends SDKResource {
702
+ constructor(config) {
703
+ super(config);
704
+ _ErxV1_instances.add(this);
705
+ }
651
706
  /**
652
707
  * Retrieve patient properties from FHIR service and sync them with eRx service
653
708
  */
654
709
  syncPatient(params, request) {
655
- return this.request('/erx/sync-patient/{patientId}', 'post', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
710
+ return this.request('/erx/sync-patient/{patientId}', 'post', __classPrivateFieldGet(this, _ErxV1_instances, "m", _ErxV1_baseUrlThunk).bind(this))(params, request);
656
711
  }
657
712
  /**
658
713
  * Search for allergies
659
714
  */
660
715
  allergySearch(params, request) {
661
- return this.request('/erx/allergy/search', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
716
+ return this.request('/erx/allergy/search', 'get', __classPrivateFieldGet(this, _ErxV1_instances, "m", _ErxV1_baseUrlThunk).bind(this))(params, request);
662
717
  }
663
718
  /**
664
719
  * Cancel photon order
665
720
  */
666
721
  cancelOrder(params, request) {
667
- return this.request('/erx/cancel-order', 'post', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
722
+ return this.request('/erx/cancel-order', 'post', __classPrivateFieldGet(this, _ErxV1_instances, "m", _ErxV1_baseUrlThunk).bind(this))(params, request);
668
723
  }
669
724
  /**
670
725
  * Cancel photon prescription
671
726
  */
672
727
  cancelPrescription(params, request) {
673
- return this.request('/erx/cancel-prescription', 'post', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
728
+ return this.request('/erx/cancel-prescription', 'post', __classPrivateFieldGet(this, _ErxV1_instances, "m", _ErxV1_baseUrlThunk).bind(this))(params, request);
674
729
  }
675
730
  /**
676
731
  * Search for medications. Provide at least one of code or name filters
677
732
  */
678
733
  medicationSearch(params, request) {
679
- return this.request('/erx/medication/search', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
734
+ return this.request('/erx/medication/search', 'get', __classPrivateFieldGet(this, _ErxV1_instances, "m", _ErxV1_baseUrlThunk).bind(this))(params, request);
735
+ }
736
+ }
737
+ _ErxV1_instances = new WeakSet(), _ErxV1_baseUrlThunk = function _ErxV1_baseUrlThunk() {
738
+ var _a, _b;
739
+ return (_b = (_a = this.config.services) === null || _a === void 0 ? void 0 : _a['projectApiUrl']) !== null && _b !== void 0 ? _b : 'https://project-api.zapehr.com/v1';
740
+ };
741
+
742
+ // AUTOGENERATED -- DO NOT EDIT
743
+ var _ErxV2_instances, _ErxV2_baseUrlThunk;
744
+ class ErxV2 extends SDKResource {
745
+ constructor(config) {
746
+ super(config);
747
+ _ErxV2_instances.add(this);
680
748
  }
681
749
  /**
682
750
  * Search for medications. Provide at least one of code or name filters
683
751
  */
684
- medicationSearchV2(params, request) {
685
- return this.request('/erx/v2/medication/search', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
752
+ medicationSearch(params, request) {
753
+ return this.request('/erx/v2/medication/search', 'get', __classPrivateFieldGet(this, _ErxV2_instances, "m", _ErxV2_baseUrlThunk).bind(this))(params, request);
686
754
  }
687
755
  }
688
- _Erx_instances = new WeakSet(), _Erx_baseUrlThunk = function _Erx_baseUrlThunk() {
756
+ _ErxV2_instances = new WeakSet(), _ErxV2_baseUrlThunk = function _ErxV2_baseUrlThunk() {
689
757
  var _a, _b;
690
758
  return (_b = (_a = this.config.services) === null || _a === void 0 ? void 0 : _a['projectApiUrl']) !== null && _b !== void 0 ? _b : 'https://project-api.zapehr.com/v1';
691
759
  };
@@ -1071,7 +1139,7 @@ class M2m extends SDKResource {
1071
1139
  return this.request('/m2m/{id}/rotate-secret', 'post', __classPrivateFieldGet(this, _M2m_instances, "m", _M2m_baseUrlThunk).bind(this))(params, request);
1072
1140
  }
1073
1141
  /**
1074
- * Get M2M clients in the Project with pagination, sort, sort Order and filtering. [M2M Clients](https://docs.oystehr.com/oystehr/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/oystehr/services/zambda).
1142
+ * Get M2M clients in the Project with pagination, sort, sort order and filtering. [M2M Clients](https://docs.oystehr.com/oystehr/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/oystehr/services/zambda).
1075
1143
  *
1076
1144
  * Access Policy Action: `App:ListAllM2MClients`
1077
1145
  * Access Policy Resource: `IAM:M2MClient`
@@ -1514,7 +1582,7 @@ class User extends SDKResource {
1514
1582
  return this.request('/user', 'get', __classPrivateFieldGet(this, _User_instances, "m", _User_baseUrlThunk).bind(this))(request);
1515
1583
  }
1516
1584
  /**
1517
- * Get Users in the Project with pagination, sort, sort Order and filtering. [Users](https://docs.oystehr.com/oystehr/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/oystehr/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
1585
+ * Get Users in the Project with pagination, sort, sort order and filtering. [Users](https://docs.oystehr.com/oystehr/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/oystehr/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
1518
1586
  *
1519
1587
  * Access Policy Action: `Project:ListAllUsers`
1520
1588
  * Access Policy Resource: `Project:Settings`
@@ -1869,7 +1937,8 @@ let Oystehr$1 = class Oystehr {
1869
1937
  this.charge = new Charge(config);
1870
1938
  this.project = new Project(config);
1871
1939
  this.rcm = new Rcm(config);
1872
- this.erx = new Erx(config);
1940
+ this.erxV1 = new ErxV1(config);
1941
+ this.erxV2 = new ErxV2(config);
1873
1942
  this.role = new Role(config);
1874
1943
  this.secret = new Secret(config);
1875
1944
  this.telemed = new Telemed(config);
@@ -1880,6 +1949,7 @@ let Oystehr$1 = class Oystehr {
1880
1949
  this.zambdaLogStream = new ZambdaLogStream(config);
1881
1950
  this.fax = new Fax(config);
1882
1951
  this.lab = new Lab(config);
1952
+ this.erx = new Erx(config);
1883
1953
  this.fhir = new Fhir(config);
1884
1954
  }
1885
1955
  };