OHDSI Home | Forums | Wiki | Github

WEB API Person Service has Daimon Type Vocabulary should be CDM

public class PersonService extends AbstractDaoService {

@Path("{personId}")
@GET
@Produces(MediaType.APPLICATION_JSON)
public PersonProfile getPersonProfile(@PathParam(“sourceKey”) String sourceKey, @PathParam(“personId”) String personId)
{
final PersonProfile profile = new PersonProfile();

Source source = getSourceRepository().findBySourceKey(sourceKey);
String tableQualifier = source.getTableQualifier(SourceDaimon.DaimonType.Vocabulary);

DaimonType should be CDM

Thanks Don,
I’ve created a git issue on this: https://github.com/OHDSI/WebAPI/issues/92. We’ll track it there.

-Chris

t