Skip to content

Commit

Permalink
BAH-3336 | Arjun, Vijay | fix patient stage dropdown showing empty re…
Browse files Browse the repository at this point in the history
…sults in programs module
  • Loading branch information
vijayanandtwks committed Dec 7, 2023
1 parent 62dab0f commit 7ba57fd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions bahmnicore-omod/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4571,4 +4571,19 @@
</sql>
</changeSet>

<changeSet id="bahmni-core-20231206-bah-3336" author="Arjun">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="1">
SELECT COUNT(*) FROM program_attribute_type where name = 'Stage' AND datatype =
'org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype';
</sqlCheck>
</preConditions>
<comment>Update datatype of patient stage program attribute type</comment>
<sql>
UPDATE program_attribute_type
SET datatype = 'org.openmrs.customdatatype.datatype.ConceptDatatype'
WHERE name = 'Stage';
</sql>
</changeSet>

</databaseChangeLog>

0 comments on commit 7ba57fd

Please sign in to comment.