From 77b7e491614d8ff4f8dda188393852e7b0f2f7d5 Mon Sep 17 00:00:00 2001 From: mwithi Date: Tue, 14 Jan 2025 23:00:03 +0100 Subject: [PATCH] Fix alcool -> alcohol --- sql/data_it/disease.csv | 2 +- sql/load_demo_data.sql | 30 +++++++++---------- sql/step_04_all_following_steps.sql | 3 +- sql/step_a116_fix_alcohol_column.sql | 2 ++ .../isf/anamnesis/model/PatientHistory.java | 20 ++++++++----- .../org/isf/anamnesis/TestPatientHistory.java | 2 +- src/test/java/org/isf/anamnesis/Tests.java | 2 +- 7 files changed, 34 insertions(+), 27 deletions(-) create mode 100644 sql/step_a116_fix_alcohol_column.sql diff --git a/sql/data_it/disease.csv b/sql/data_it/disease.csv index fe7ce8379..6884f3ccf 100644 --- a/sql/data_it/disease.csv +++ b/sql/data_it/disease.csv @@ -113,7 +113,7 @@ E68;Sequele dell’ iperalimentazione;E;0;1;1 E73;Intolleranza al lattosio ;E;0;1;1 E86;Ipovolemia;E;0;1;1 F03;Demenza non specificata;F;0;1;1 -F10;Disturbi psichici e comportamentali dovuti all'uso di alcool;F;0;1;1 +F10;Disturbi psichici e comportamentali dovuti all'uso di alcol;F;0;1;1 F19;Disturbi psichici e comportamentali dovuti all’uso di sostanze psicoattive multiple e all’uso di altre sostanze psicoattive;F;0;1;1 F20;Schizofrenia;F;0;1;1 F23;Disturbi psicotici acuti e transitori;F;0;1;1 diff --git a/sql/load_demo_data.sql b/sql/load_demo_data.sql index b91f6a121..c45121c30 100644 --- a/sql/load_demo_data.sql +++ b/sql/load_demo_data.sql @@ -4757,21 +4757,21 @@ UNLOCK TABLES; LOCK TABLES `oh_patienthistory` WRITE; /*!40000 ALTER TABLE `oh_patienthistory` DISABLE KEYS */; -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (1,543,1,'admin','2023-02-02 22:35:18','admin','2023-02-02 22:35:18',0,0,0,0,0,0,1,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-02 21:35:18',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (2,544,1,'admin','2023-02-02 22:37:11','admin','2023-02-02 22:37:11',0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,0,0,0,1,0,'',0,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-02 21:37:11',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (3,546,1,'admin','2023-02-03 23:30:25','admin','2023-02-03 23:30:25',0,0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-03 22:30:25',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (4,548,1,'admin','2023-02-03 23:38:17','admin','2023-02-03 23:38:17',0,0,0,1,0,0,0,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,1,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-03 22:38:17',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (5,550,1,'admin','2023-02-03 23:48:27','admin','2023-02-03 23:48:27',0,0,0,0,0,0,1,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-03 22:48:27',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (6,553,1,'admin','2023-02-04 02:28:36','admin','2023-02-04 02:28:36',0,0,0,0,0,0,1,0,0,0,0,'',0,0,0,0,0,0,0,0,0,1,0,'',1,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-04 01:28:36',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (7,554,1,'admin','2024-02-01 23:57:10','admin','2024-02-01 23:57:10',0,1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-01 22:57:10',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (8,555,1,'admin','2024-02-01 23:59:15','admin','2024-02-01 23:59:15',0,0,0,0,0,0,0,0,1,0,0,'',0,0,0,0,0,0,0,0,1,0,0,'',0,0,0,0,0,0,0,0,1,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-01 22:59:15',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (9,556,1,'admin','2024-02-02 01:13:00','admin','2024-02-02 01:13:00',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-02 00:13:00',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (10,557,1,'admin','2024-02-02 17:05:24','admin','2024-02-02 17:05:24',0,0,0,1,0,0,0,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-02 16:05:24',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (11,558,1,'admin','2024-02-05 00:30:15','admin','2024-02-05 00:30:15',0,0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-04 23:30:15',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (12,559,1,'admin','2024-02-05 18:44:26','admin','2024-02-05 18:44:26',0,0,0,0,0,0,0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,0,1,'',0,0,0,0,0,0,0,0,0,0,1,'','','','','','',1,'',1,'',1,'',1,1,0,1,'',0,0,1,'',0,0,0,0,'2024-02-05 17:44:26',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (13,560,1,'admin','2024-02-06 11:32:07','admin','2024-02-06 11:32:07',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-06 10:32:07',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (14,561,1,'admin','2024-02-07 00:28:09','admin','2024-02-07 00:28:09',1,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,1,'',0,0,0,0,0,0,0,0,0,0,1,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-06 23:28:09',0); -INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (15,562,1,'admin','2024-02-10 18:52:51','admin','2024-02-10 18:52:51',0,0,0,1,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-10 17:52:51',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (1,543,1,'admin','2023-02-02 22:35:18','admin','2023-02-02 22:35:18',0,0,0,0,0,0,1,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-02 21:35:18',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (2,544,1,'admin','2023-02-02 22:37:11','admin','2023-02-02 22:37:11',0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,0,0,0,1,0,'',0,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-02 21:37:11',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (3,546,1,'admin','2023-02-03 23:30:25','admin','2023-02-03 23:30:25',0,0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-03 22:30:25',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (4,548,1,'admin','2023-02-03 23:38:17','admin','2023-02-03 23:38:17',0,0,0,1,0,0,0,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,1,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-03 22:38:17',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (5,550,1,'admin','2023-02-03 23:48:27','admin','2023-02-03 23:48:27',0,0,0,0,0,0,1,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-03 22:48:27',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (6,553,1,'admin','2023-02-04 02:28:36','admin','2023-02-04 02:28:36',0,0,0,0,0,0,1,0,0,0,0,'',0,0,0,0,0,0,0,0,0,1,0,'',1,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2023-02-04 01:28:36',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (7,554,1,'admin','2024-02-01 23:57:10','admin','2024-02-01 23:57:10',0,1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-01 22:57:10',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (8,555,1,'admin','2024-02-01 23:59:15','admin','2024-02-01 23:59:15',0,0,0,0,0,0,0,0,1,0,0,'',0,0,0,0,0,0,0,0,1,0,0,'',0,0,0,0,0,0,0,0,1,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-01 22:59:15',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (9,556,1,'admin','2024-02-02 01:13:00','admin','2024-02-02 01:13:00',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-02 00:13:00',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (10,557,1,'admin','2024-02-02 17:05:24','admin','2024-02-02 17:05:24',0,0,0,1,0,0,0,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-02 16:05:24',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (11,558,1,'admin','2024-02-05 00:30:15','admin','2024-02-05 00:30:15',0,0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-04 23:30:15',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (12,559,1,'admin','2024-02-05 18:44:26','admin','2024-02-05 18:44:26',0,0,0,0,0,0,0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,0,1,'',0,0,0,0,0,0,0,0,0,0,1,'','','','','','',1,'',1,'',1,'',1,1,0,1,'',0,0,1,'',0,0,0,0,'2024-02-05 17:44:26',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (13,560,1,'admin','2024-02-06 11:32:07','admin','2024-02-06 11:32:07',1,0,0,0,0,0,0,0,0,0,0,'',1,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-06 10:32:07',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (14,561,1,'admin','2024-02-07 00:28:09','admin','2024-02-07 00:28:09',1,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,0,0,0,0,1,'',0,0,0,0,0,0,0,0,0,0,1,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-06 23:28:09',0); +INSERT INTO `oh_patienthistory` (`PAH_ID`, `PAH_PAT_ID`, `PAH_ACTIVE`, `PAH_CREATED_BY`, `PAH_CREATED_DATE`, `PAH_LAST_MODIFIED_BY`, `PAH_LAST_MODIFIED_DATE`, `PAH_FAM_NOTHING`, `PAH_FAM_HYPER`, `PAH_FAM_DRUGADD`, `PAH_FAM_CARDIO`, `PAH_FAM_INFECT`, `PAH_FAM_ENDO`, `PAH_FAM_RESP`, `PAH_FAM_CANCER`, `PAH_FAM_ORTO`, `PAH_FAM_GYNO`, `PAH_FAM_OTHER`, `PAH_FAM_NOTE`, `PAH_PAT_CLO_NOTHING`, `PAH_PAT_CLO_HYPER`, `PAH_PAT_CLO_DRUGADD`, `PAH_PAT_CLO_CARDIO`, `PAH_PAT_CLO_INFECT`, `PAH_PAT_CLO_ENDO`, `PAH_PAT_CLO_RESP`, `PAH_PAT_CLO_CANCER`, `PAH_PAT_CLO_ORTO`, `PAH_PAT_CLO_GYNO`, `PAH_PAT_CLO_OTHER`, `PAH_PAT_CLO_NOTE`, `PAH_PAT_OPN_NOTHING`, `PAH_PAT_OPN_HYPER`, `PAH_PAT_OPN_DRUGADD`, `PAH_PAT_OPN_CARDIO`, `PAH_PAT_OPN_INFECT`, `PAH_PAT_OPN_ENDO`, `PAH_PAT_OPN_RESP`, `PAH_PAT_OPN_CANCER`, `PAH_PAT_OPN_ORTO`, `PAH_PAT_OPN_GYNO`, `PAH_PAT_OPN_OTHER`, `PAH_PAT_OPN_NOTE`, `PAH_PAT_SURGERY`, `PAH_PAT_ALLERGY`, `PAH_PAT_THERAPY`, `PAH_PAT_MEDICINE`, `PAH_PAT_NOTE`, `PAH_PHY_NUTR_NOR`, `PAH_PHY_NUTR_ABN`, `PAH_PHY_ALVO_NOR`, `PAH_PHY_ALVO_ABN`, `PAH_PHY_DIURE_NOR`, `PAH_PHY_DIURE_ABN`, `PAH_PHY_ALCOHOL`, `PAH_PHY_SMOKE`, `PAH_PHY_DRUG`, `PAH_PHY_PERIOD_NOR`, `PAH_PHY_PERIOD_ABN`, `PAH_PHY_MENOP`, `PAH_PHY_MENOP_Y`, `PAH_PHY_HRT_NOR`, `PAH_PHY_HRT_ABN`, `PAH_PHY_PREG`, `PAH_PHY_PREG_N`, `PAH_PHY_PREG_BIRTH`, `PAH_PHY_PREG_ABORT`, `PAH_DATE_UPDATE`, `PAH_LOCK`) VALUES (15,562,1,'admin','2024-02-10 18:52:51','admin','2024-02-10 18:52:51',0,0,0,1,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,1,0,0,0,0,0,0,'','','','','','',1,'',1,'',1,'',0,0,0,1,'',0,0,1,'',0,0,0,0,'2024-02-10 17:52:51',0); /*!40000 ALTER TABLE `oh_patienthistory` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/step_04_all_following_steps.sql b/sql/step_04_all_following_steps.sql index b6a92ab9c..af7ebec57 100644 --- a/sql/step_04_all_following_steps.sql +++ b/sql/step_04_all_following_steps.sql @@ -108,4 +108,5 @@ source step_a111_add_missing_lock_columns.sql; source step_a112_users_and_groups_soft_deletion.sql; source step_a113_alter_table_medicalinventory.sql; source step_a114_medical_type_soft_deletion.sql; -source step_a115_add_missing_foreign_key_for_auditable_entities.sql \ No newline at end of file +source step_a115_add_missing_foreign_key_for_auditable_entities.sql; +source step_a116_fix_alcohol_column.sql; \ No newline at end of file diff --git a/sql/step_a116_fix_alcohol_column.sql b/sql/step_a116_fix_alcohol_column.sql new file mode 100644 index 000000000..3f6f5452c --- /dev/null +++ b/sql/step_a116_fix_alcohol_column.sql @@ -0,0 +1,2 @@ +ALTER TABLE OH_PATIENTHISTORY +CHANGE COLUMN `PAH_PHY_ALCOOL` `PAH_PHY_ALCOHOL` TINYINT(1) NULL DEFAULT 0 ; diff --git a/src/main/java/org/isf/anamnesis/model/PatientHistory.java b/src/main/java/org/isf/anamnesis/model/PatientHistory.java index d0a192355..881e6f822 100644 --- a/src/main/java/org/isf/anamnesis/model/PatientHistory.java +++ b/src/main/java/org/isf/anamnesis/model/PatientHistory.java @@ -234,9 +234,9 @@ public class PatientHistory extends Auditable implements Comparable