dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24393
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11949: minor fix
------------------------------------------------------------
revno: 11949
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-09-06 12:54:41 +0200
message:
minor fix
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/event/AbstractPersonService.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-dxf2/src/main/java/org/hisp/dhis/dxf2/event/AbstractPersonService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/event/AbstractPersonService.java 2013-09-06 09:34:21 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/event/AbstractPersonService.java 2013-09-06 10:54:41 +0000
@@ -99,7 +99,7 @@
Person person = new Person();
Patient patient = patientService.getPatient( uid );
- person.setPatient( patient.getUid() );
+ person.setPerson( patient.getUid() );
return person;
}
@@ -108,7 +108,7 @@
public Person getPerson( Patient patient )
{
Person person = new Person();
- person.setPatient( patient.getUid() );
+ person.setPerson( patient.getUid() );
return person;
}