=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientRegistrationFormService.java' --- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientRegistrationFormService.java 2013-02-02 10:34:22 +0000 +++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientRegistrationFormService.java 2013-02-13 16:20:07 +0000 @@ -36,11 +36,8 @@ import org.hisp.dhis.i18n.I18nFormat; import org.hisp.dhis.patientattributevalue.PatientAttributeValue; import org.hisp.dhis.patientattributevalue.PatientAttributeValueService; -import org.hisp.dhis.patientdatavalue.PatientDataValue; -import org.hisp.dhis.patientdatavalue.PatientDataValueService; import org.hisp.dhis.program.Program; import org.hisp.dhis.program.ProgramInstance; -import org.hisp.dhis.program.ProgramStageInstance; import org.hisp.dhis.user.User; import org.springframework.transaction.annotation.Transactional; @@ -256,7 +253,8 @@ String value = ""; if ( programInstance != null ) { - value = format.formatDate( ((Date) getValueFromProgram( property, programInstance )) ); + value = format.formatDate( ((Date) getValueFromProgram( StringUtils.capitalize( property ), + programInstance )) ); } inputHtml = " - - - - - - - - - - - +
$i18n.getString( "system_identifier" )
$!systemIdentifier
 
+ #if($!systemIdentifier) + + + + + + + + + + + #end #parse( "/dhis-web-caseentry/patientForm.vm" )
$i18n.getString( "system_identifier" )
$!systemIdentifier