Open
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
aduane
requested changes
Feb 21, 2026
Collaborator
|
Should this be a separate effect class or just another note effect method? note_effect = Note(
note_type_id="note-type-uuid",
datetime_of_service=datetime.datetime.now(),
patient_id="patient-uuid",
practice_location_id="practice-location-uuid",
provider_id="provider-uuid"
)
note_effect.create()
note_effect.lock()
note_effect.unlock()
note_effect.freeze(duration=30, blur=True)
note_effect.unfreeze() |
040554b to
4776b2d
Compare
aduane
approved these changes
Feb 23, 2026
rmagier1
reviewed
Feb 27, 2026
Comment on lines
+324
to
+328
| class MyHandler(BaseHandler): | ||
| def compute(self): | ||
| note_effect = Note(instance_id="existing-note-uuid") | ||
|
|
||
| return [note_effect.unfreeze()] |
Contributor
There was a problem hiding this comment.
In the example above you respond to NOTE_BODY_UPDATED. For this case, how would a user know when to unfreeze the note? Like what would I suggest to people as the trigger to know someone is done in the note? I mean I guess end users may want to have an action button? Not sure
Contributor
Author
There was a problem hiding this comment.
That is always going to depend on their user case, but unfreeze note is called automatically after the set duration has elapsed.
rmagier1
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://canvasmedical.atlassian.net/browse/KOALA-4025