dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16603
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6349: (patient) cleanup code
------------------------------------------------------------
revno: 6349
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-03-22 21:25:31 +0700
message:
(patient) cleanup code
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/DefaultPatientDataValueService.java
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/hibernate/HibernatePatientDataValueStore.java
--
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-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/DefaultPatientDataValueService.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/DefaultPatientDataValueService.java 2012-03-22 14:17:16 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/DefaultPatientDataValueService.java 2012-03-22 14:25:31 +0000
@@ -98,14 +98,6 @@
return patientDataValueStore.getAll();
}
- // public PatientDataValue getPatientDataValue( ProgramStageInstance
- // programStageInstance, DataElement dataElement,
- // OrganisationUnit organisationUnit )
- // {
- // return patientDataValueStore.get( programStageInstance, dataElement,
- // organisationUnit );
- // }
-
public Collection<PatientDataValue> getPatientDataValues( ProgramStageInstance programStageInstance )
{
return patientDataValueStore.get( programStageInstance );
=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/hibernate/HibernatePatientDataValueStore.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/hibernate/HibernatePatientDataValueStore.java 2012-03-22 14:17:16 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patientdatavalue/hibernate/HibernatePatientDataValueStore.java 2012-03-22 14:25:31 +0000
@@ -67,15 +67,6 @@
return query.executeUpdate();
}
-// public PatientDataValue get( ProgramStageInstance programStageInstance, DataElement dataElement,
-// OrganisationUnit organisationUnit )
-// {
-// return (PatientDataValue) getCriteria( Restrictions.eq( "programStageInstance", programStageInstance ),
-// Restrictions.eq( "dataElement", dataElement ) )
-// .createAlias( "programStageInstance", "programStageInstance" ).add(
-// Restrictions.eq( "programStageInstance.organisationUnit", organisationUnit ) ).uniqueResult();
-// }
-
@SuppressWarnings( "unchecked" )
public Collection<PatientDataValue> get( ProgramStageInstance programStageInstance )
{