Tweet meta syntax for ODL

I'm interested in the idea of ​​using Tweets / SMS / Identica or other short-text status update systems to track daily life observation (or ODL). The basic concept is that you send status updates to Twitter or Identi.ca, or perhaps just an SMS message or something else in a format that can later be launched to display templates.

You can use it to track exercises, diets, movie settings, anything you like.

To do this, you need to have a syntax that allows people and computers to easily analyze your status updates. The syntax must be dense, which supports a low number of characters, but is still accessible to humans.

This idea is not new, and there are many twitter apps for tracking exercise and eating habits. Twitter is essentially a short ODL text environment that you can easily see by looking at #feeling http://search.twitter.com/search?q=%23feeling or looking for #hurts http: //search.twitter .com / search? q =% 23hurts or applications designed to extract a wealth of ODL data already collected on twitter: http://www.tweetfeel.com/

Using Twitter to track ODLs, you stop fighting to get people to use this integration mechanism designed just for that, like Google Health and HealthVault, and instead focus on improving the value of the ODL tracking system that people already use, like Facebook or Twitter. But for this, you need a generalized approach for entering ODL and for parsing these records so that you can get the value at a higher or at least different level.

There are also several syntaxes available to generalize the approach to using Twitter to track what you like. These are the ones that interest me the most. So far I know a few:

Daytum has twitter syntax . It uses direct messages and looks like this:

d daytum item : amount 
// simple data label and value
d daytum item [category, category] : amount
// same thing but with tagging...

.flowingdata.com . .

// yfd works with "action" and "value" pairs
d yfd weigh 160
d yfd exercised arms
d yfd watched Back to the Future
// but can be made more complex with units
d yfd drank 2 water
d yfd drank 1 coke
// and timestamps 
d yfd played xbox at 20:00
d yfd goodnight at 11:00pm
d yfd goodnight at 11pm

yfd , :

. , . . , - , . - , - , . 5 . , . 160 170

?

, , Grafitter. , ...

//hashtag with comma separated tags
#mood(happy,elated,drunk)
#mood(sad,sober)
// scales, like not busy
#busy(1)
// very busy
#busy(5)
//straight up numbers
#lbs(250)
#worked(10)

Tweet DM, , , //. ,

d tyeats #breakfast One bowl of cereal *c500
// the *c500 marks the tweet as 500 calories

, , ODL, , runkeeper, - :

@meattwitter Just completed a 4.50 km run with @runkeeper. Check it out! http://rnkpr.com/aaaaa #RunKeeper

, ()?

ODL ? DM ? "" ODL , runkeeper ..? - - ( ODL )? - , ?

: , OMHE . http://code.google.com/p/omhe/ OMHE, python.

#The basic OMHE syntax follows this basic format"
[COMMAND_NAME]<VALUE><#[TAG]>

# Reporting WEIGHT (This is correct):
wt123.4

# In the previous example, COMMAND_NAME=wt and VALUE=123.4

# Reporting WEIGHT (Also Correct):
wt=123.4

# In the previous example, COMMAND_NAME=wt and VALUE=123.4

# Reporting WEIGHT with _TAGS_ (Also Correct) :
wt=123.4#mytag#myothertag

# The previous example has two tags: 'mytag' and 'myothertag'

# Weight is a command that requires a value (Incorrect):
wt

#You can never have an equal sign without a value. (Also Incorrect):
wt=

# Here is an OMHE string with two commands separated by white space " ".
# Says the command 'wt' (weight) has a value of '195' and blood glucose is 150.
wt195 bg=150

# Report the start of a menstrual cycle (correct):
# (Correct) mcycle is a command where value is not required 
mcycle

# Report the first day of a menstrual cycle:
# Notice we can still add tags even if no value is given 
mc

# Report the start of a menstrual cycle (Incorrect):
# You can't provide an equals "=" sign without a value: 
mc=

# Report the adherence to a health directive such as taking medication (correct):
# (Correct) did is a command where value is not required 
did

# Report the adherence to a health directive  to stretch arm (correct):
did=ARMSTRETCH

# Send Blood Glucose Level:
bg125

# Send Blood Pressure:
bp100d120p65

# Send Blood Pressure using the equals sign style:
bp=100d120p65

# Send Weight:
wt145
wt=145 #Express weight using the equals sign style
w78k   #Express weight in kilograms
wt145l  #Explicit express weight in pounds (lbs)
wt245.8 #Express fractional weight
wt245p8 #Another way to express fractional weight

# Send blood glucose, patient identifier, a note, and the date:
bg145 id213762732467234 nAllGood d20090117

# Sending blood glucose with a simple note tag (with spaces):
bg145#I'm*feeling*very*tired*today

# Report the start of a menstrual cycle:
mcycle

# Get a copy of your health benefits/insurance card:
gethc

# Send a copy of your health benefits card to someone via fax:
sendhc=6509840982#fax

# Send a copy of your health benefits card as a pdf to someone via email:
sendhc=nurse@mydoc.com#pdf

# Get a copy of your personal health record:
getphr

# Get a copy of your personal health record as a pdf:
getphr#pdf

# Get a copy of your personal health record in CCD format:
getphr#ccd

# Send a copy of your personal health record to someone in CCR format:
sendphrnurse@mydoc.com#ccr

# Send a copy of your personal health record to someone in XML microformat:
sendphr=nurse@mydoc.com#microformat

- , , . , , , ! , , Twitter , DM, .., , , .

, "private", - , .

+3
3

, ... OMHE: http://code.google.com/p/omhe/

OpenMRS... ( OpenMRS)...

, , SMS .:)

, .

+1

:

, -. , "", "Body4Break".

http://github.com/aviars/b4b

-, ORKH RunKeeper.

-Alan

+1

Source: https://habr.com/ru/post/1759639/


All Articles