I would go with something like this ELEMENT[at0000] occurrences matches {1..1} matches { -- testtest value existence matches {0..1} matches { DV_INTERVAL occurrences matches {0..1} matches { -- DV_INTERVAL lower existence matches {0..1} matches { DV_PROPORTION occurrences matches {0..1} matches {*} -- DV_PROPORTION } upper existence matches {0..1} matches { DV_PROPORTION occurrences matches {0..1} matches {*} -- DV_PROPORTION } } } }
2016-09-06 10:21 GMT+02:00 Bakke, Silje Ljosland <silje.ljosland.ba...@nasjonalikt.no>: > Is interval of proportions a legal data type? If so, which is the correct > syntax? > > > > ELEMENT[at0004] occurrences matches {0..1} matches { -- Proportion of > normal daily intake > > value matches { > > DV_PROPORTION matches {*} > > DV_INTERVAL<DV_PROPORTION> matches { > > upper matches { > > DV_PROPORTION matches {*} > > } > > lower matches { > > DV_PROPORTION matches {*} > > } > > } > > } > > } > > > > … or … > > > > ELEMENT[at0004] occurrences matches {0..1} matches { -- Proportion of > normal daily intake > > value matches { > > DV_PROPORTION matches {*} > > DV_INTERVAL<DV_PROPORTION> matches { > > upper matches {*} > > lower matches {*} > > } > > } > > } > > > > … or none of the above? > > > > > > Kind regards, > Silje Ljosland Bakke > > > > Information Architect, RN > > Coordinator, National Editorial Board for Archetypes > National ICT Norway > > Tel. +47 40203298 > > Web: http://arketyper.no / Twitter: @arketyper_no > > > > > _______________________________________________ > openEHR-clinical mailing list > openEHR-clinical@lists.openehr.org > http://lists.openehr.org/mailman/listinfo/openehr-clinical_lists.openehr.org _______________________________________________ openEHR-clinical mailing list openEHR-clinical@lists.openehr.org http://lists.openehr.org/mailman/listinfo/openehr-clinical_lists.openehr.org