This wiki has undergone a migration to Confluence found Here

Difference between revisions of "Template Implementation"

From HL7Wiki
Jump to navigation Jump to search
(Redirecting to Validating in RIMBAA)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[category:RIMBAA Issue]]
+
#REDIRECT [[Validating in RIMBAA]].
==Summary==
 
Given the ever-increasing reliance on [[Template]]s (a conformance construct), how does one use them (in [[RIMBAA]] applicatations, RO-square) for both validation of object structures, or for the process of creating template-conformant object structures? How to support "select a-structure-of-template(x) from DB where patient=x and encounter=y"?
 
 
 
==Analysis==
 
*''If there ideas as to how the issue can be dealt with, or multiple options how things can be solved, please include them in this section.''
 
* I am contemplating building a template-based storage layer on top of a relational database. This means that a template is my basic unit of transaction, validation and update. The individual acts/entities/roles of the template are still stored as individual records so it is easy to resolve links (by id) to specific acts/entities/roles within the template.  Fetching such records will still fetch the whole template (with the desired act/entity/role as its root!), so changing and recommitting it is a more easily defined operation.  I also make snapshots per template, so it is easy to store (and retrieve) the historical state of the whole template after an update.  This feels als a mid-point between a database storing individual acts as its atoms and a message-database storing whole messages.  It requires you to split messages into its constituent templates, but for most of my usecases (related to storing patient records, rather than messagecontent) this feels quite natural.
 
 
 
==Discussion==
 

Latest revision as of 13:51, 27 January 2010

.