canvas 0.72.0__py3-none-any.whl → 0.73.0__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.

@@ -240,6 +240,9 @@
240
240
  "canvas_sdk.effects.compound_medications.compound_medication": [
241
241
  "CompoundMedication"
242
242
  ],
243
+ "canvas_sdk.effects.fax": [
244
+ "FaxNoteEffect"
245
+ ],
243
246
  "canvas_sdk.effects.generate_full_chart_pdf": [
244
247
  "GenerateFullChartPDFEffect"
245
248
  ],
@@ -253,13 +256,17 @@
253
256
  "Metadata"
254
257
  ],
255
258
  "canvas_sdk.effects.note": [
259
+ "AddAppointmentLabel",
256
260
  "Appointment",
257
261
  "AppointmentIdentifier",
258
262
  "Note",
263
+ "RemoveAppointmentLabel",
259
264
  "ScheduleEvent"
260
265
  ],
261
266
  "canvas_sdk.effects.note.appointment": [
267
+ "AddAppointmentLabel",
262
268
  "Appointment",
269
+ "RemoveAppointmentLabel",
263
270
  "ScheduleEvent"
264
271
  ],
265
272
  "canvas_sdk.effects.note.base": [
@@ -383,12 +390,14 @@
383
390
  "canvas_sdk.effects.task": [
384
391
  "AddTask",
385
392
  "AddTaskComment",
393
+ "TaskMetadata",
386
394
  "TaskStatus",
387
395
  "UpdateTask"
388
396
  ],
389
397
  "canvas_sdk.effects.task.task": [
390
398
  "AddTask",
391
399
  "AddTaskComment",
400
+ "TaskMetadata",
392
401
  "TaskStatus",
393
402
  "UpdateTask"
394
403
  ],
@@ -552,6 +561,7 @@
552
561
  "AllergyIntoleranceCoding",
553
562
  "Appointment",
554
563
  "AppointmentExternalIdentifier",
564
+ "AppointmentLabel",
555
565
  "AppointmentMetadata",
556
566
  "Assessment",
557
567
  "BannerAlert",
@@ -666,6 +676,7 @@
666
676
  "Task",
667
677
  "TaskComment",
668
678
  "TaskLabel",
679
+ "TaskMetadata",
669
680
  "TaskTaskLabel",
670
681
  "Team",
671
682
  "TeamContactPoint",
@@ -680,6 +691,7 @@
680
691
  "canvas_sdk.v1.data.appointment": [
681
692
  "Appointment",
682
693
  "AppointmentExternalIdentifier",
694
+ "AppointmentLabel",
683
695
  "AppointmentMetadata",
684
696
  "AppointmentProgressStatus"
685
697
  ],
@@ -959,6 +971,7 @@
959
971
  "TaskComment",
960
972
  "TaskLabel",
961
973
  "TaskLabelModule",
974
+ "TaskMetadata",
962
975
  "TaskStatus",
963
976
  "TaskTaskLabel",
964
977
  "TaskType"
@@ -42,6 +42,7 @@ from canvas_sdk.effects.simple_api import Response
42
42
  from canvas_sdk.events import Event, EventRequest, EventResponse, EventType
43
43
  from canvas_sdk.handlers.simple_api.websocket import DenyConnection
44
44
  from canvas_sdk.protocols import ClinicalQualityMeasure
45
+ from canvas_sdk.templates.utils import _engine_for_plugin
45
46
  from canvas_sdk.utils import metrics
46
47
  from canvas_sdk.utils.metrics import measured
47
48
  from logger import log
@@ -419,6 +420,9 @@ def synchronize_plugins(run_once: bool = False) -> None:
419
420
  if "action" not in data:
420
421
  continue
421
422
 
423
+ # clear the template engine cache so that any template changes
424
+ # from plugins are picked up
425
+ _engine_for_plugin.cache_clear()
422
426
  plugin_name = data.get("plugin", None)
423
427
  try:
424
428
  if data["action"] == "reload":
@@ -126,6 +126,7 @@ enum EffectType {
126
126
  CREATE_TASK = 100;
127
127
  UPDATE_TASK = 101;
128
128
  CREATE_TASK_COMMENT = 102;
129
+ UPSERT_TASK_METADATA = 111;
129
130
 
130
131
  ORIGINATE_MEDICAL_HISTORY_COMMAND = 103;
131
132
  EDIT_MEDICAL_HISTORY_COMMAND = 104;
@@ -266,6 +267,9 @@ enum EffectType {
266
267
  PATIENT_PORTAL__APPOINTMENTS__FORM_PROVIDERS__POST_SEARCH_RESULTS = 2011;
267
268
  PATIENT_PORTAL__APPLICATION_CONFIGURATION = 2012;
268
269
 
270
+ ADD_APPOINTMENT_LABEL = 2015;
271
+ REMOVE_APPOINTMENT_LABEL = 2016;
272
+
269
273
  ADD_BILLING_LINE_ITEM = 2030;
270
274
  UPDATE_BILLING_LINE_ITEM = 2031;
271
275
  REMOVE_BILLING_LINE_ITEM = 2032;
@@ -284,6 +288,7 @@ enum EffectType {
284
288
 
285
289
  CREATE_NOTE = 6000;
286
290
  UPDATE_NOTE = 6013;
291
+ FAX_NOTE = 6019;
287
292
 
288
293
  CREATE_APPOINTMENT = 6001;
289
294
  UPDATE_APPOINTMENT = 6014;
@@ -98,6 +98,8 @@ enum EventType {
98
98
 
99
99
  TASK_CLOSED = 86;
100
100
  TASK_COMPLETED = 87;
101
+ TASK_METADATA_CREATED = 96;
102
+ TASK_METADATA_UPDATED = 97;
101
103
 
102
104
  DETECTED_ISSUE_EVIDENCE_CREATED = 88;
103
105
  DETECTED_ISSUE_EVIDENCE_UPDATED = 89;
@@ -108,6 +110,9 @@ enum EventType {
108
110
  COMPOUND_MEDICATION_CREATED = 92;
109
111
  COMPOUND_MEDICATION_UPDATED = 93;
110
112
 
113
+ APPOINTMENT_LABEL_ADDED = 94;
114
+ APPOINTMENT_LABEL_REMOVED = 95;
115
+
111
116
  // General Command Events
112
117
 
113
118
  PRE_COMMAND_ORIGINATE = 100;
@@ -177,6 +182,8 @@ enum EventType {
177
182
  ADJUST_PRESCRIPTION__CHANGE_MEDICATION_TO__POST_SEARCH = 2019;
178
183
  ADJUST_PRESCRIPTION__SUPERVISING_PROVIDER__PRE_SEARCH = 2021;
179
184
  ADJUST_PRESCRIPTION__SUPERVISING_PROVIDER__POST_SEARCH = 2022;
185
+ ADJUST_PRESCRIPTION__PRESCRIBER__PRE_SEARCH = 2025;
186
+ ADJUST_PRESCRIPTION__PRESCRIBER__POST_SEARCH = 2026;
180
187
 
181
188
  // ADJUST_PROTOCOL_COMMAND__PRE_ORIGINATE = 3000;
182
189
  // ADJUST_PROTOCOL_COMMAND__POST_ORIGINATE = 3001;
@@ -703,6 +710,8 @@ enum EventType {
703
710
  PRESCRIBE__PHARMACY__POST_SEARCH = 33017;
704
711
  PRESCRIBE__SUPERVISING_PROVIDER__POST_SEARCH = 33019;
705
712
  PRESCRIBE__SUPERVISING_PROVIDER__PRE_SEARCH = 33020;
713
+ PRESCRIBE__PRESCRIBER__PRE_SEARCH = 33023;
714
+ PRESCRIBE__PRESCRIBER__POST_SEARCH = 33024;
706
715
 
707
716
  QUESTIONNAIRE_COMMAND__PRE_ORIGINATE = 34000;
708
717
  QUESTIONNAIRE_COMMAND__POST_ORIGINATE = 34001;
@@ -809,6 +818,8 @@ enum EventType {
809
818
  REFILL__PHARMACY__POST_SEARCH = 39017;
810
819
  REFILL__SUPERVISING_PROVIDER__PRE_SEARCH = 39019;
811
820
  REFILL__SUPERVISING_PROVIDER__POST_SEARCH = 39020;
821
+ REFILL__PRESCRIBER__PRE_SEARCH = 39023;
822
+ REFILL__PRESCRIBER__POST_SEARCH = 39024;
812
823
 
813
824
  REMOVE_ALLERGY_COMMAND__PRE_ORIGINATE = 40000;
814
825
  REMOVE_ALLERGY_COMMAND__POST_ORIGINATE = 40001;