-- phpMyAdmin SQL Dump -- version 4.0.10deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Oct 29, 2015 at 01:26 PM -- Server version: 5.6.27-0ubuntu0.14.04.1 -- PHP Version: 5.5.9-1ubuntu4.14 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `openmrs` -- -- -------------------------------------------------------- -- -- Table structure for table `serialized_object` -- CREATE TABLE IF NOT EXISTS `serialized_object` ( `serialized_object_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `description` varchar(5000) DEFAULT NULL, `type` varchar(255) NOT NULL, `subtype` varchar(255) NOT NULL, `serialization_class` varchar(255) NOT NULL, `serialized_data` mediumtext NOT NULL, `date_created` datetime NOT NULL, `creator` int(11) NOT NULL, `date_changed` datetime DEFAULT NULL, `changed_by` int(11) DEFAULT NULL, `retired` tinyint(1) NOT NULL DEFAULT '0', `date_retired` datetime DEFAULT NULL, `retired_by` int(11) DEFAULT NULL, `retire_reason` varchar(1000) DEFAULT NULL, `uuid` char(38) DEFAULT NULL, PRIMARY KEY (`serialized_object_id`), UNIQUE KEY `serialized_object_uuid_index` (`uuid`), KEY `serialized_object_creator` (`creator`), KEY `serialized_object_changed_by` (`changed_by`), KEY `serialized_object_retired_by` (`retired_by`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=41 ; -- -- Dumping data for table `serialized_object` -- INSERT INTO `serialized_object` (`serialized_object_id`, `name`, `description`, `type`, `subtype`, `serialization_class`, `serialized_data`, `date_created`, `creator`, `date_changed`, `changed_by`, `retired`, `date_retired`, `retired_by`, `retire_reason`, `uuid`) VALUES (2, 'Users', 'List of users in the system.', 'org.openmrs.module.reporting.dataset.definition.DataSetDefinition', 'org.openmrs.module.reporting.dataset.definition.SqlDataSetDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Users\n List of users in the system.\n \n 2015-10-09 19:15:11 UTC\n \n 2015-10-09 19:16:27 UTC\n \n 2\n SELECT username FROM users WHERE retired=0\n', '2015-10-09 19:15:11', 3, '2015-10-09 19:16:27', 3, 0, NULL, NULL, NULL, 'c804a31e-9c63-484f-ae42-c9a34cc3fbd8'), (3, 'Users', 'Usernames of the system.', 'org.openmrs.module.reporting.report.definition.ReportDefinition', 'org.openmrs.module.reporting.report.definition.ReportDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Users\n Usernames of the system.\n \n 2015-10-13 17:07:41 UTC\n \n', '2015-10-13 13:07:41', 1, NULL, NULL, 0, NULL, NULL, NULL, '92499d95-0d6c-4c93-8bd8-3cc94e38ed7f'), (5, 'Unknown Gender', 'Patients without a gender/sex.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.GenderCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Unknown Gender\n Patients without a gender/sex.\n \n 2015-10-28 14:27:13 UTC\n \n false\n false\n true\n', '2015-10-28 10:27:14', 9, NULL, NULL, 0, NULL, NULL, NULL, '04e3db87-8a7a-4b15-bdcc-9a304e9c0ac0'), (6, 'Male Gender', 'Boys and Men', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.GenderCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Male Gender\n Boys and Men\n \n 2015-10-28 14:27:15 UTC\n \n true\n false\n false\n', '2015-10-28 10:27:15', 8, NULL, NULL, 0, NULL, NULL, NULL, '8772f818-2e96-49e1-afd1-e6e27e734219'), (7, 'Female Gender', 'Patients that are girls and women.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.GenderCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Female Gender\n Patients that are girls and women.\n \n 2015-10-28 14:27:16 UTC\n \n false\n true\n false\n', '2015-10-28 10:27:16', 22, NULL, NULL, 0, NULL, NULL, NULL, '6eb0e900-4f8b-4bba-8c8f-614b92b4321b'), (8, 'Age 45 to 64', 'Patients between 45 and 64 years of age.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.AgeCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Age 45 to 64\n Patients between 45 and 64 years of age.\n \n 2015-10-28 14:36:46 UTC\n \n \n effectiveDate\n \n java.util.Date\n true\n \n \n 45\n YEARS\n 64\n YEARS\n false\n', '2015-10-28 10:36:47', 9, NULL, NULL, 0, NULL, NULL, NULL, 'aba4adfc-ef36-44e1-a933-915c476d9e17'), (9, 'Age 30 to 44', 'Patients between 30 to 44 of age.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.AgeCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Age 30 to 44\n Patients between 30 to 44 of age.\n \n 2015-10-28 14:36:46 UTC\n \n \n effectiveDate\n \n java.util.Date\n true\n \n \n 30\n YEARS\n 44\n YEARS\n false\n', '2015-10-28 10:36:47', 8, NULL, NULL, 0, NULL, NULL, NULL, 'ae1cd627-1613-4757-8226-5cd19c163189'), (10, 'Age 14 to 29', 'Patient between 14 and 29 years of age.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.AgeCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Age 14 to 29\n Patient between 14 and 29 years of age.\n \n 2015-10-28 14:36:48 UTC\n \n \n effectiveDate\n \n java.util.Date\n true\n \n \n 14\n YEARS\n 29\n YEARS\n false\n', '2015-10-28 10:36:48', 22, NULL, NULL, 0, NULL, NULL, NULL, '654a1242-3720-4c20-87f4-f94cd1baec08'), (11, 'Age 0 to 13', 'Patient is 0 to 13 years of age.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.AgeCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Age 0 to 13\n Patient is 0 to 13 years of age.\n \n 2015-10-28 14:46:36 UTC\n \n \n effectiveDate\n \n java.util.Date\n true\n \n \n 0\n YEARS\n 13\n YEARS\n false\n', '2015-10-28 10:46:36', 22, NULL, NULL, 0, NULL, NULL, NULL, '69e165f4-cda4-4e82-abec-f8947df6b08f'), (12, 'Age 65+', 'Patient Age of 65+', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.AgeCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Age 65+\n Patient Age of 65+\n \n 2015-10-28 14:48:18 UTC\n \n \n effectiveDate\n \n java.util.Date\n true\n \n \n 65\n YEARS\n YEARS\n false\n', '2015-10-28 10:48:18', 8, NULL, NULL, 0, NULL, NULL, NULL, '11513e7d-8a00-4264-ac9f-2101cfe8b53a'), (13, 'Hospitalization Location Rehydration Center', 'Patients that were hospitalized in Rehydration Center.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.EncounterCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Hospitalization Location Rehydration Center\n Patients that were hospitalized in Rehydration Center.\n \n 2015-10-28 15:05:52 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n \n \n \n \n \n false\n', '2015-10-28 11:05:53', 9, NULL, NULL, 0, NULL, NULL, NULL, '2050335e-46e0-4fb4-a009-9685a674df33'), (14, 'Hospitalization Location ICU', 'Patient that were hospitalized in the ICU', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.EncounterCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Hospitalization Location ICU\n Patient that were hospitalized in the ICU\n \n 2015-10-28 15:05:54 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n \n \n \n \n \n false\n', '2015-10-28 11:05:54', 8, NULL, NULL, 0, NULL, NULL, NULL, '0896e7cc-bc8c-4a1e-82dd-a27526bd4d12'), (15, 'Hospital Location ER', 'Patient received care in ER.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.EncounterCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Hospital Location ER\n Patient received care in ER.\n \n 2015-10-28 15:05:54 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n \n \n \n \n \n false\n', '2015-10-28 11:05:55', 22, NULL, NULL, 0, NULL, NULL, NULL, 'c8bb761d-acc6-4012-8e60-420a07559082'), (16, 'Referred In', 'Patient has been referred to the hospital.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Referred In\n Patient has been referred to the hospital.\n \n 2015-10-28 15:17:11 UTC\n \n 2015-10-28 15:27:21 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n 16\n ANY\n \n IN\n \n \n \n', '2015-10-28 11:17:11', 22, '2015-10-28 11:27:22', 22, 0, NULL, NULL, NULL, 'e5eaecc2-1697-4318-99bc-2e6196c73f82'), (17, 'Not Referred In', 'Patient was not referred to hospital.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.InverseCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Not Referred In\n Patient was not referred to hospital.\n \n 2015-10-28 15:29:26 UTC\n \n \n', '2015-10-28 11:29:26', 22, NULL, NULL, 0, NULL, NULL, NULL, '8abaa1dd-38a3-4f11-abe2-6d7b203b0025'), (18, 'Referred Out', 'Patient referred out of hospital for continuation of treatment.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Referred Out\n Patient referred out of hospital for continuation of treatment.\n \n 2015-10-28 15:33:26 UTC\n \n 2015-10-28 15:52:16 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n 18\n ANY\n \n IN\n \n \n \n', '2015-10-28 11:33:26', 22, '2015-10-28 11:52:17', 22, 0, NULL, NULL, NULL, 'd93d16b9-0280-4ed0-b0a0-891b64182439'), (19, 'Not Referred Out', 'Patient was NOT referred out of the hospital for continuation of treatment.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.InverseCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Not Referred Out\n Patient was NOT referred out of the hospital for continuation of treatment.\n \n 2015-10-28 15:35:38 UTC\n \n \n', '2015-10-28 11:35:39', 8, NULL, NULL, 0, NULL, NULL, NULL, 'a1c325fc-749b-426d-851f-d6b2ddc3e618'), (20, 'ER and ICU Report', 'Aggregate Report for ER/ICU/Rehydration.', 'org.openmrs.module.reporting.report.definition.ReportDefinition', 'org.openmrs.module.reporting.report.definition.ReportDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n ER and ICU Report\n Aggregate Report for ER/ICU/Rehydration.\n \n 2015-10-28 15:54:45 UTC\n \n', '2015-10-28 11:54:46', 9, NULL, NULL, 0, NULL, NULL, NULL, 'ee8ec0e1-db59-4cf0-8b4b-cc3666bb1e2e'), (21, 'Discharge Status Deceased', 'Patient was deceased upon discharge.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Discharge Status Deceased\n Patient was deceased upon discharge.\n \n 2015-10-28 16:08:35 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n IN\n \n \n \n', '2015-10-28 12:08:35', 22, NULL, NULL, 0, NULL, NULL, NULL, '270a3f1b-fd05-4682-99fe-ac750164d854'), (22, 'Discharge Status Cured', 'Patient left cured.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Discharge Status Cured\n Patient left cured.\n \n 2015-10-28 16:11:22 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n IN\n \n \n \n', '2015-10-28 12:11:23', 8, NULL, NULL, 0, NULL, NULL, NULL, '367e21b4-7f3c-4a48-845b-72cccc624ba5'), (23, 'Discharge Status Left Against Medical Advice', 'Patient left against medical advice.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Discharge Status Left Against Medical Advice\n Patient left against medical advice.\n \n 2015-10-28 16:11:25 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n IN\n \n \n \n', '2015-10-28 12:11:26', 9, NULL, NULL, 0, NULL, NULL, NULL, '4316fd24-bcae-4433-b2f9-5c57b05a6667'), (24, 'Discharge Status Transferred', 'Patient was transferred upon discharge.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Discharge Status Transferred\n Patient was transferred upon discharge.\n \n 2015-10-28 16:13:53 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n IN\n \n \n \n', '2015-10-28 12:13:53', 22, NULL, NULL, 0, NULL, NULL, NULL, '0dc2734f-a3f3-47af-957c-438116468926'), (25, 'Discharge Status Treatment Complete', 'Patient completed treatment.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Discharge Status Treatment Complete\n Patient completed treatment.\n \n 2015-10-28 16:21:19 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n ANY\n \n IN\n \n \n \n', '2015-10-28 12:21:20', 8, NULL, NULL, 0, NULL, NULL, NULL, '540d527b-56e8-42f2-8c2f-e87b50f046e8'), (26, 'Address Metropolitan', 'Patients with a Port-au-Prince Metropolitan area address.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Address Metropolitan\n Patients with a Port-au-Prince Metropolitan area address.\n \n 2015-10-28 16:52:55 UTC\n \n 2015-10-28 16:53:37 UTC\n \n 26\n SELECT `person_id` FROM `person_address` WHERE `voided` = 0 AND (`city_village` LIKE 'Port-au-Prince' OR `city_village` LIKE 'Petion-Ville' OR `city_village` LIKE 'Carrefour' OR `city_village` LIKE 'Cite Soleil' OR `city_village` LIKE 'Tabarre' OR `city_village` LIKE 'Delmas' OR `city_village` LIKE 'Kenscoff' OR `city_village` LIKE 'Croix-des-Bouquets') \n', '2015-10-28 12:52:55', 9, '2015-10-28 12:53:38', 9, 1, '2015-10-28 15:32:37', 9, 'duplicate', '630c5199-810f-4207-a39c-2e8e2c9c32a0'), (27, 'Address Non-Metropolitan', 'Patients with an address outside of the Port-au-Prince Metropolitan area.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.InverseCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Address Non-Metropolitan\n Patients with an address outside of the Port-au-Prince Metropolitan area.\n \n 2015-10-28 16:57:44 UTC\n \n 2015-10-28 19:31:07 UTC\n \n 27\n \n', '2015-10-28 12:57:44', 9, '2015-10-28 15:31:08', 9, 0, NULL, NULL, NULL, '125e799d-1a38-4edb-af7a-324ea62f98be'), (28, 'Admission Night', 'The patient was admitted between 19:00 and 06:59 hours.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Admission Night\n The patient was admitted between 19:00 and 06:59 hours.\n \n 2015-10-28 17:21:31 UTC\n \n 2015-10-28 17:36:45 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 28\n SELECT person_id FROM `obs` WHERE `concept_id` = 1640 AND `voided` = 0 AND EXTRACT(HOUR FROM value_datetime) IN (0,1,2,3,4,5,6,19,20,21,22,23) AND obs_datetime >= :startDate AND obs_datetime < addDate(:endDate,1)\n', '2015-10-28 13:21:31', 9, '2015-10-28 13:36:45', 9, 1, '2015-10-28 15:34:51', 9, 'duplicate', '9d6d3ce0-0663-4ec8-9cb0-c47d6f563c2f'), (30, 'Admission Day', 'The patient was admitted between 07:00 and 18:59 hours.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Admission Day\n The patient was admitted between 07:00 and 18:59 hours.\n \n 2015-10-28 17:35:22 UTC\n \n 2015-10-28 17:36:15 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 30\n SELECT person_id FROM `obs` WHERE `concept_id` = 1640 AND `voided` = 0 AND EXTRACT(HOUR FROM value_datetime) IN (7,8,9,10,11,12,13,14,15,16,17,18) AND obs_datetime >= :startDate AND obs_datetime < addDate(:endDate,1)\n', '2015-10-28 13:35:22', 9, '2015-10-28 13:36:15', 9, 1, '2015-10-28 15:37:08', 9, 'duplicate', '872c2e2f-f214-4512-82f4-6478c70dec32'), (31, 'Test', '', 'org.openmrs.module.reporting.dataset.definition.DataSetDefinition', 'org.openmrs.module.reporting.dataset.definition.CohortCrossTabDataSetDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Test\n \n \n 2015-10-28 18:21:51 UTC\n \n', '2015-10-28 14:21:51', 9, NULL, NULL, 0, NULL, NULL, NULL, '2065d1f9-2c45-4f01-9fb8-83b30fa210cf'), (32, 'Final Diagnosis - Asthma', '', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Final Diagnosis - Asthma\n \n \n 2015-10-28 18:44:56 UTC\n \n 2015-10-28 18:51:14 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 32\n SELECT `diagnosis`.`person_id` FROM `obs` as diagnosis, `obs` as cert WHERE `diagnosis`.`concept_id` = '1284' AND `cert`.`concept_id` = '159394' AND `cert`.`voided` = '0' AND `diagnosis`.`voided` = '0' and `cert`.`value_coded` = '160250' AND `diagnosis`.`obs_group_id`=`cert`.`obs_group_id` AND obs_datetime >= :startDate AND obs_datetime < addDate(:endDate,1) AND `diagnosis`.`value_coded` = '121375'\n', '2015-10-28 14:44:56', 9, '2015-10-28 14:51:15', 9, 9, '2015-10-28 15:38:04', 9, 'duplicate', '10f52b51-f76c-44a0-9773-55eff98bacac'), (33, 'Final Diagnosis - Asthma', '', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Final Diagnosis - Asthma\n \n \n 2015-10-28 19:01:35 UTC\n \n 2015-10-28 19:07:24 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 33\n SELECT `diagnosis`.`person_id` FROM `obs` as diagnosis, `obs` as cert WHERE `diagnosis`.`concept_id` = '1284' AND `cert`.`concept_id` = '159394' AND `cert`.`voided` = '0' AND `diagnosis`.`voided` = '0' and `cert`.`value_coded` = '160250' AND `diagnosis`.`obs_group_id`=`cert`.`obs_group_id` AND `diagnosis`.obs_datetime >= :startDate AND `diagnosis`.obs_datetime < addDate(:endDate,1) AND `diagnosis`.`value_coded` = '121375'\n', '2015-10-28 15:01:35', 9, '2015-10-28 15:07:25', 9, 0, NULL, NULL, NULL, '068e0c22-86cd-4054-b6d3-3250d2fc25ad'), (34, 'Final Diagnosis - Prostatectomy', '', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Final Diagnosis - Prostatectomy\n \n \n 2015-10-28 19:09:32 UTC\n \n 2015-10-28 19:12:16 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 34\n SELECT `diagnosis`.`person_id` FROM `obs` as diagnosis, `obs` as cert WHERE `diagnosis`.`concept_id` = '1284' AND `cert`.`concept_id` = '159394' AND `cert`.`voided` = '0' AND `diagnosis`.`voided` = '0' and `cert`.`value_coded` = '160250' AND `diagnosis`.`obs_group_id`=`cert`.`obs_group_id` AND `diagnosis`.obs_datetime >= :startDate AND `diagnosis`.obs_datetime < addDate(:endDate,1) AND `diagnosis`.`value_coded` = '162921'\n', '2015-10-28 15:09:32', 22, '2015-10-28 15:12:16', 22, 0, NULL, NULL, NULL, '9a20026f-1908-4a7b-b939-319ccbe30173'), (35, 'Address Metropolitan', 'Patients with a Port-au-Prince Metropolitan area address.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Address Metropolitan\n Patients with a Port-au-Prince Metropolitan area address.\n \n 2015-10-28 19:26:33 UTC\n \n 2015-10-28 19:30:35 UTC\n \n 35\n SELECT `person_id` FROM `person_address` WHERE `voided` = 0 AND (`city_village` LIKE 'Port-au-Prince' OR `city_village` LIKE 'Petion-Ville' OR `city_village` LIKE 'Carrefour' OR `city_village` LIKE 'Cite Soleil' OR `city_village` LIKE 'Tabarre' OR `city_village` LIKE 'Delmas' OR `city_village` LIKE 'Kenscoff' OR `city_village` LIKE 'Croix-des-Bouquets')\n', '2015-10-28 15:26:33', 9, '2015-10-28 15:30:36', 9, 0, NULL, NULL, NULL, '15f15562-aeb8-466f-b9ea-5688ee22fb6e'), (36, 'Admission Night', 'The patient was admitted between 19:00 and 06:59 hours.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Admission Night\n The patient was admitted between 19:00 and 06:59 hours.\n \n 2015-10-28 19:33:17 UTC\n \n 2015-10-28 19:34:56 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 36\n SELECT person_id FROM `obs` WHERE `concept_id` = 1640 AND `voided` = 0 AND EXTRACT(HOUR FROM value_datetime) IN (0,1,2,3,4,5,6,19,20,21,22,23) AND obs_datetime >= :startDate AND obs_datetime < addDate(:endDate,1)\n', '2015-10-28 15:33:17', 9, '2015-10-28 15:34:57', 9, 0, NULL, NULL, NULL, '7a2a9665-590f-4aae-939a-74c772552cd0'), (37, 'Admission Day', 'The patient was admitted between 07:00 and 18:59 hours.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Admission Day\n The patient was admitted between 07:00 and 18:59 hours.\n \n 2015-10-28 19:35:43 UTC\n \n 2015-10-28 19:36:40 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 37\n SELECT person_id FROM `obs` WHERE `concept_id` = 1640 AND `voided` = 0 AND EXTRACT(HOUR FROM value_datetime) IN (7,8,9,10,11,12,13,14,15,16,17,18) AND obs_datetime >= :startDate AND obs_datetime < addDate(:endDate,1)\n', '2015-10-28 15:35:43', 9, '2015-10-28 15:36:40', 9, 0, NULL, NULL, NULL, '1115f113-3b56-42e0-977d-6afcd67bb3a7'); INSERT INTO `serialized_object` (`serialized_object_id`, `name`, `description`, `type`, `subtype`, `serialization_class`, `serialized_data`, `date_created`, `creator`, `date_changed`, `changed_by`, `retired`, `date_retired`, `retired_by`, `retire_reason`, `uuid`) VALUES (38, 'Final Diagnosis - Circumcision ', '', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.SqlCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Final Diagnosis - Circumcision \n \n \n 2015-10-28 19:41:22 UTC\n \n 2015-10-28 19:41:56 UTC\n \n \n startDate\n \n java.util.Date\n true\n \n \n endDate\n \n java.util.Date\n true\n \n \n 38\n SELECT `diagnosis`.`person_id` FROM `obs` as diagnosis, `obs` as cert WHERE `diagnosis`.`concept_id` = '1284' AND `cert`.`concept_id` = '159394' AND `cert`.`voided` = '0' AND `diagnosis`.`voided` = '0' and `cert`.`value_coded` = '160250' AND `diagnosis`.`obs_group_id`=`cert`.`obs_group_id` AND `diagnosis`.obs_datetime >= :startDate AND `diagnosis`.obs_datetime < addDate(:endDate,1) AND `diagnosis`.`value_coded` = '161803'\n', '2015-10-28 15:41:22', 22, '2015-10-28 15:41:57', 22, 0, NULL, NULL, NULL, 'ebd7c311-95ba-4239-ac33-749655dbef9f'), (39, 'Referred In', 'Patient was referred to hospital for treatment.', 'org.openmrs.module.reporting.cohort.definition.CohortDefinition', 'org.openmrs.module.reporting.cohort.definition.CodedObsCohortDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n Referred In\n Patient was referred to hospital for treatment.\n \n 2015-10-28 19:52:51 UTC\n \n 2015-10-28 19:55:20 UTC\n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n 39\n ANY\n \n \n \n \n IN\n \n \n \n', '2015-10-28 15:52:51', 22, '2015-10-28 15:55:20', 22, 0, NULL, NULL, NULL, '5f7dbaf1-9ab0-4501-9f5d-f75e243a0301'), (40, 'appointmentschedulingui.appointmentDataSetDefinition.dailyAppointments', 'appointmentschedulingui.appointmentDataSetDefinition.dailyAppointments', 'org.openmrs.module.reporting.dataset.definition.DataSetDefinition', 'org.openmrs.module.appointmentscheduling.reporting.dataset.definition.AppointmentDataSetDefinition', 'org.openmrs.module.reporting.serializer.ReportingSerializer', '\n appointmentschedulingui.appointmentDataSetDefinition.dailyAppointments\n appointmentschedulingui.appointmentDataSetDefinition.dailyAppointments\n \n 2015-10-29 16:48:27 UTC\n \n \n date\n \n java.util.Date\n true\n \n \n location\n \n org.openmrs.Location\n true\n \n \n 40\n \n \n identifier\n \n \n \n \n \n \n \n \n \n true\n \n \n \n \n \n org.openmrs.PatientIdentifier\n identifier\n \n \n \n \n \n \n telephoneNumber\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n provider\n \n \n \n \n \n \n \n \n \n \n providerUuid\n \n \n \n \n \n \n \n \n java.lang.String\n uuid\n \n \n \n \n \n appointmentType\n \n \n \n \n \n \n \n \n \n \n appointmentTypeUuid\n \n \n \n \n \n \n \n \n java.lang.String\n uuid\n \n \n \n \n \n providerUuid\n \n \n \n \n \n \n \n \n java.lang.String\n uuid\n \n \n \n \n \n statusType\n \n \n \n \n \n \n \n \n org.openmrs.module.appointmentscheduling.Appointment$AppointmentStatusType\n type\n \n \n \n \n \n localizedStatusType\n \n \n \n \n \n \n \n \n \n \n \n \n patientName\n \n \n \n \n \n \n \n \n \n \n \n \n \n startDatetime\n \n \n \n \n \n \n \n \n \n startTimeFormatted\n \n \n \n \n \n \n \n \n hh:mm aa\n \n \n \n \n \n endTimeFormatted\n \n \n \n \n \n \n \n \n hh:mm aa\n \n \n \n \n \n \n \n \n startDatetime\n ASC\n \n \n \n provider\n ASC\n \n \n \n \n \n \n \n \n \n onOrAfter\n \n java.util.Date\n true\n \n \n onOrBefore\n \n java.util.Date\n true\n \n \n \n \n \n \n location\n ${location}\n \n \n onOrBefore\n ${date}\n \n \n onOrAfter\n ${date}\n \n \n \n \n', '2015-10-29 12:48:28', 2, '2015-10-29 12:48:28', 2, 0, NULL, NULL, NULL, 'c1bf0730-e69e-11e3-ac10-0800200c9a66'); -- -- Constraints for dumped tables -- -- -- Constraints for table `serialized_object` -- ALTER TABLE `serialized_object` ADD CONSTRAINT `serialized_object_changed_by` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`), ADD CONSTRAINT `serialized_object_creator` FOREIGN KEY (`creator`) REFERENCES `users` (`user_id`), ADD CONSTRAINT `serialized_object_retired_by` FOREIGN KEY (`retired_by`) REFERENCES `users` (`user_id`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;