This file contains 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
SELECT | |
data.uuid, | |
GROUP_CONCAT(DISTINCT data.name SEPARATOR '; ') AS name, | |
data.set_name, | |
GROUP_CONCAT(DISTINCT data.code SEPARATOR '; ') AS 'Mapping' | |
FROM | |
( | |
SELECT | |
c.uuid, | |
( |
This file contains 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
Southern | Aáli | 746 | |
---|---|---|---|
Southern | Aáli | 748 | |
Southern | Al Door | 965 | |
Southern | Algainah | 961 | |
Southern | Al Hajyat | 929 | |
Southern | Al Hajyat | 931 | |
Southern | Al Hajyat | 935 | |
Southern | Al Hajyat | 939 | |
Southern | Al Hunaniya | 901 | |
Southern | Al Hunaniya | 903 |
This file contains 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
public class LiquibaseMigrationTest extends BaseModuleContextSensitiveTest { | |
public LiquibaseMigrationTest() { | |
super(); | |
Properties props = getRuntimeProperties(); | |
if (useInMemoryDatabase()) { | |
String url = "jdbc:h2:mem:openmrs;DB_CLOSE_DELAY=30;LOCK_TIMEOUT=10000;LOCK_MODE=0"; | |
props.setProperty(Environment.URL, url); | |
} |
This file contains 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>mergepatientdata</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>mergepatientdata-omod</artifactId> | |
<packaging>jar</packaging> | |
<name>Merge Patient Data OMOD</name> |
This file contains 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>mergepatientdata</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>mergepatientdata-api</artifactId> |
This file contains 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.openmrs.maven.parents</groupId> | |
<artifactId>maven-parent-openmrs-module</artifactId> | |
<version>1.1.0</version> | |
</parent> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>mergepatientdata</artifactId> |
This file contains 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
package org.openmrs.module.attachments; | |
import java.util.List; | |
import org.junit.Test; | |
import org.openmrs.Encounter; | |
import org.openmrs.Patient; | |
import org.openmrs.Visit; | |
import org.openmrs.api.EncounterService; | |
import org.openmrs.api.PatientService; |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> | |
<servers> | |
<server> | |
<username>${env.BINTRAY_USER}</username> | |
<password>${env.BINTRAY_API_KEY}</password> | |
<id>bintray-sdk</id> | |
</server> | |
</servers> |
This file contains 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
/** | |
* This Source Code Form is subject to the terms of the Mozilla Public License, | |
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | |
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | |
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | |
* | |
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | |
* graphic logo is a trademark of OpenMRS Inc. | |
*/ | |
package org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0; |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9 | |
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd"> | |
<!-- | |
See http://www.liquibase.org/manual/home#available_database_refactorings | |
for a list of supported elements and attributes | |
--> |