# Is the proportion kind "integer fraction" correct? **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2018-07-02 23:19 UTC **Views:** 2 **Replies:** 4 **URL:** https://discourse.openehr.org/t/is-the-proportion-kind-integer-fraction-correct/15525 --- ## Post #1 by @system Hi, I'm checking the datatypes specs doing some modeling tests on the archetype editor. In the specs, the "integer fraction" proportion kind means the representation of the fraction 3/2 should be 1 1/2. [http://www.openehr.org/releases/RM/Release-1.0.3/docs/data_types/data_types.html#_proportion_kind_class](http://www.openehr.org/releases/RM/Release-1.0.3/docs/data_types/data_types.html#_proportion_kind_class) Semantically I think this is not on the same level as the other "proportion kinds", since it doesn't represent a kind, but a format, where the same values can be recorded as numerator (3) and denominator (2) with proportion kind "fraction" and will mean the same thing. IMO "integer fraction" doesn't even change the meaning or interpretation of the fraction, while other "proportion kinds" do. My question is if the "integer fraction" really belongs to a "proportion kind" or should be somewhere else on the specs? I guess this tried to solve a use case and it was a shorthand to represent this format as a proportion kind. Thanks, Pablo. --- ## Post #2 by @yampeku both that and fraction seem to be intended for visualization purposes more than real constraints. --- ## Post #3 by @system But I think "fraction" makes the values of the DV_PROPORTION (numerator, denominator) to be interpreted differently from other proportion kinds (percent, unary, ratio). My point is "fraction" and "integer fraction" have no real semantic differences, and "integer fraction" is just for visual representation. --- ## Post #4 by @yampeku But following the same reasoning you could say that "integer fraction" makes the values to be interpreted differently from percert, unary or ratio, and has no real semantic difference, thus "fraction" being only a visual representation of "integer fraction" ;) --- ## Post #5 by @system Exactly, "fraction" and "integer fraction" are the same thing semantically, but in the specs, the "integer fraction" the only one that defines a specific format, "fraction" does not specifies a format, just the fraction semantics for the DV_PROPORTION. That is the only difference. --- **Canonical:** https://discourse.openehr.org/t/is-the-proportion-kind-integer-fraction-correct/15525 **Original content:** https://discourse.openehr.org/t/is-the-proportion-kind-integer-fraction-correct/15525