Skip to content

Commit

Permalink
Update PersonService.java (#2371)
Browse files Browse the repository at this point in the history
fixes #2370
  • Loading branch information
luisleon1894 committed Aug 20, 2024
1 parent 93b2152 commit 093e1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/ohdsi/webapi/service/PersonService.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public Void mapRow(ResultSet resultSet, int arg1) throws SQLException {
op.startDate = resultSet.getTimestamp("start_date");
op.endDate = resultSet.getTimestamp("end_date");
op.type = resultSet.getString("observation_period_type");
op.id = resultSet.getInt("observation_period_id");
op.id = resultSet.getLong("observation_period_id");

profile.observationPeriods.add(op);
return null;
Expand Down

0 comments on commit 093e1f1

Please sign in to comment.