eHealth Discussions - mHealth 2 (December 10, 2019)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Apps

Q&A for apps, scripts, and development with the Stack Exchange API

SELECT question.Id, question.Body, question.PostTypeId, question.AcceptedAnswerId,
  question.ParentId, question.CreationDate, question.DeletionDate,
  question.Score, question.ViewCount, question.OwnerUserId,
  question.OwnerDisplayName, question.LastEditorUserId, question.LastEditorDisplayName,
  question.LastEditDate, question.LastActivityDate, question.Title, question.Tags,
  question.AnswerCount, question.CommentCount, question.FavoriteCount,
  question.ClosedDate, question.CommunityOwnedDate,
  usr.Id, usr.Reputation, usr.CreationDate, usr.DisplayName,
  usr.LastAccessDate, usr.WebsiteUrl, usr.Location, usr.AboutMe,
  usr.Views, usr.UpVotes, usr.DownVotes, usr.AccountId, 
  (SELECT COUNT(*) FROM Posts as anwser
     WHERE anwser.PostTypeId = 2 /* 2 = Answer */
       AND anwser.ParentId = question.Id /* Linking anwser to question */
       AND anwser.OwnerUserId <> question.OwnerUserId /* answers not given by question owner */) 
       AS DiscussionCount 
FROM Posts question 
    INNER JOIN Users usr ON question.OwnerUserId = usr.Id
WHERE
    question.PostTypeId = 1 AND
   (question.tags LIKE '%<google-fit>%' 				 OR /* 683 */
	question.tags LIKE '%<researchkit>%' 				 OR /* 114 */
	question.tags LIKE '%<samsung-gear-fit>%' 		 	 OR	/* 018 */
	question.tags LIKE '%<strava>%' 				 	 OR /* 051 */
	question.tags LIKE '%<google-fit-sdk>%'			 	 OR /* 233 */
	question.tags LIKE '%<wearables>%' 				 	 OR /* 057 */
	question.tags LIKE '%<hapi-fhir-android-library>%' 	 OR /* 009 */
	question.tags LIKE '%<carekit>%' 					 OR /* 018 */
	question.tags LIKE '%<medical>%' 					 OR /* 297 */
	question.tags LIKE '%<icd>%' 						 OR /* 022 */
	question.tags LIKE '%<hit>%' 						    /* 297 */
    )

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results