All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dule.bahmni-commons-omod.1.1.0.source-code.liquibase.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>

<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
         http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">

    <changeSet id="bahmni-commons-202212131826" author="Dubey">
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from global_property where property='bahmni.primaryIdentifierType' or property='emr.primaryIdentifierType'</sqlCheck>
        </preConditions>
        <comment>Adding 'bahmni.primaryIdentifierType' global property required for patient search</comment>
        <insert tableName="global_property">
            <column name="property" value="bahmni.primaryIdentifierType"/>
            <column name="uuid" valueComputed="UUID()"/>
            <column name="description" value="Primary identifier type for looking up patients, generating barcodes, etc."/>
        </insert>
    </changeSet>

</databaseChangeLog>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy