Allowing quantity internal inconsistency
Raise
Analysis
Raise
Analysis
Description
Environment
win xp, AE v2.2.905
Reason For Rejection
Thanks Pablo, this is a duplicate of AER-23.
Activity
Show:
Duplicate
Details
Details
Reporter

Components
Affects versions
Priority
Created September 17, 2014 at 5:41 PM
Updated September 29, 2014 at 10:34 PM
Resolved September 29, 2014 at 10:34 PM
Quantity interval elements can have different property assigned for lower and upper, what doesn't make much sense since the interval should have the same units for lower and upper bounds:
ELEMENT[at0020] occurrences matches {0..1} matches { – Quanitty interval
value matches {
DV_INTERVAL<DV_QUANTITY> matches {
upper matches {
C_DV_QUANTITY <
property = <[openehr::129]>
>
}
lower matches {
C_DV_QUANTITY <
property = <[openehr::124]>
list = <
["1"] = <
units = <"mg">
magnitude = <|1.0..1000.0|>
precision = <|1|>
>
["2"] = <
units = <"gm">
magnitude = <|1.0..100.0|>
precision = <|1|>
>
>
>
}
}
}
}