\documentclass{article}  
\usepackage[top=3.5cm,right=3.5cm,bottom=3.5cm,left=3.5cm, footskip=2cm]{geometry}
\makeatletter
\usepackage{graphicx} % بسته‌های مورد نیاز خود را در اینجا بنویسید، مانند:
\usepackage[explicit]{titlesec}
\usepackage[pagebackref=true,colorlinks,linkcolor=blue,filecolor=green,urlcolor=black ,citecolor=magenta]{hyperref}

\usepackage{tocbibind}


\usepackage[font={scriptsize,bf}]{caption}
\usepackage{float}
\usepackage{multirow}
\usepackage{colortbl}
\usepackage[table,xcdraw]{xcolor}
\linespread{1.5}
\usepackage{subfig}
\setcounter{secnumdepth}{5}

\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ {\fontfamily{cmr}\selectfont\thechapter}}{20pt}{\hyperlink{chap-\thechapter}{\Huge#1}
	\addtocontents{toc}{\protect\hypertarget{chap-\thechapter}{}}}
\titleformat{name=\chapter,numberless}
{\normalfont\huge\bfseries}{}{-20pt}{\Huge#1}
\titleformat{\section}
{\normalfont\Large\bfseries}{\thesection}{1em}{\hyperlink{sec-\thesection}{#1}
	\addtocontents{toc}{\protect\hypertarget{sec-\thesection}{}}}
\titleformat{name=\section,numberless}
{\normalfont\Large\bfseries}{}{0pt}{#1}
\titleformat{\subsection}
{\normalfont\large\bfseries}{\thesubsection}{1em}{\hyperlink{subsec-\thesubsection}{#1}
	\addtocontents{toc}{\protect\hypertarget{subsec-\thesubsection}{}}}
\titleformat{name=\subsection,numberless}
{\normalfont\large\bfseries}{\thesubsection}{0pt}{#1}

\titleformat{\subsubsection}
{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{\hyperlink{subsubsec-\thesubsubsection}{#1}
	\addtocontents{toc}{\protect\hypertarget{subsubsec-\thesubsubsection}{}}}
\titleformat{name=\subsubsection,numberless}
{\normalfont\normalsize\bfseries}{\thesubsubsection}{0pt}{#1}


\usepackage{amssymb}
\usepackage[inline,shortlabels]{enumitem}
\usepackage{tabto}
\usepackage{supertabular}
\usepackage{pdflscape}
\usepackage{longtable}
\usepackage{rotating}
\usepackage{tablefootnote}

\usepackage{amsthm}
\usepackage{smartdiagram}  

%\usepackage{makeidx}‎‎
\usepackage[extrafootnotefeatures]{xepersian} % بسته زی‌پرشین را در اینجا فراخوانی نمایید
\threecolumnfootnotes
\settextfont[Scale=1.2]{B Nazanin}

\setlatintextfont[Scale=1]{Times New Roman}
\ExplSyntaxOn
\cs_set_eq:NN
\etex_iffontchar:D
\tex_iffontchar:D
\cs_undefine:N \c_one
\int_const:Nn \c_one { 1 } 
\ExplSyntaxOff
\setdigitfont{Yas}

%\input{myNewCommands}
%x\onehalfspacing
%\makeindex

%\usepackage{rotating, graphicx}
%\begin{document}
%	\begin{sidewaystable}چرخش جدول به شکل لنداسکیپپپپپپپپپپپپپپپپپپپپپپپپپپپ
	%		\includegraphics[width=\textwidth]{capsules}
	%		\caption{Result of a long day  at work.}
	%	\end{sidewaystable}
%\end{document} 
\begin{document}  
	
\smartdiagram[bubble diagram]{ عوارض آسیب نخاعی, اختلالات ریوی, اختلالات قلبی و عروقی, بی حرکتی کامل یا ناقص}  

\smartdiagram[constellation  diagram]{ عوارض آسیب نخاعی , اختلالات ریوی , اختلالات قلبی و عروقی, C, D, E, F} 

\end{document}  