@oystehr/sdk 4.0.0-alpha.2 → 4.0.0-alpha.3

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.
@@ -678,6 +678,12 @@ class Erx extends SDKResource {
678
678
  checkPrecheckInteractions(params, request) {
679
679
  return this.request('/patient/{patientId}/interactions/precheck/{drugId}', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
680
680
  }
681
+ /**
682
+ * Cancel prescription for patient.
683
+ */
684
+ cancelPrescription(params, request) {
685
+ return this.request('/patient/{patientId}/prescriptions/{medicationRequestId}', 'delete', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
686
+ }
681
687
  /**
682
688
  * Syncs demographic, allergy, and medication data for a patient with the upstream eRx provider.
683
689
  */
@@ -690,6 +696,12 @@ class Erx extends SDKResource {
690
696
  connectPractitioner(params, request) {
691
697
  return this.request('/practitioner/connect', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
692
698
  }
699
+ /**
700
+ * Check eRx enrollment for a practitioner.
701
+ */
702
+ checkPractitionerEnrollment(params, request) {
703
+ return this.request('/practitioner/{practitionerId}', 'get', __classPrivateFieldGet(this, _Erx_instances, "m", _Erx_baseUrlThunk).bind(this))(params, request);
704
+ }
693
705
  }
694
706
  _Erx_instances = new WeakSet(), _Erx_baseUrlThunk = function _Erx_baseUrlThunk() {
695
707
  var _a, _b;