=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/PatientAttribute.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/PatientAttribute.java 2012-05-24 03:10:00 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/PatientAttribute.java 2012-07-30 04:48:17 +0000 @@ -67,8 +67,6 @@ private boolean mandatory; - private boolean inheritable; - private Boolean groupBy; private PatientAttributeGroup patientAttributeGroup; @@ -210,14 +208,4 @@ this.patientAttributeGroup = patientAttributeGroup; } - public boolean isInheritable() - { - return inheritable; - } - - public void setInheritable( boolean inheritable ) - { - this.inheritable = inheritable; - } - } === modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/help_content.xml' --- dhis-2/dhis-services/dhis-service-core/src/main/resources/help_content.xml 2012-07-28 13:37:33 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/main/resources/help_content.xml 2012-07-30 04:48:17 +0000 @@ -5651,10 +5651,7 @@ Mandatory: Entering value for this attribute is required or not. - - Inheritable - - + Value Type: Data type of value inputed. === modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/startup/TableAlteror.java' --- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/startup/TableAlteror.java 2012-07-26 11:26:41 +0000 +++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/startup/TableAlteror.java 2012-07-30 04:48:17 +0000 @@ -118,6 +118,8 @@ updateMultiOrgunitTabularReportTable(); updateProgramStageTabularReportTable(); moveStoredByFormStageInstanceToDataValue(); + + executeSql( "ALTER TABLE patientattribute DROP COLUMN inheritable" ); } // ------------------------------------------------------------------------- === modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/patient/hibernate/PatientAttribute.hbm.xml' --- dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/patient/hibernate/PatientAttribute.hbm.xml 2012-05-24 03:10:00 +0000 +++ dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/patient/hibernate/PatientAttribute.hbm.xml 2012-07-30 04:48:17 +0000 @@ -19,9 +19,7 @@ - - - + attrOptions; public void setAttrOptions( List attrOptions ) @@ -139,9 +132,6 @@ mandatory = (mandatory == null) ? false : true; patientAttribute.setMandatory( mandatory ); - inheritable = (inheritable == null) ? false : true; - patientAttribute.setInheritable( inheritable ); - Program program = (programId != null) ? programService.getProgram( programId ) : null; patientAttribute.setProgram( program ); === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patientattribute/UpdatePatientAttributeAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patientattribute/UpdatePatientAttributeAction.java 2012-05-24 03:10:00 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patientattribute/UpdatePatientAttributeAction.java 2012-07-30 04:48:17 +0000 @@ -124,13 +124,6 @@ this.mandatory = mandatory; } - private Boolean inheritable; - - public void setInheritable( Boolean inheritable ) - { - this.inheritable = inheritable; - } - private List attrOptions; public void setAttrOptions( List attrOptions ) @@ -161,9 +154,6 @@ mandatory = (mandatory == null) ? false : true; patientAttribute.setMandatory( mandatory ); - inheritable = (inheritable == null) ? false : true; - patientAttribute.setInheritable( inheritable ); - Program program = (programId != null) ? programService.getProgram( programId ) : null; patientAttribute.setProgram( program ); === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addPatientAttributeForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addPatientAttributeForm.vm 2012-05-24 03:51:44 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addPatientAttributeForm.vm 2012-07-30 04:48:17 +0000 @@ -28,14 +28,6 @@ - - - - - - - - === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientAttribute.js' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientAttribute.js 2012-03-27 01:29:30 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientAttribute.js 2012-07-30 04:48:17 +0000 @@ -12,9 +12,6 @@ var mandatory = ( json.patientAttribute.mandatory == 'true') ? i18n_yes : i18n_no; setInnerHTML( 'mandatoryField', mandatory ); - var inheritable = ( json.patientAttribute.inheritable == 'true') ? i18n_yes : i18n_no; - setInnerHTML( 'inheritableField', inheritable ); - setInnerHTML( 'valueTypeField', json.patientAttribute.valueType ); var programName = json.patientAttribute.program; === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientAttribute.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientAttribute.vm 2012-05-30 03:52:28 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientAttribute.vm 2012-07-30 04:48:17 +0000 @@ -58,7 +58,6 @@




-




=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/showAddCaseAggregationForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/showAddCaseAggregationForm.vm 2011-09-29 04:17:34 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/showAddCaseAggregationForm.vm 2012-07-30 04:48:17 +0000 @@ -61,17 +61,6 @@ - - - - - - - - - - - - $i18n.getString( "value_type" ) *