gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] re: openehr


From: sjtan
Subject: [Gnumed-devel] re: openehr
Date: 25 May 2003 10:45:26 +1000

it's changed, some stuff available now.
Looking at the reference data_structures_rm_1_3.pdf document,
it's very Eiffel oriented;
looking at the table structures, even the datatypes functions are
defined

TABLE_S
------------------
def row_count()
def column_count()
def row_names()
def_column_names()
def ith_row(i)
def has_row_with_name(key)
def has_column_with_name(key)
def named_row(key)
def has_row_with_key(keySet)
def element_at_cell_ij(i, j)
element_at_named_cell( row_key, col_key)

and these are the encoding rules:4.2.4.2    

TABLE_S Structural Encoding Rules
The TABLE_S encoding rules are as follows:
·    Each column is represented by a COMPOUND, whose name value is the
name of the column.
·    Each row item in a given column is represented by an ELEMENT under
the relevant column
COMPOUND.
·    The name of each ELEMENT object is the name of its column.


something like

name = 'name'
index = 'index'
value = 'value'

table.cols = []
for x in range (n_cols):
        COMPOUND = { name: col_names[x], items = [] }
        table.cols.append(COMPOUND)
        for y in range( n_rows):
                ELEMENT = { name : col_names[x], index : y, value = None        
} 
                COMPOUND.items.append(ELEMENT)



Does using OpenEHR structures invalidate GPL ?

                        
        











reply via email to

[Prev in Thread] Current Thread [Next in Thread]