canvas 0.53.0__py3-none-any.whl → 0.53.1__py3-none-any.whl

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.

Potentially problematic release.


This version of canvas might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: canvas
3
- Version: 0.53.0
3
+ Version: 0.53.1
4
4
  Summary: SDK to customize event-driven actions in your Canvas instance
5
5
  Author-email: Canvas Team <engineering@canvasmedical.com>
6
6
  License-Expression: MIT
@@ -137,7 +137,7 @@ canvas_sdk/commands/commands/medication_statement.py,sha256=1nH-N3sI1T_dLHXksGLH
137
137
  canvas_sdk/commands/commands/past_surgical_history.py,sha256=0mwybwfiAFE7elVXw1ichVitC3Jpl1JhPfNP89jhVhU,503
138
138
  canvas_sdk/commands/commands/perform.py,sha256=8o5q3snZ7TdkFFTsExZQWctXlpItSJfSihRQVZ3EEGo,409
139
139
  canvas_sdk/commands/commands/plan.py,sha256=2aJ9sUzP45sGw5ExHQToCkndidod5zwVx0a93LA1oRk,251
140
- canvas_sdk/commands/commands/prescribe.py,sha256=q4AHX4efshGcQmxIrEDOqcBNpkCuevtD6tKLInCgl28,8404
140
+ canvas_sdk/commands/commands/prescribe.py,sha256=nuCIDABvFmDUXsUUQl7TvLX-owvO7j5GBd6Gg75Rmr8,8556
141
141
  canvas_sdk/commands/commands/reason_for_visit.py,sha256=eEUnlmRa6yNjJ-_6oIHx18s_DKZxkgY0sv7CkyxIbVY,1986
142
142
  canvas_sdk/commands/commands/refer.py,sha256=uZFYxBajCiMSABEEztRM-jYxhOa1W2dw--fgi68mIOs,1620
143
143
  canvas_sdk/commands/commands/refill.py,sha256=4uTgwIryz_ab4pUGN_wgrEHlDGv__9ecOXOTuLJM6n8,1228
@@ -310,7 +310,7 @@ protobufs/canvas_generated/messages/plugins.proto,sha256=oNainUPWFYQjgCX7bJEPI9_
310
310
  protobufs/canvas_generated/services/plugin_runner.proto,sha256=doadBKn5k4xAtOgR-q_pEvW4yzxpUaHNOowMG6CL5GY,304
311
311
  pubsub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
312
312
  pubsub/pubsub.py,sha256=PHIvJ5SD3M-jQSYeGGSj1FuG6CvP6BQffAoGax9Uudk,1423
313
- canvas-0.53.0.dist-info/METADATA,sha256=abVbeams2cH3qPdbzfknUGPGciSjSF6hcOi-26yxHU4,4645
314
- canvas-0.53.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
315
- canvas-0.53.0.dist-info/entry_points.txt,sha256=0Vs_9GmTVUNniH6eDBlRPgofmADMV4BES6Ao26M4AbM,47
316
- canvas-0.53.0.dist-info/RECORD,,
313
+ canvas-0.53.1.dist-info/METADATA,sha256=FL32zu6wF136e3nXcIIMIOrleBXj38UXGKuGbeOL21I,4645
314
+ canvas-0.53.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
315
+ canvas-0.53.1.dist-info/entry_points.txt,sha256=0Vs_9GmTVUNniH6eDBlRPgofmADMV4BES6Ao26M4AbM,47
316
+ canvas-0.53.1.dist-info/RECORD,,
@@ -170,6 +170,9 @@ class PrescribeCommand(_SendableCommandMixin, _BaseCommand):
170
170
  if isinstance(compound_data, CompoundMedicationData):
171
171
  values["compound_medication_values"] = compound_data.to_dict()
172
172
 
173
+ if values.get("fdb_code") is not None and values.get("compound_medication_values") == {}:
174
+ del values["compound_medication_values"]
175
+
173
176
  return values
174
177
 
175
178
  def originate(self, line_number: int = -1) -> Effect: