Changes between Version 1 and Version 2 of openEHR XML-schemas - Release 1.0.1
- Timestamp:
- Aug 6, 2007, 8:33:19 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
openEHR XML-schemas - Release 1.0.1
v1 v2 1 openEHR XML-schemas - Release 1.0.1 2 Overview 1 = openEHR XML-schemas - Release 1.0.1 = 2 ---- 3 == Overview == 3 4 This page provides access to the W3C XML schemas for the openEHR Reference Model (RM) and Archetype Model (AM). 4 Stable Schemas 5 6 == Stable Schemas == 7 5 8 For the RM, separate schemas have been created, as follows: 6 7 * Basic types - types from rm.data_types and rm.support.identification packages. (xsd file) 8 * Structure - types from rm.data_structures and rm.common.generic packages. (xsd file) 9 * Resource - types from the rm.common.resource package (xsd file) 10 * Content - item, Section, Entry and all subtypes. (xsd file) 11 * Composition - rm.composition. (xsd file) 12 * Version - the Version classes from rm.common.change_control (xsd file) 9 * Basic types - types from rm.data_types and rm.support.identification packages. (xsd file) 10 * Structure - types from rm.data_structures and rm.common.generic packages. (xsd file) 11 * Resource - types from the rm.common.resource package (xsd file) 12 * Content - item, Section, Entry and all subtypes. (xsd file) 13 * Composition - rm.composition. (xsd file) 14 * Version - the Version classes from rm.common.change_control (xsd file) 13 15 14 16 For the AM, two schemas are provided: 15 17 16 17 18 * Archetype - types from the Archetype Object Model (AOM) (xsd file) 19 * OpenehrProfile - types from the openEHR Archetype Profile package (xsd file) 18 20 19 21 Schemas in Development 20 22 Two further schemas are in the draft stage, and are under active development: 21 23 22 23 24 * Extract - types from rm.extract package (xsd file) 25 * Template - (coming soon) 24 26 25 27 Transformation Rules … … 30 32 31 33 XML Schema complexType 34 35 {{{ 32 36 DV_DATE_TIME value is of type Iso8601DateTime, a restriction of xs:string, matching regular expression 33 37 \d{4}((0[1-9]|1[0-2])((0[1-9]|[12]\d|3[01])(T?([01]\d|2[0-3])([0-5]\d([0-5]\d([,.]\d+)?)?)?(Z|([+\-]((0\d)|(1[0-2]))(00|30)?))?)?)?)?| … … 41 45 DV_DURATION value is of type DV_Iso8601Duration, a restriction of xs:string, matching regular expression 42 46 P(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(\d+H)?(\d+M)?(\d+(\.\d+)?S)?)? 47 }}} 48 43 49 Generic types 44 50 The openEHR reference model makes use of generic types - including DV_INTERVAL<T> (Data types IM) and VERSION<T> (Common IM) for example. As generic types are now available in C# and Java this is warranted for implementation specifications. Generic types are not available in XML Schema, so specific types prefixed with 'XS_' have been created to provide the same constraints.