We’re trying to finalise the pattern for exclusion archetypes, and would like to use the element names to carry some flavor differences such as “no known history of …” and “no evidence of …”. We’ve considered adding a runtime name constraint to make some level of standardization of these statements, but at the same time we recognize that there will be considerable variation in what will be required as statements in different use cases. So what we’d like to do is to use a kind of “optional runtime name constraint”, or “runtime name suggestion”. We know this isn’t supported by tooling atm, but is it allowed by the specs? If so, how can it be done?
Kind regards, Silje Ljosland Bakke
Information Architect, RN
Coordinator, National Editorial Board for Archetypes
Nasjonal IKT HF
I’m not sure enough of the requirement, but this ADL logic may be what you are looking for. See the DV_TEXT/DV_CODED_TEXT just before the following heading after that section.
As Thomas has noted, it is possible in adl but is not supported in archetype editor. That is probably fixable but I’m not sure currently how template designer would handle it.
It should be the same as for ADL2 except of course, stick to using the correct at-codes, i.e. ‘at0004’ etc, rather than id-codes. SO I think the example from the ADL 2 spec is pretty close to the one you want, with at-codes, and terminal constraints they way you want.
The main issue is that though the the Archetype Editor will read that construct, it loses the internal codes if the archetype is changed i.e it does not write the data back out again.