Skip to content

Commit

Permalink
chore: remove enrollment status
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanGHole committed Dec 4, 2023
1 parent 8d96539 commit ed982b2
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.lang.reflect.Array;
import java.nio.charset.Charset;
import java.text.ParseException;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collections;
Expand All @@ -43,13 +41,10 @@
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;

import org.hisp.dhis.api.model.v2_38_1.ApiToken;
import org.hisp.dhis.api.model.v2_38_1.Attribute__2;
import org.hisp.dhis.api.model.v2_38_1.Attributes;
import org.hisp.dhis.api.model.v2_38_1.DescriptiveWebMessage;
import org.hisp.dhis.api.model.v2_38_1.Enrollment;
import org.hisp.dhis.api.model.v2_38_1.Enrollment__2;
import org.hisp.dhis.api.model.v2_38_1.OrganisationUnit;
import org.hisp.dhis.api.model.v2_38_1.OrganisationUnitLevel;
Expand Down Expand Up @@ -228,7 +223,6 @@ public static List<String> createDhis2TrackedEntitiesWithEnrollment( int numberO
.withProgram( "w0qPtIW0JYu" )
.withEnrolledAt( "2023-01-01" )
.withOccurredAt( "2023-01-01" )
.withStatus( Enrollment__2.EnrollmentStatus.ACTIVE )
.withAttributes( attributes ) );

TrackedEntity trackedEntity = new TrackedEntity()
Expand Down

0 comments on commit ed982b2

Please sign in to comment.