=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/PatientRegistrationForm.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/PatientRegistrationForm.java 2013-08-23 15:56:19 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/PatientRegistrationForm.java 2013-10-08 08:47:47 +0000 @@ -28,8 +28,6 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -import java.util.List; - import org.hisp.dhis.common.BaseIdentifiableObject; import org.hisp.dhis.dataentryform.DataEntryForm; import org.hisp.dhis.program.Program; @@ -43,26 +41,29 @@ private static final long serialVersionUID = -6000530171659755186L; public static String FIXED_ATTRIBUTE_FULLNAME = "fullName"; + public static String FIXED_ATTRIBUTE_GENDER = "gender"; + public static String FIXED_ATTRIBUTE_BIRTHDATE = "birthDate"; + public static String FIXED_ATTRIBUTE_AGE = "age"; + public static String FIXED_ATTRIBUTE_PHONE_NUMBER = "phoneNumber"; + public static String FIXED_ATTRIBUTE_DEATH_DATE = "deathDate"; + public static String FIXED_ATTRIBUTE_REGISTRATION_DATE = "registrationDate"; + public static String FIXED_ATTRIBUTE_IS_DEAD = "isDead"; + public static String FIXED_ATTRIBUTE_DOB_TYPE = "dobType"; + public static String FIXED_ATTRIBUTE_HEALTH_WORKER = "healthWorker"; private Program program; private DataEntryForm dataEntryForm; - private List fixedAttributes; - - private List dynamicAttributes; - - private List identifierTypes; - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -77,8 +78,8 @@ this.dataEntryForm = dataEntryForm; } - //TODO implement hashcode and equals - + // TODO implement hashcode and equals + // ------------------------------------------------------------------------- // Getters && Setters // ------------------------------------------------------------------------- @@ -103,34 +104,4 @@ this.dataEntryForm = dataEntryForm; } - public List getFixedAttributes() - { - return fixedAttributes; - } - - public void setFixedAttributes( List fixedAttributes ) - { - this.fixedAttributes = fixedAttributes; - } - - public List getDynamicAttributes() - { - return dynamicAttributes; - } - - public void setDynamicAttributes( List dynamicAttributes ) - { - this.dynamicAttributes = dynamicAttributes; - } - - public List getIdentifierTypes() - { - return identifierTypes; - } - - public void setIdentifierTypes( List identifierTypes ) - { - this.identifierTypes = identifierTypes; - } - } === modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/patient/hibernate/PatientRegistrationForm.hbm.xml' --- dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/patient/hibernate/PatientRegistrationForm.hbm.xml 2013-08-29 18:09:46 +0000 +++ dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/patient/hibernate/PatientRegistrationForm.hbm.xml 2013-10-08 08:47:47 +0000 @@ -21,26 +21,6 @@ - - - - - - - - - - - - - - - - - - === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm 2013-10-02 11:24:32 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm 2013-10-08 08:47:47 +0000 @@ -153,40 +153,42 @@ #foreach ($attributeGroup in $attributeGroups ) #set($attributes = $attributesMap.get($attributeGroup.displayName)) -   - $attributeGroup.displayName - #foreach($attribute in $attributes ) - #if( $attribute ) - #set($value = "") - #set($value = $patientAttributeValueMap.get($attribute.id)) - - - - #if( $attribute.valueType == "bool" ) - - #elseif( $attribute.valueType == "trueOnly" ) - - #elseif( $attribute.valueType == "date" ) - - - #elseif( $attribute.valueType == "combo" ) - - #else - - #end - - + #if( $attributes && $attributes.size() == 0 ) +   + $attributeGroup.displayName + #foreach($attribute in $attributes ) + #if( $attribute ) + #set($value = "") + #set($value = $patientAttributeValueMap.get($attribute.id)) + + + + #if( $attribute.valueType == "bool" ) + + #elseif( $attribute.valueType == "trueOnly" ) + + #elseif( $attribute.valueType == "date" ) + + + #elseif( $attribute.valueType == "combo" ) + + #else + + #end + + + #end #end #end #end === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/dataentryform/SaveDefaultPatientRegistrationFormAcion.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/dataentryform/SaveDefaultPatientRegistrationFormAcion.java 2013-08-23 16:05:01 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/dataentryform/SaveDefaultPatientRegistrationFormAcion.java 1970-01-01 00:00:00 +0000 @@ -1,186 +0,0 @@ -package org.hisp.dhis.patient.action.dataentryform; - -/* - * Copyright (c) 2004-2013, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.ArrayList; -import java.util.List; - -import org.hisp.dhis.patient.PatientAttribute; -import org.hisp.dhis.patient.PatientAttributeService; -import org.hisp.dhis.patient.PatientIdentifierType; -import org.hisp.dhis.patient.PatientIdentifierTypeService; -import org.hisp.dhis.patient.PatientRegistrationForm; -import org.hisp.dhis.patient.PatientRegistrationFormService; -import org.hisp.dhis.program.Program; -import org.hisp.dhis.program.ProgramService; - -import com.opensymphony.xwork2.Action; - -/** - * @author Chau Thu Tran - * - * @version $ SaveDefaultPatientRegistrationFormAcion.java Jul 3, 2013 11:05:02 - * AM $ - */ -public class SaveDefaultPatientRegistrationFormAcion - implements Action -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - private ProgramService programService; - - public void setProgramService( ProgramService programService ) - { - this.programService = programService; - } - - private PatientRegistrationFormService patientRegistrationFormService; - - public void setPatientRegistrationFormService( PatientRegistrationFormService patientRegistrationFormService ) - { - this.patientRegistrationFormService = patientRegistrationFormService; - } - - private PatientAttributeService patientAttributeService; - - public void setPatientAttributeService( PatientAttributeService patientAttributeService ) - { - this.patientAttributeService = patientAttributeService; - } - - private PatientIdentifierTypeService identifierTypeService; - - public void setIdentifierTypeService( PatientIdentifierTypeService identifierTypeService ) - { - this.identifierTypeService = identifierTypeService; - } - - // ------------------------------------------------------------------------- - // Getters && Setters - // ------------------------------------------------------------------------- - - private String name; - - public void setName( String name ) - { - this.name = name; - } - - private List fixedAttributes; - - public void setFixedAttributes( List fixedAttributes ) - { - this.fixedAttributes = fixedAttributes; - } - - private List dynamicAttributeIds; - - public void setDynamicAttributeIds( List dynamicAttributeIds ) - { - this.dynamicAttributeIds = dynamicAttributeIds; - } - - private List identifierTypeIds; - - public void setIdentifierTypeIds( List identifierTypeIds ) - { - this.identifierTypeIds = identifierTypeIds; - } - - private Integer programId; - - public void setProgramId( Integer programId ) - { - this.programId = programId; - } - - // ------------------------------------------------------------------------- - // Action implementation - // ------------------------------------------------------------------------- - - @Override - public String execute() - throws Exception - { - List dynamicAttributes = new ArrayList(); - - for ( Integer dynamicAttributeId : dynamicAttributeIds ) - { - dynamicAttributes.add( patientAttributeService.getPatientAttribute( dynamicAttributeId ) ); - } - - List identifierTypes = new ArrayList(); - - for ( Integer identifierTypeId : identifierTypeIds ) - { - identifierTypes.add( identifierTypeService.getPatientIdentifierType( identifierTypeId ) ); - } - - PatientRegistrationForm registrationForm = null; - - Program program = null; - - if ( programId == null ) - { - registrationForm = patientRegistrationFormService.getCommonPatientRegistrationForm(); - } - else - { - program = programService.getProgram( programId ); - registrationForm = patientRegistrationFormService.getPatientRegistrationForm( program ); - } - - // --------------------------------------------------------------------- - // Save data-entry-form - // --------------------------------------------------------------------- - - if ( registrationForm == null ) - { - registrationForm = new PatientRegistrationForm(); - registrationForm.setName( name ); - registrationForm.setFixedAttributes( fixedAttributes ); - registrationForm.setDynamicAttributes( dynamicAttributes ); - registrationForm.setIdentifierTypes( identifierTypes ); - registrationForm.setProgram( program ); - patientRegistrationFormService.savePatientRegistrationForm( registrationForm ); - } - else - { - registrationForm.setName( name ); - registrationForm.setFixedAttributes( fixedAttributes ); - registrationForm.setDynamicAttributes( dynamicAttributes ); - registrationForm.setIdentifierTypes( identifierTypes ); - patientRegistrationFormService.updatePatientRegistrationForm( registrationForm ); - } - - return SUCCESS; - } -} === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/dataentryform/ShowDefaultPatientRegistrationFormAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/dataentryform/ShowDefaultPatientRegistrationFormAction.java 2013-08-23 16:05:01 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/dataentryform/ShowDefaultPatientRegistrationFormAction.java 1970-01-01 00:00:00 +0000 @@ -1,159 +0,0 @@ -package org.hisp.dhis.patient.action.dataentryform; - -/* - * Copyright (c) 2004-2013, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.ArrayList; -import java.util.List; - -import org.hisp.dhis.patient.PatientAttribute; -import org.hisp.dhis.patient.PatientAttributeService; -import org.hisp.dhis.patient.PatientIdentifierType; -import org.hisp.dhis.patient.PatientIdentifierTypeService; -import org.hisp.dhis.patient.PatientRegistrationForm; -import org.hisp.dhis.patient.PatientRegistrationFormService; -import org.hisp.dhis.program.Program; -import org.hisp.dhis.program.ProgramService; - -import com.opensymphony.xwork2.Action; - -/** - * @author Chau Thu Tran - * - * @version $ ShowDefaultPatientRegistrationFormAction.java Jul 3, 2013 4:47:15 - * PM $ - */ -public class ShowDefaultPatientRegistrationFormAction - implements Action -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - private ProgramService programService; - - public void setProgramService( ProgramService programService ) - { - this.programService = programService; - } - - private PatientRegistrationFormService patientRegistrationFormService; - - public void setPatientRegistrationFormService( PatientRegistrationFormService patientRegistrationFormService ) - { - this.patientRegistrationFormService = patientRegistrationFormService; - } - - private PatientAttributeService patientAttributeService; - - public void setPatientAttributeService( PatientAttributeService patientAttributeService ) - { - this.patientAttributeService = patientAttributeService; - } - - private PatientIdentifierTypeService identifierTypeService; - - public void setIdentifierTypeService( PatientIdentifierTypeService identifierTypeService ) - { - this.identifierTypeService = identifierTypeService; - } - - // ------------------------------------------------------------------------- - // Getters && Setters - // ------------------------------------------------------------------------- - - private List attributes; - - public List getAttributes() - { - return attributes; - } - - private List identifierTypes; - - public List getIdentifierTypes() - { - return identifierTypes; - } - - private Integer programId; - - public void setProgramId( Integer programId ) - { - this.programId = programId; - } - - private Program program; - - public Program getProgram() - { - return program; - } - - private PatientRegistrationForm registrationForm; - - public PatientRegistrationForm getRegistrationForm() - { - return registrationForm; - } - - // ------------------------------------------------------------------------- - // Action implementation - // ------------------------------------------------------------------------- - - @Override - public String execute() - throws Exception - { - attributes = new ArrayList( patientAttributeService.getAllPatientAttributes() ); - identifierTypes = new ArrayList( identifierTypeService.getAllPatientIdentifierTypes() ); - - if ( programId != null ) - { - program = programService.getProgram( programId ); - registrationForm = patientRegistrationFormService.getPatientRegistrationForm( program ); - } - else - { - registrationForm = patientRegistrationFormService.getCommonPatientRegistrationForm(); - } - - if ( attributes != null && registrationForm != null ) - { - attributes.removeAll( registrationForm.getDynamicAttributes() ); - } - - if ( identifierTypes != null && registrationForm != null ) - { - identifierTypes.removeAll( registrationForm.getIdentifierTypes() ); - } - - return SUCCESS; - } - -} === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/META-INF/dhis/beans.xml' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/META-INF/dhis/beans.xml 2013-09-27 11:13:20 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/META-INF/dhis/beans.xml 2013-10-08 08:47:47 +0000 @@ -572,42 +572,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2013-09-27 11:13:20 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2013-10-08 08:47:47 +0000 @@ -482,4 +482,7 @@ the_properties_to_open_data_entry_form_after_enrolment_is_active_in_the_stage = The properties to open data entry form after enrolment is active in the stage add_relative = Add relative who_is_the_new_relative_to_the_existing_person = Who is the new relative to the existing person? -program_for_new_relative_to_be_enrolled_in = Program for new relative to be enrolled in \ No newline at end of file +program_for_new_relative_to_be_enrolled_in = Program for new relative to be enrolled in +health_worker = Health worker +is_hidden = Is hidden ? +default_value = Default value \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/struts.xml' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/struts.xml 2013-09-17 06:08:16 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/struts.xml 2013-10-08 08:47:47 +0000 @@ -623,24 +623,6 @@ ../dhis-web-commons/ajax/jsonResponseSuccess.vm - - - /main.vm - /dhis-web-maintenance-patient/defaultPatientRegistationForm.vm - - ../dhis-web-commons/ckeditor/ckeditor.js, - ../dhis-web-commons/ckeditor/adapters/jquery.js, - javascript/patientRegistationForm.js - - style/basic.css - - - - patientRegistrationForm.action - - === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/defaultPatientRegistationForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/defaultPatientRegistationForm.vm 2013-07-10 02:51:49 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/defaultPatientRegistationForm.vm 1970-01-01 00:00:00 +0000 @@ -1,225 +0,0 @@ - - -

$i18n.getString( "create_default_registration_form" )

- -
- - - - - - - - - - - - -
$i18n.getString( "default_registration_form" )
$i18n.getString( "name" ) *
 
- - - - - - - - - - - - - - - - - - -
$i18n.getString( "available_fixed_attributes" )$i18n.getString( "filter" )$i18n.getString( "selected_fixed_attributes" ) -
- - -
-
-
- -
- - - $i18n.getString( 'move_up' )

- $i18n.getString( 'move_up' ) -
- - - - - - - - - - - - - - - - - -
$i18n.getString( "available_identifier_types" )$i18n.getString( "filter" )$i18n.getString( "selected_identifier_types" ) -
- - -
-
-
- -
- - - $i18n.getString( 'move_up' )

- $i18n.getString( 'move_up' ) -
- - - - - - - - - - - - - - - - - - -
$i18n.getString( "available_dynamic_attributes" )$i18n.getString( "filter" )$i18n.getString( "selected_dynamic_attributes" )
- - -
-
-
- -
- - - $i18n.getString( 'move_up' )

- $i18n.getString( 'move_up' ) -
- -

- - -

- -
- - === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientRegistrationForm.js' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientRegistrationForm.js 2013-07-03 15:40:29 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/patientRegistrationForm.js 2013-10-08 08:47:47 +0000 @@ -22,8 +22,3 @@ }); } } - -function showDefaultRegistrationForm( programId ) -{ - window.location.href='showDefaultPatientRegistrationForm.action?programId=' + programId; -} \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm 2013-09-05 18:46:04 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm 2013-10-08 08:47:47 +0000 @@ -10,17 +10,12 @@ #end - - - - - @@ -35,31 +30,12 @@ $i18n.getString('no_program') #set($hasCommonForm = 'true') #end - - - + - #end @@ -73,11 +49,8 @@ #if($hasForm == false) - - - + @@ -86,11 +59,8 @@ #end #if($hasCommonForm=='false') - - - + === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/viewPatientRegistationForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/viewPatientRegistationForm.vm 2013-07-16 04:31:27 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/viewPatientRegistationForm.vm 2013-10-08 08:47:47 +0000 @@ -3,6 +3,7 @@ +
$i18n.getString( "program" )$i18n.getString( "default_form_name" )$i18n.getString( "custom_form_name" ) $i18n.getString( "operations" )
- #if($!registrationForm.name) - $!encoder.htmlEncode( $registrationForm.name ) - #else - [$i18n.getString('none')] - #end - - #if($!registrationForm.dataEntryForm) - $!encoder.htmlEncode( $registrationForm.dataEntryForm.name ) - #else - [$i18n.getString('none')] - #end - $i18n.getString( 'edit' ) - - $i18n.getString( 'design_data_entry_form' ) - - $i18n.getString( 'remove' )
$encoder.htmlEncode( $program.name )[$i18n.getString('none')][$i18n.getString('none')]$encoder.htmlEncode( $program.name ) - $i18n.getString( 'edit' ) $i18n.getString( 'design_data_entry_form' )
$i18n.getString('no_program')[$i18n.getString('none')][$i18n.getString('none')]$i18n.getString('no_program') - $i18n.getString( 'edit' ) $i18n.getString( 'design_data_entry_form' )