This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Serialization

From HL7Wiki
Revision as of 06:35, 28 December 2006 by Rene spronk (talk | contribs)
Jump to navigation Jump to search

Serialization either points to the process of serializing a particular static model - starting with its Focal Class, or to the definition of the method of serializing a static model.

The serialization method determines the sort order of elements within a static artefact, whenever a serialized expression of the model is needed (e.g. for Table Views, or as a basis for ITSs)

  1. The sort order of RIM class attributes is defined in the RIM section of the v3 Edition. The order the attributes appear in the RIM is their official order. The section doesn't explicitely talk about order, it just says "This class has the following attributes".
  2. The sort order for the data types is defined in the Abstract Data types specification. The order the datatypes appear in the abstract datatypes section is their official order. The section doesn't explicitely talk about order, it just says "This datatype has the following properties".
  3. The sort order for the associations is defined in a document (namersdocumentation-1[1].0.1.zip, URL? ) that is available on the GForge site.
Sort order of RIM class attributes

Notes

  • The sort order does change on occasion in response to harmonization proposals. Schemas are bound to the sort order as it was for the normative edition declared in the "version" attribute for the schema.
  • An ITS may use a different sort order "on the wire". any ITS should use the document order that datatype components are defined in in the abstract datatypes document as the order for the ITS , unless there is good reason for doing otherwise, in which case that reason must be given in the ITS specification. The same should apply to RIM attribute order. Note that there are examples where attribute order may need to be changed in the ITS, e.g. attachmentText is sent after the associations so that the rest of the instance can be processed before the attachments are reached.
  • Realm aspects: The localization process does not give them the authority to create their own sort orders.