dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25985
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12894: Fixed bug - Don't save risk status of program instance
------------------------------------------------------------
revno: 12894
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-11-07 13:13:35 +0700
message:
Fixed bug - Don't save risk status of program instance
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java
dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/program/hibernate/ProgramInstance.hbm.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java 2013-10-14 14:00:47 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java 2013-11-07 06:13:35 +0000
@@ -87,7 +87,7 @@
private List<MessageConversation> messageConversations;
- private Boolean followup;
+ private Boolean followup = false;
private PatientComment patientComment;
=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/program/hibernate/ProgramInstance.hbm.xml'
--- dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/program/hibernate/ProgramInstance.hbm.xml 2013-09-10 04:51:49 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/program/hibernate/ProgramInstance.hbm.xml 2013-11-07 06:13:35 +0000
@@ -23,6 +23,8 @@
not-null="true" />
<property name="endDate" column="enddate" />
+
+ <property name="followup" column="followup" />
<property name="status" />