Changes between Version 24 and Version 25 of Archtectural Overview Archetypes


Ignore:
Timestamp:
Oct 27, 2007, 6:26:24 PM (17 years ago)
Author:
Tatsukawa, Akimichi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Archtectural Overview Archetypes

    v24 v25  
    189189The process at runtime may vary in some details according to implementations and other aspects of the care setting, but the main thrust will be the same. The archetypes used at a particular site will always be mediated at runtime by openEHR templates developed for that site or system; these will usually be linked to screen forms or other formal artefacts that enable the connection between archetypes and the user or application. It will not be uncommon for a template to be constructed partially at runtime, due to user choices of archetypes being made on the screen, although of course the user will not be directly aware of this. Regardless, by the time data are created and validated against the relevant archetypes, the template that does the job will be completely specified.
    190190
     191実際にデータが生成されたり格納されるプロセスは図33に図示されている。プロセスの本質はkernelコンポーネントにあり、ここにおいてテンプレート空間 template space とデータ空間 data space が維持されることでデータの生成と検証の作業が実行される。テンプレート空間は表示された画面フォームから取得されたテンプレートとアーキタイプを格納している。データ空間は、画面に対するユーザの振舞いに応じて生成されたデータ構造(openEHR参照モデルのインスタンス)を格納している。最終的にデータが格納されるタイミングでデータはテンプレートとアーキタイプの定義に適合していることが保証される。このチェックはユーザがデータ構造に変更を加えるたびに実行される。格納された全てのデータはそのノードがアーキタイプノード識別子の形式に依拠しており、そうした意味でデータノードはアーキタイプの意味論的な刻印 semantic imprint である。データモデルにおけるこうした包含関係によって、アーキタイプによって生成された全てのデータがアーキタイプパスを用いて照会可能となることが保証される。XMLによる表現では、アーキタイプノード識別子はXMLの属性(タグ内部に配置されるということ)として表現され、これによってXPathがこれらの識別子をもとにしたデータを簡便に探索することができる(次章で詳細を述べる)。
     192
    191193The actual process of data creation and committal is illustrated in FIGURE 33. The essence of the process is that a "kernel" component performs the task of data creation and validation by maintaining a "template space" and a "data space". The former contains the template and archetypes retrieved due to a screen form being displayed; the latter contains the data structures (instances of the openEHR reference model) that are constructed due to user activity on the screen. When data are finally committed, they are guaranteed to conform to the template/archetype definitions, due to the checks that are made each time the user tries to change the data structure. The committed data contain a "semantic imprint" of the generating archetypes, in the form of archetype node identifiers on every node of the data. This simple inclusion in the data model ensures that all archetypes data are queryable by the use of archetype paths. In XML representations, the archetype node ids are represented as XML attributes (i.e. inside the tag), thus enabling XPaths to be conveniently navigated through the data based on these identifiers (more details on this are in the next section).
    192194