[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

HL7-v3-XML namespaces

From: XML4Pharma <info@XML4Pharma.com>
Date: Tue, 13 Jan 2009 18:54:42 +0100
Message-ID: <286F6D364A4147AE90463DA3D62C5400@D6NXTQ1J>
To: <xmlschema-dev@w3.org>
HL7-v3-XML namespaces
Dear all,

I am currently studying the set of HL7-v3-XML messages.

What surprised me is that different of these messages (each of them defined by its own standard) all have the same namespace associated ("urn:hl7-org:v3").
So we find the same default namespace for the CCD/CDA, aECG and for the SPL standard - this though the root elements are really different:
- "ClinicalDocument" for CDA/CCD
- "Document" for SPL
- "AnnotatedECG" for aECG

So we find in the instance documents .e.g.:

CDA: <ClinicalDocument xmlns="urn:hl7-org:v3" ...
SPL: <Document xmlns="urn:hl7-org:v3" ...
aECG: <AnnotatedECG xmlns="urn:hl7-org:v3" 

I realize each of these three "standards" use a set of common elements and attributes, which are defined in schemas that are shared, but the main schema is different, and the composition (child elements) of the root elements is different each time.

Is this "good practice" or should have each of these "standards" essentially have their own namespace, and then have the common/shared elements in another, shared namespace ?

Your comments are appreciated.

Jozef

Jozef Aerts
Received on Tuesday, 13 January 2009 17:55:27 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.