Skip to content

Commit

Permalink
BAH-3336 | Patient Stage dropdown is empty in programs module [Env - …
Browse files Browse the repository at this point in the history
…Docker.standard] (#237)

* BAH-3336 | Arjun, Vijay | fix patient stage dropdown showing empty results in programs module

* BAH-3336 | Vijay, Gokul | incorporate deskcheck comments

* BAH-3336 | Vijay | incorporate PR comments with additional constraint
  • Loading branch information
vijayanandtwks authored Dec 15, 2023
1 parent 45a3bd4 commit 6fa213c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 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,18 @@
</sql>
</changeSet>

<changeSet id="bahmni-core-20231206-bah-3336" author="BAHMNI">
<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' AND datatype = 'org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype';
</sql>
</changeSet>

</databaseChangeLog>

0 comments on commit 6fa213c

Please sign in to comment.