|
OASIS-OPEN ha definito un draft per la rappresentazione delle Code Lists (noti anche come vocabolari controllati o enumeration): Genericode 1.0
Il problema affrontato è quello di dare un modo standard per rappresentarle e comunicare, ad esempio, quale è nelle diverse lingue la traduzione dei codici elencati.
Genericode aims to provide the following:
-
a standard model and XML representation for the contents of a code list;
-
a standard model and XML representation for data associated with items in a code list;
-
a standard model and XML representation for how new code lists are derived from existing code lists.
Dall'introduzione del report:
"Code lists, or enumerated values, have been with us since long before computers. They should be well understood and easily dealt with by now. Unfortunately, they are not.
As is often the case, if you take a fundamentally simple concept, you find that everyone professes to understand it with complete clarity.
When you look more closely, you find that everybody has their own unique view of what the problem is and how it should be solved.If code lists were really so simple and obvious, there would already be a single, well-known and accepted way of handling them in XML.
There is no such agreed solution, though.
The problem is that while code lists are a well understood concept, people don't actually agree exactly on what code lists are, and how they should be used.
The OASIS Code List Representation format, “genericode”, is a single model and XML format (with a W3C XML Schema) that can encode a broad range of code list information.
The XML format is designed to support interchange or distribution of machine-readable code list information between systems.
This version 1.0 of genericode implements the “Version 1.0 Requirements” from the OASIS Code List Representation Requirements document, version 1.0.1 (http://docs.oasis-open.org/codelist/cd-genericode-1.0/doc/oasis-code-list-representation-requirements-1.0.1.pdf).
The requirements document also lists requirements for future versions of genericode, which will not be discussed further in this version of this document."
Un esempio di utilizzazione delle code list è stato realizzato in Moda-ML per il progetto europeo eBIZ-TCF per rappresentare le enumerazioni (vedi pagina), si veda un esempio.
|