Index: openacs-4/packages/assessment/www/doc/data_collection.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/doc/data_collection.html,v diff -u -r1.3 -r1.4 --- openacs-4/packages/assessment/www/doc/data_collection.html 29 Jul 2004 09:35:11 -0000 1.3 +++ openacs-4/packages/assessment/www/doc/data_collection.html 3 Aug 2004 23:53:03 -0000 1.4 @@ -3,191 +3,266 @@ - Data Collection - - -

Overview

-

-The schema for the entities that actually collect, store and retrieve -Assesment data parallels the hierarchical structure of the Metadata Data Model. In the antecedent -"complex survey" and "questionnaire" systems, this schema was simple -two-level structure: -

-

- -

-This suffices for one-shot surveys but doesn't support the fine -granularity of user-action tracking, "save&resume" capabilities, -and other requirements identified for the enhanced Assessment package. -Consequently, we use a more extended hierarchy: -

-

- -

To support user modification of submitted data (of which -"store&resume" is a special case), we base all these entities in -the CR. In fact, we use both cr_items and cr_revisions in our schema, -since for any given user's Assessment submission, there indeed is a -"final" or "live" version. (In contrast, recall that for any Assessment -itself, different authors may be using different versions of the -Assessment. While this situation may be unusual, the fact that it must -be supported means that the semantics of cr_items don't fit the -Assessment itself. They do fit the semantics of a given user's -Assessment "session" however.)

-

We distinguish here between "subjects" which are users whose -information is the primary source of the Assessment's responses, and -"users" which are real OpenACS users who can log into the system. -Subjects may be completing the Assessment themselves or may have -completed some paper form that is being transcribed by staff people who -are users. We thus account for both the "real" and one or more "proxy" -respondents via this mechanism. To make live not too complicated we -will assume that all subjects have a user_id in OpenACS.
-

-

Note that we assume that there is only one "real" -respondent. Only one student can take a test for a grade. Even if -multiple clinical staff enter data about a patient, all those values -still pertain to that single patient.  -

-

Synopsis of Data-Collection Datamodel

-

-Here's the schema for this subsystem:
-

-

-
-

Data Modell

-
-

-

-

Specific Entities

-

This section addresses the attributes the most important entities -have in the data-collection data model -- principally the various -design issues and choices we've made. We omit here literal SQL snippets -since that's what the web interface to CVS is for. ;-) -

-

- - -
- +
+