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
fix(data): align test data with what's in OpenEMR (#709)
* add appointment alias for colonoscopy
* add "Spinal meningeal cancer" diagnosis
* remove old diagnosis codes that have no master source equivalent
* fix diagnose code and master source diagnosis to match
* dynamically update dates mentioned in road closure announcement to be in the future
(1768, 'I80.202', 'I80.202', 'Phlebitis and thrombophlebitis of unspecified deep vessels of left lower extremity', 7, 0, '', '2025-07-21 10:30:00', 'interface-engine', '2025-11-24 14:49:07', 'interface-engine'),
(1093, 'Announcement', 0, 'Annonce de démonstration', 'Demo Announcement', '<p><b>Annonce de démonstration </b></p><p>Cette annonce s\\\'agit d\\\'une annonce de démonstration qui peut être diffusée aux utilisateurs d\\\'Opal. </p><p>Par exemple, il peut conseiller les patients sur des questions générales telles que les changements d\\\'horaires d\\\'ouverture des hôpitaux, les travaux routiers à proximité de l\\\'hôpital, les mesures d\\\'urgence, etc.</p><p><img src=\\"https://static.wixstatic.com/media/1bb73a_22da9dac42fd4bc9834c2d4d5cef3afa~mv2.png/v1/fill/w_224,h_154,al_c,q_85,usm_1.20_1.00_0.01,enc_avif,quality_auto/OPAL_logo.png\\"/></p><p><br/></p>', '<p><b>Demo Announcement</b><br/><br/>This is a demonstration announcement that can be broadcast to Opal users. For example, it can advise patients about general issues such as changes to hospital opening hours, road construction near the hospital, emergency measures, etc.<br/><br/>Using Opal ADMIN, messages like this can be sent to all patients or just patients who meet certain criteria.<br/></p><div><br/></div><p><img src=\\"https://static.wixstatic.com/media/1bb73a_22da9dac42fd4bc9834c2d4d5cef3afa~mv2.png/v1/fill/w_224,h_154,al_c,q_85,usm_1.20_1.00_0.01,enc_avif,quality_auto/OPAL_logo.png\\"/></p>', '0000-00-00 00:00:00', 0, '2025-03-07 11:01:38', '2002-01-01 00:00:00', NULL, '2025-03-07 11:01:38', 0, 'wcXpuaPbtr'),
59
59
(1094, 'Treatment Team Message', 0, 'Dernière séance de radiothérapie', 'Last Radiotherapy Session', '<p>Vous avez terminé votre dernière séance de radiothérapie!</p><p>J\\\'espère que vous passerez une relaxante et agréable fin de semaine et que vous vous remettiez en forme bientôt.</p><p>De votre entourage traitant, filmant, développant.<br/></p>', '<p>You have completed your last session of radiotherapy!</p><p>Hope you can have a nice relaxing weekend and get back into shape soon</p><p>From your treating, filming, developing team of friends.<br/></p>', '0000-00-00 00:00:00', 0, '2025-03-12 11:31:06', '2002-01-01 00:00:00', NULL, '2025-03-12 11:31:37', 0, 'cjya0N4isp'),
60
60
(1095, 'Announcement', 0, 'Notes de Réconforts des Cèdres Mars', 'Cedars Healing Notes March', '<p>Bringing Hope Through Music</p><p>Music Concert at the Cedars Cancer Center<br/>Thursday, March 5, 2020 at 10 am<br/>DS1 Radio-Oncology reception area</p><p>Tong Wang (pianist), Adam Jeffreys (violinist)<br/><br/></p>', '<p>Bringing Hope Through Music</p><p>Music Concert at the Cedars Cancer Center<br/>Thursday, March 5, 2020 at 10 am<br/>DS1 Radio-Oncology reception area</p><p>Tong Wang (pianist), Adam Jeffreys (violinist)<br/><br/></p>', '0000-00-00 00:00:00', 0, '2025-03-12 11:35:50', '2002-01-01 00:00:00', NULL, '2025-03-12 11:35:50', 0, 'cjya0N4isp'),
61
-
(1096, 'Announcement', 1, 'Avis de Fermeture de Route', 'Road Closure Notice', '<p>Veuillez noter que l’accès à l’hôpital Royal par la rue Décarie sera temporairement fermé en raison de travaux routiers, du <b>9 mai au 12 mai,</b> entre <b>8h00 et 16h00</b>.</p><p>Pendant cette période, toute la circulation automobile devra emprunter les itinéraires de déviation désignés, qui seront clairement indiqués afin de garantir l’accès continu à l’hôpital.</p><p>Nous nous excusons pour tout inconvénient que cela pourrait causer et vous remercions de votre compréhension.<br/><br/></p>', '<p>Hello,</p><p>Please be advised that access to the Royal Hospital via Décarie Street will be temporarily closed due to roadwork from <b>May 9th to May 12th</b>, between <b>8:00 and 16:00</b>.</p><p>During this period, all vehicle traffic must use the designated detour routes, which will be clearly marked to ensure continued access to the hospital.</p><p>We apologize for any inconvenience this may cause and thank you for your understanding.<br/></p>', '2025-05-21 14:11:00', 0, '2025-05-08 11:32:31', '2025-05-28 10:57:00', NULL, '2025-05-28 10:57:00', 0, 'qza1MZd5lS');
61
+
(1096, 'Announcement', 1, 'Avis de Fermeture de Route', 'Road Closure Notice', '<p>Veuillez noter que l’accès à l’hôpital Royal par la rue Décarie sera temporairement fermé en raison de travaux routiers, du <b>9 mai au 12 mai</b>, entre <b>8h00 et 16h00</b>.</p><p>Pendant cette période, toute la circulation automobile devra emprunter les itinéraires de déviation désignés, qui seront clairement indiqués afin de garantir l’accès continu à l’hôpital.</p><p>Nous nous excusons pour tout inconvénient que cela pourrait causer et vous remercions de votre compréhension.<br/><br/></p>', '<p>Hello,</p><p>Please be advised that access to the Royal Hospital via Décarie Street will be temporarily closed due to roadwork from <b>May 9th to May 12th</b>, between <b>8:00 and 16:00</b>.</p><p>During this period, all vehicle traffic must use the designated detour routes, which will be clearly marked to ensure continued access to the hospital.</p><p>We apologize for any inconvenience this may cause and thank you for your understanding.<br/></p>', '2025-05-21 14:11:00', 0, '2025-05-08 11:32:31', '2025-05-28 10:57:00', NULL, '2025-05-28 10:57:00', 0, 'qza1MZd5lS');
62
+
63
+
-- Change hardcoded dates in announcement text to dates in the future
64
+
UPDATE PostControl
65
+
SET Body_EN = REPLACE(Body_EN, 'May 9th to May 12th', CONCAT(DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 5 DAY), '%b %D'), ' to ', DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 8 DAY), '%b %D')))
66
+
WHERE PostControlSerNum =1096;
67
+
68
+
SET lc_time_names ='fr_CA';
69
+
UPDATE PostControl
70
+
SET Body_FR = REPLACE(Body_FR, '9 mai au 12 mai', CONCAT(DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 5 DAY), '%e %b'), ' au ', DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 8 DAY), '%e %b')))
0 commit comments