Context.getAuthenticatedUser().getPerson().getUuid()).getAttribute("Health Center").getValue());
Location location = Context.getLocationService().getLocation(userLocation);
PersonAttribute locationAttribute = new PersonAttribute();
locationAttribute.setAttributeType(Context.getPersonService().getPersonAttributeTypeByName("Health Center"));
locationAttribute.setValue(location.getId().toString());
person.addAttribute(locationAttribute);
if (post.get("attributes") != null) {
addAttributes(person, post);
}
if (post.get("addresses") != null) {
addAddresses(person, post);