public HttpResponseMessage ProfileConditions(int idPatientProfile)
        {
            // CAD, EN
            PatientProfileRESTCAD patientProfileRESTCAD = null;
            PatientProfileEN      patientProfileEN      = null;

            // returnValue
            List <ConditionEN>   en          = null;
            List <ConditionDTOA> returnValue = null;

            try
            {
                SessionInitializeWithoutTransaction();


                patientProfileRESTCAD = new PatientProfileRESTCAD(session);

                // Exists PatientProfile
                patientProfileEN = patientProfileRESTCAD.ReadOIDDefault(idPatientProfile);
                if (patientProfileEN == null)
                {
                    throw new HttpResponseException(this.Request.CreateResponse(HttpStatusCode.NotFound, "PatientProfile#" + idPatientProfile + " not found"));
                }

                // Rol
                // TODO: paginación


                en = patientProfileRESTCAD.ProfileConditions(idPatientProfile).ToList();



                // Convert return
                if (en != null)
                {
                    returnValue = new List <ConditionDTOA>();
                    foreach (ConditionEN entry in en)
                    {
                        returnValue.Add(ConditionAssembler.Convert(entry, session));
                    }
                }
            }

            catch (Exception e)
            {
                if (e.GetType() == typeof(HttpResponseException))
                {
                    throw e;
                }
                else if (e.GetType() == typeof(MoSIoTGenNHibernate.Exceptions.ModelException) && e.Message.Equals("El token es incorrecto"))
                {
                    throw new HttpResponseException(HttpStatusCode.Forbidden);
                }
                else if (e.GetType() == typeof(MoSIoTGenNHibernate.Exceptions.ModelException) || e.GetType() == typeof(MoSIoTGenNHibernate.Exceptions.DataLayerException))
                {
                    throw new HttpResponseException(HttpStatusCode.BadRequest);
                }
                else
                {
                    throw new HttpResponseException(HttpStatusCode.InternalServerError);
                }
            }
            finally
            {
                SessionClose();
            }

            // Return 204 - Empty
            if (returnValue == null || returnValue.Count == 0)
            {
                return(this.Request.CreateResponse(HttpStatusCode.NoContent));
            }
            // Return 200 - OK
            else
            {
                return(this.Request.CreateResponse(HttpStatusCode.OK, returnValue));
            }
        }