Hi, another question about interval events. I'm having issues understanding how to use the "change" math functions. >From the spec http://www.openehr.org/releases/RM/Release-1.0.2/docs/data_structures/data_structures.html#_change_data
- "change": this means that the value recorded is the difference between the value now and the value some time previously. It can be positive or negative; - "increase": the value recorded for the change is positive. The name (i.e. ELEMENT.name) chosen for the item in an archetype carries the semantic of positivity e.g. "increase of ….; rise of….; ….gain" etc; - "decrease": the value recorded for the change is positive. But the name chosen for the item carries the semantic of negativity e.g. "decrease of ….; fall of ….; …. loss". Since "change", "increase" or "decrease" are based on a previous value, shouldn't the record of the change have a link to the previous value that served as reference to record the change? I'm not sure in which context a change or increase on some value would be useful without the value that change or increase is compared with. Checking the terminology for math functions, we have absolute (can be calculated just from given values), and relative (needs a given value and a previous value) math functions. https://github.com/openEHR/terminology/blob/master/openEHR_RM/en/openehr_terminology.xml These are the ones that I don't understand, in terms of how to use them in software: <concept id="147" rubric="change"/> <concept id="148" rubric="total"/> <concept id="149" rubric="variation"/> <concept id="521" rubric="decrease"/> <concept id="522" rubric="increase"/> <concept id="640" rubric="actual"/> Does anybody have some example that uses any of those math functions? Thanks! -- *Ing. Pablo Pazos Gutiérrez* [email protected] +598 99 043 145 skype: cabolabs Subscribe to our newsletter <http://eepurl.com/b_w_tj> <https://cabolabs.com/> http://www.cabolabs.com https://cloudehrserver.com
_______________________________________________ openEHR-technical mailing list [email protected] http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

