Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Nov 6, 2023
1 parent 6aaccea commit 574152d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/mitre/synthea/export/ExporterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public void testExportFilterShouldFilterClaimItems() {
public void testExportFilterShouldNotKeepOldStuffWhenActiveOfSameType() {
// create old encounters with the same repeated condition, ended
long oneWeek = Utilities.convertTime("weeks", 1);
for (int i = 0 ; i < 3 ; i++) {
for (int i = 0; i < 3; i++) {
record.encounterStart(time - years(10 - i), EncounterType.EMERGENCY);
record.conditionStart(time - years(10 - i), "viral_sinusitis");
record.conditionEnd(time - years(10 - i) + oneWeek, "viral_sinusitis");
Expand All @@ -271,7 +271,7 @@ public void testExportFilterShouldNotKeepOldStuffWhenActiveOfSameType() {
// create a recent encounter with the same condition, still active
record.encounterStart(time - oneWeek, EncounterType.EMERGENCY);
record.conditionStart(time - oneWeek, "viral_sinusitis");

Person filtered = Exporter.filterForExport(patient, yearsToKeep, endTime);

assertEquals(1, filtered.record.encounters.size());
Expand Down

0 comments on commit 574152d

Please sign in to comment.