You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO 2025-01-16 23:59:39,721 {'key': 'LOG_STUFF', 'note_id': 7}
INFO 2025-01-16 23:59:39,721 TargetType(id='5eaddc1d2f41498fb2b5e5313d25590f', type=None)
The event context contains the note id, but it's an integer id, not the note's UUID that I would use with the Note class in the data module.
Additionally, the target is the id of the patient whose chart the note is within. Because the button is located on a specific note, I would expect that note to be the target. The patient's id is useful information, but I would expect to see that as a patient_id value in the context. I feel less strongly about this though.
The text was updated successfully, but these errors were encountered:
I just made an action button located in the note header. Here is the full code of the handler:
The logs show the following (this is test data):
The event context contains the note id, but it's an integer id, not the note's UUID that I would use with the Note class in the data module.
Additionally, the target is the id of the patient whose chart the note is within. Because the button is located on a specific note, I would expect that note to be the target. The patient's id is useful information, but I would expect to see that as a
patient_id
value in the context. I feel less strongly about this though.The text was updated successfully, but these errors were encountered: