Hello!

Within the context of my bachelor thesis, i am trying to transform a domain
model into an archetype, but now i am having some problems and i hope maybe
some of you here can help me.

My first question is, is it possible to define constant or "hard coded"
values ie. constant text which contains a description?
So far I am trying to add a CODED_TEXT that matches a defined constraint
ac0001, but i am not sure if this is a valid solution.

        ITEM_TREE[at0003] matches {     -- ITEM_TREE
                items cardinality matches {0..*; unordered} matches {
                        CLUSTER[at0004] occurrences matches {0..1} matches {    
-- Top
                                items cardinality matches {0..*; unordered} 
matches {
                                        ELEMENT[at0005] occurrences matches 
{0..1} matches {    -- SpokenDefault
                                                value matches {
                                                        DV_CODED_TEXT matches {
                                                                defining_code 
matches {[ac0001]}                -- Top
                                                                }
                                                        }

and the other question
How do i add "sub-elements", is it even possible? ie. I have a Text field
"Top" and i want to add a Text field "SpokenDefault" to it, which shows how
to pronounce the word Top. the way i do it right now is creating a cluster
for every "element" which is not very effective.

thanks in advance
TimmyX
-- 
View this message in context: 
http://www.nabble.com/Constant-Values-and-%22sub%22-Elements-tp17053994p17053994.html
Sent from the openehr-technical mailing list archive at Nabble.com.


Reply via email to