EnrollmentService

Functions

Link copied to clipboard
abstract fun allowEventCreation(enrollmentUid: String, stagesToHide: List<String>): Single<Boolean>
Link copied to clipboard
abstract fun blockingGetAllowEventCreation(enrollmentUid: String, stagesToHide: List<String>): Boolean
Link copied to clipboard
abstract fun blockingGetEnrollmentAccess(trackedEntityInstanceUid: String, programUid: String): EnrollmentAccess

Blocking version of getEnrollmentAccess.

Link copied to clipboard
abstract fun blockingIsOpen(enrollmentUid: String): Boolean

Blocking version of isOpen.

Link copied to clipboard
abstract fun getEnrollmentAccess(trackedEntityInstanceUid: String, programUid: String): Single<EnrollmentAccess>

Evaluates the access level of the user to this program and trackedEntityInstance.

Link copied to clipboard
abstract fun isOpen(enrollmentUid: String): Single<Boolean>

Checks if the enrollment status is ACTIVE.