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

Datatypes R2 Issue 55

From HL7Wiki
Revision as of 15:42, 17 May 2006 by Lmckenzi (talk | contribs) (Updated to fill in the blanks Grahame left)
Jump to navigation Jump to search

Data Types Issue 55: Update mode & Audit Trail

Introduction

Update mode and audit trail are documented in the [HL7 Update Mode and Accountability History] section of the January v3 ballot. (For some reason it's missing from the May 2006 ballot . . .)

These elements are not specifically a "datatypes issue" as they also impact associations. However, their impact on the datatypes ITS merits their inclusion in the documentation for Datatypes R2.

The XML ITS needs to describe how these can be represented in instances.


UpdateMode must be specifically declared by committees as part of their artifacts, thus introducing support for it will not cause any backward compatibility issues for existing specifications. In general new specifications that choose to adopt update mode will not be backward compatible because receivers will not be able to safely ignore update modes when parsing instances. On the other hand, adding audit trail information is backward compatible because it can safely be ignored by receivers that were expecting the old version.

Discussion

Grahame: the schema generator already adds these:

  • an XML attribute called "updateMode" to attributes with the update mode flag set on them in the design. The enumeration bound to the attribute is restricted to the "allowed update modes" defined by the committee.
  • the XML attributes "controlActIdRef" and "validTime" to elements with the audit trail flag set on them in the design.

We need to update the MNM documentation to clearly establish that these flags cannot be set on structural attributes.

Links

Back to Data Types R2 issues