openEHR schema base types for the default values
DEFAULT_VALUE <== is a ==> DEFAULT_DV_BOOLEAN == has a ==> DV_BOOLEAN
use AOM constraint objects for the DV constraints
1. Remove 'from_template' is not needed
2. Otherwise is same.
termQueryId discussion
======================
termQueryId --> TSU - terminology subset URI
eg. terminology://Snomed?language=en-GB&subset=AllBacteria
TSU should be (subsetName{terminologyId+queryName})?language=en-GB&terminologyVersion=2007.1
eg. TSU = Snomed_BloodPhenotype?langauge=en-GB&terminologyVersion=2007.1
the combination of terminology name and term subset query name is like a GUID
to refer to a particular term query in the OTS query register
therefore the TSU should be something like:
Snomed[version=2007.1, langauge=en-GB]/BloodPhenotype
limitTolist, includedValues, excludedValues discussion
======================================================
When the included/excluded values include values no longer returned by the TSU
these are simply ignored, so only the intersection of TSU-return terms and includedTerms
are considered for inclusion. Similarly the terms excluded by excludedValues which
are not present in the TSU-return terms are ingored.
LimitToList is relevant for free text (functions as list_open on C_STRING)
LimitToList is relevant for MOST ext coded text (functions as list_open on C_CODE_REFERENCE)
LimitToList not relevant for internally coded text (where archetype has restricted
codes to internally-defined list; could include list of ext codes in AC binding).
Included values -
- relevant to include free text values (much as in list in C_STRING)
- relevant to include ext coded text values (might need includedCodes property on a
C_CODE_REFERENCE)
Excluded values -
- relevant to remove internal term codes
- relevant to remove terms from external term subset
- relevant to remove included text values in embedded templates
- relevant to remove terms from external term subsets in embedded templates
AllowTerminologyLookup moved out and into form definition.