class ProgramTrackedEntityTypeUtils {

    @Nullable
    public static FhirResourceType getTrackedEntityFhirResourceType(
        @Nonnull TrackedEntityMetadataService trackedEntityMetadataService,
        @Nonnull TrackedEntityRuleRepository trackedEntityRuleRepository,
        @Nonnull Program program )
    {
        return getTrackedEntityRule( trackedEntityMetadataService, trackedEntityRuleRepository, program ).map( AbstractRule::getFhirResourceType ).orElse( null );
    }

    private  ProgramTrackedEntityTypeUtils();

}