Issues

Select view

Select search mode

 
20 of 20

Correct flattening for non-differential path overlays

Done

Description

Parent archetype:

CLUSTER[id1] matches { -- Laboratory test panel items matches { CLUSTER[id3] matches { -- Laboratory Result items matches { ELEMENT[id2] occurrences matches {0..1} -- Result Value ELEMENT[id4] matches { -- Result Comment value matches { DV_TEXT[id15] } } ELEMENT[id5] occurrences matches {0..1} matches { -- Reference Range Guidance value matches { DV_TEXT[id16] } } ELEMENT[id6] occurrences matches {0..1} matches { -- Result Value Status value matches { DV_CODED_TEXT[id17] matches { defining_code matches {[ac1]} -- Result Value Status (synthesised) } } } ELEMENT[id7] occurrences matches {0..1} matches { -- DateTime Result Value Status value matches { DV_DATE_TIME[id18] } } } }

If a differential archetype contains text of the form:

CLUSTER[id1.1] matches { -- Lipid studies panel items matches { CLUSTER[id3.4] matches { -- LDL items matches { ELEMENT[id2.4] matches { -- LDL value matches { DV_QUANTITY[id0.1] matches { property matches {[at0.1]} magnitude matches {|>=0.0|} units matches {"mmol/l"} } } } } }

The proper implication of the overlay should be that it is a replacement from items down, i.e. that the result looks like the child archetype block.

If instead of 'items' it had '/items' then a proper overlay of the child structure on a copy of the parent structure should occur.

Currently the flattener does the latter kind of overlay even with 'items' as the attribute name.

Details

Reporter

Original estimate

Components

Priority

Created October 16, 2014 at 12:18 AM
Updated September 19, 2017 at 10:03 AM
Resolved September 19, 2017 at 10:03 AM

Activity

Show: