-
Notifications
You must be signed in to change notification settings - Fork 3
Dev Responsedomains
CodeList A special form of maintainable that allows a single codelist to be maintained outside of a CodeListScheme.
QuestionGrid Structures the QuestionGrid as an NCube-like structure providing dimension information, labeling options, and response domains attached to one or more cells within the grid.
QuestionItem Structure a single Question which may contain one or more response domains (i.e., a list of valid category responses where if "Other" is indicated a text response can be used to specify the intent of "Other").
ResponseInMixed A structure that provides both the response domain and information on how it should be attached, or related, to other specified response domains in the question.
Category A category (without an attached category) response for a question item. Implemented as: Code.Category = Code.codeValue;
Code A coded response (where both codes and their related category value are displayed) for a question item. Implemented as: Code.Category = "A_NAME", Code.CodeValue = "A_VALUE"
Numeric A numeric response (the intent is to analyze the response as a number) for a question item. Implemented as: Code = NULL; (no category is needed)
Scale A scale response which describes a 1..n dimensional scale of various display types for a question. Implemented as: Code.CodeValue = valid values 1..n + control codes (N/A, Refuses, can't answer, don't know etc)
Text A textual response. Implemented as: Code = NULL; (no category is needed)
In responsedomain we use responseCardinality to specify the minimum and maximum number of responses allowed for this response domain. For scale domain this should always be minimum = 1 and maximum = 1 (only one value can be selected on a (simple) scale). For List (catagoeylist/codelist/missingvalueslist/mixed) it can be from minimum = 1 and maximum = 1 to minimum = max#element and maximum = max#element. When maximum is greater than 1 we have multiple choice and we need to change from **radiobuttons **to checkboxes
In managedRepresentation (Catagory root element) the meaning is the same as for responsedomain, and a responsedomain should, if possible use that from its template, as least as a default value (that the user can change) it is called inputLimit, not responseCardinality.
For input catagories (DATETIME,TEXT, NUMERIC) it will have different meaning.
DATETIME -> valid start and end date.
TEXT -> minimum and maximum length of response (if maximum is greater than 80 or 100 we should paint it as <textarea> not
NUMERIC -> valid range (i.e. number between 10 and 100)
- DateTime; A date or time response for a question item.
- Distribution;A distribution response for a question, may only be included in-line.
- Geographic; A geographic coordinate reading as a response for a question item.
- GeographicLocationCode; A response domain capturing the name or category of a Geographic Location as a response for a question item, may only be included in-line.
- GeographicStructureCode;A geographic structure category as a response for a question item, may only be included in-line.
- Location; A location response (mark on an image, recording, or object) for a question, may only be included in-line.
- Nominal; A nominal (check off) response for a question grid response, may only be included in-line.
- Ranking; A ranking response which supports a "ranking" of categories. Generally used within a QuestionGrid, may only be included in-line.