← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6255: (patient) Remove patient-details form.

 

------------------------------------------------------------
revno: 6255
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-03-13 09:19:10 +0700
message:
  (patient) Remove patient-details form.
removed:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.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-web/dhis-web-caseentry/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml	2012-03-12 07:03:27 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml	2012-03-13 02:19:10 +0000
@@ -656,11 +656,5 @@
 			<param name="requiredAuthorities">F_PATIENT_ADD</param>
 		</action>
 		
-		<action name="getPatientDetails"
-			class="org.hisp.dhis.caseentry.action.patient.GetPatientAction">
-			<result name="success" type="velocity">/content.vm</result>
-			<param name="page">/dhis-web-caseentry/detailsPatient.vm</param>
-		</action>
-		
 	</package>
 </struts>

=== removed file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm	2012-02-25 03:16:51 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm	1970-01-01 00:00:00 +0000
@@ -1,96 +0,0 @@
-<table class='mainPageTable'>
-	<tr>
-		<th colspan='2'><label class="bold">$i18n.getString( "demographics" )</label></th>
-	</tr>
-	<tr>
-		<td>
-			<label class="bold">$i18n.getString('full_name') : </label>
-		</td>
-		<td>
-			$patient.getFullName()
-		</td>
-	</tr>
-	<tr #alternate( true )>
-		<td>
-			<label class="bold">$i18n.getString('gender') : </label>
-		</td>
-		<td>
-			$i18n.getString($patient.gender)
-		</td>
-	</tr>
-	<tr>
-		<td><label class="bold">$i18n.getString('dob_type') : </label>
-		</td>
-		<td>
-			$!patient.dobType
-		</td>
-	</tr>
-	<tr #alternate( true )>
-		<td><label class="bold">$i18n.getString('date_of_birth') : </label>
-		</td>
-		<td>
-			$format.formatDate( $!patient.birthDate )
-		</td>
-	</tr>
-	<tr>
-		<td><label class="bold">$i18n.getString('blood_group') : </label>
-		</td>
-		<td>
-			#if($!patient.bloodGroup && !$patient.bloodGroup.equals("")) $patient.bloodGroup #else $i18n.getString('none') #end
-		</td>
-	</tr>
-	
-	<tr><td>&nbsp;</td></tr>
-	<tr>
-		<th colspan='2'><label class="bold">$i18n.getString( "identifiers" )</label></th>
-	</tr>
-	#set( $mark = false )
-	#foreach( $patientIdentifier in $patient.identifiers )
-	<tr #alternate( $mark )>
-		<td>
-			<label class="bold">
-				#if($!patientIdentifier.identifierType)  $!patientIdentifier.identifierType.name
-				#else $i18n.getString( "patient_system_id") #end :
-			</label>
-		</td>
-		<td>
-			  $patientIdentifier.identifier
-		</td>
-	</tr>
-	#set( $mark = !$mark )
-	#end
-	
-	<tr><td colspan='2'>&nbsp;</td></tr>
-	<tr>
-		<th colspan='2'><label class="bold">$i18n.getString( "attributes" )</label></th>
-	</tr>
-	#set( $mark = false )
-	#foreach( $attribute in $patient.attributes )
-		#if( $patientAttributeValueMap.get( $attribute.id ) != " " )
-		<tr #alternate( $mark )>
-			<td><label class="bold">$attribute.name : </label>
-			</td>
-			<td>
-				#if($attribute.valueType=="YES/NO")
-					$i18n.getString( $patientAttributeValueMap.get( $attribute.id ) )
-				#else
-					$patientAttributeValueMap.get( $attribute.id )
-				#end
-			</td>
-		</tr>
-		#set( $mark = !$mark )
-		#end
-	#end
-	
-	<tr><td>&nbsp;</td></tr>
-	<tr>
-		<th colspan='2'><label class="bold">$i18n.getString( "enrolled_in_program" )</label></th>
-	</tr>
-	#set( $mark = false )
-	#foreach( $program in $patient.programs )
-	<tr #alternate( $mark )>
-		<td colspan='2' >$program.name</td>
-	</tr>
-	#set( $mark = !$mark )
-	#end
-</table>
\ No newline at end of file