W3C

HL7-datatypes-base

The document saved/public/HL7/coreschemas/datatypes-base.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
advanced NoTargetNamespace .[not(@targetNamespace)]/ (.)
basic QualifiedLocalElements .[@elementFormDefault = 'qualified']/ (@elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic DocumentationElement .//xs:annotation/xs:documentation/ (.., ., .//*, .//@*)
advanced AppinfoElement .//xs:annotation/xs:appinfo/ (.., ., .//*, .//@*)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic NonIdentifierName .//.[@name and not(matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$"))]/ (@name)
basic Include ./xs:include[@schemaLocation]/ (., @schemaLocation)
advanced ElementTypeDefaultNamespace .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type)
advanced MixedContentType .//xs:complexType[@mixed = 'true']/ (@mixed)
basic MinOccurs1 .//.[@minOccurs = '1']/ (@minOccurs)
basic MaxOccurs1 .//.[@maxOccurs = '1']/ (@maxOccurs)
basic Id .//@id
basic ElementMinOccurs0 .//xs:element[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs)
basic ElementMinOccurs1 .//xs:element[@minOccurs = '1' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs)
basic ElementMaxOccurs1 .//xs:element[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = '1']/ (@minOccurs, @maxOccurs)
basic ElementMinOccurs0MaxOccursUnbounded .//xs:element[@minOccurs = '0' and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs)
basic AttributeOptional .//xs:attribute[@use = 'optional']/ (@use)
advanced AttributeFixed .//xs:attribute[@fixed] / (@fixed)
advanced AttributeDefault .//xs:attribute[@default] / (@default)
basic GlobalSimpleType ./xs:simpleType[@name]/ (., @name)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
advanced GlobalComplexTypeAbstract ./xs:complexType[@abstract='true']/ (@abstract)
advanced NMTOKENEnumerationType .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:NMTOKEN') and xs:enumeration]/ (., @base, xs:enumeration/(., @value))
advanced SimpleTypeEnumerationType .//xs:simpleType/xs:restriction[@base and namespace-uri-from-QName(resolve-QName(@base,.)) != 'http://www.w3.org/2001/XMLSchema' ]/ (., @base, xs:enumeration/(., @value))
basic ComplexTypeAttribute .//xs:complexType/xs:attribute[@name]/ (., @name)
advanced ComplexTypeOnlyAttributes .//xs:complexType/xs:attribute[../not(xs:choice or xs:sequence or xs:all or xs:anyAttribute or xs:group or xs:attributeGroup or xs:simpleContent or xs:complexContent)]/ (., ..,@use)
advanced ChoiceSequence .//xs:choice/xs:sequence/(.)
advanced SequenceChoice .//xs:sequence/xs:choice/(.)
advanced ChoiceElement .//xs:choice/xs:element/(.)
basic SequenceElement .//xs:sequence/xs:element/(.)
basic SequenceSingleRepeatedElement .//xs:sequence[count(xs:element) = 1]/xs:element[@maxOccurs = 'unbounded']/ (., @maxOccurs)
advanced ElementTypeReferenceUnqualified .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
advanced AttributeTypeReferenceUnqualified .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
advanced UnionMemberTypes .//xs:simpleType/xs:union[@memberTypes and not(xs:simpleType)]/ (., @memberTypes)
advanced List .//xs:list[@itemType]/ (., @itemType)
advanced StringSimpleTypePattern .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:pattern[@value]/ (.., ../@base, ., @value)
advanced TokenSimpleTypePattern .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:token')]/xs:pattern[@value]/ (.., ../@base, ., @value)
advanced RestrictedStringMinLength .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:minLength[@value]/ (.., ../@base, ., @value)
advanced SimpleTypeRenamed .//xs:simpleType/xs:restriction[@base and count(./*) = 0]/ (., @base)
advanced RestrictedMinLength .//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base, ., @value)
basic ComplexTypeAttributeExtension .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attribute]/ (., xs:extension/(., @base, xs:attribute/(., @name)))
basic ComplexTypeSequenceExtension .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:sequence]/ (., xs:extension/ (., @base, xs:sequence/(., xs:element/(., @name))))
advanced GlobalComplexTypeEmptyExtension ./xs:complexType[@name]/xs:complexContent[xs:extension[@base]/not(*)]/ (../../(., @name), .., ., xs:extension/(., @base))
basic LocalElementComplexType .//xs:element[not(parent::xs:schema)]/xs:complexType
advanced ChoiceMaxOccursUnbounded .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs)
advanced ChoiceMinOccurs0 .//xs:choice[@minOccurs='0']/ (@minOccurs)
advanced AttributeProhibited .//xs:attribute[@use = 'prohibited']/ (@use)
advanced ComplexTypeChoiceExtension .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:choice]/ (., xs:extension/ (., @base, xs:choice/(., xs:element/(., @name))))
advanced ComplexTypeAttributeRestriction .//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:attribute]/ (., xs:restriction/(., @base, xs:attribute/(., @name)))
advanced ComplexTypeSequenceRestriction .//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:sequence]/ (., xs:restriction/(., @base, xs:sequence))
advanced ComplexTypeExtension .//xs:complexType/xs:complexContent/xs:extension[@base]/(., @base, ../(.))
advanced MaxOccurs0 .//xs:element[@maxOccurs='0']/(., @maxOccurs, @minOccurs)

<xsd:schema NoTargetNamespace UnqualifiedLocalAttributes GlobalComplexTypeEmptyExtension elementFormDefault="qualified" QualifiedLocalElements >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Copyright (c) 2001, 2002, 2003, 2004, 2005 Health Level Seven. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Health Level Seven. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Generated by $Id: HL7-datatypes-base.html,v 1.13 2008/07/15 11:02:25 gcowe Exp $
</xsd:documentation>
</xsd:annotation>
<xsd:include Include schemaLocation="voc.xsd" Include />
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
$Id: HL7-datatypes-base.html,v 1.13 2008/07/15 11:02:25 gcowe Exp $ Generated by $Id: HL7-datatypes-base.html,v 1.13 2008/07/15 11:02:25 gcowe Exp $
</xsd:documentation>
</xsd:annotation>
<xsd:complexType GlobalComplexType ComplexTypeOnlyAttributes name="ANY" IdentifierName GlobalComplexType abstract="true" GlobalComplexTypeAbstract >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:attribute ComplexTypeAttribute ComplexTypeOnlyAttributes AttributeTypeReferenceUnqualified name="nullFlavor" IdentifierName ComplexTypeAttribute AttributeTypeReferenceUnqualified type="NullFlavor" AttributeTypeReferenceUnqualified use="optional" AttributeOptional ComplexTypeOnlyAttributes >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
An exceptional value expressing missing information and possibly the reason why the information is missing.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="bl" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The Boolean type stands for the values of two-valued logic. A Boolean value can be either true or false, or, as any other value may be NULL.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction base="xsd:boolean">
<xsd:pattern value="true|false"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="BL" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The Boolean type stands for the values of two-valued logic. A Boolean value can be either true or false, or, as any other value may be NULL.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<sch:pattern AppinfoElement name="validate BL" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-BL" AppinfoElement Id >
<sch:report AppinfoElement test="(@nullFlavor or @value) and not(@nullFlavor and @value)" AppinfoElement >
<p AppinfoElement >
Although the use of the value is optional, this constraint (expressed as an XPath predicate), specifies that there must be either an value or the attribute, but not both.
</p>
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="bn" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The BooleanNonNull type is used where a Boolean cannot have a null value. A Boolean value can be either true or false.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="bin" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Binary data is a raw block of bits. Binary data is a protected type that should not be declared outside the data type specification.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction SimpleTypeRenamed base="xsd:base64Binary" SimpleTypeRenamed />
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="token_BinaryDataEncoding" IdentifierName GlobalSimpleType >
<xsd:restriction NMTOKENEnumerationType base="xsd:NMTOKEN" NMTOKENEnumerationType >
<xsd:enumeration NMTOKENEnumerationType value="B64" NMTOKENEnumerationType />
<xsd:enumeration NMTOKENEnumerationType value="TXT" NMTOKENEnumerationType />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="BIN" IdentifierName GlobalComplexType abstract="true" GlobalComplexTypeAbstract mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Binary data is a raw block of bits. Binary data is a protected type that should not be declared outside the data type specification.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="ANY" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="representation" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension use="optional" AttributeOptional type="token_BinaryDataEncoding" AttributeTypeReferenceUnqualified default="TXT" AttributeDefault >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the representation of the binary data that is the content of the binary data complex XML schema data type.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="ED" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an ED may contain only a reference (see TEL.) Note that the ST data type is a specialization of the ED data type when the ED media type is text/plain.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension base="BIN" ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:sequence ComplexTypeSequenceExtension >
<xsd:element SequenceElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="reference" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension type="TEL" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="mediaType" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional default="text/plain" AttributeDefault >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Identifies the type of the encapsulated data and identifies a method to interpret or render the data.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="language" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
For character based information the language property specifies the human language of the text.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="compression" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="CompressionAlgorithm" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Indicates whether the raw byte data is compressed, and what compression algorithm was used.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="integrityCheck" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="bin" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="integrityCheckAlgorithm" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="IntegrityCheckAlgorithm" AttributeTypeReferenceUnqualified use="optional" AttributeOptional default="SHA-1" AttributeDefault >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the algorithm used to compute the integrityCheck value.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="thumbnail" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A thumbnail is an abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="st" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The character string data type stands for text data, primarily intended for machine processing (e.g., sorting, querying, indexing, etc.) Used for names, symbols, and formal expressions.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="ST" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The character string data type stands for text data, primarily intended for machine processing (e.g., sorting, querying, indexing, etc.) Used for names, symbols, and formal expressions.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<sch:pattern AppinfoElement name="validate ST" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-ST" AppinfoElement Id >
<sch:report AppinfoElement test="(@nullFlavor or text()) and not(@nullFlavor and text())" AppinfoElement >
<p AppinfoElement >
Text content is only allowed in non-NULL values.
</p>
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:restriction ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction base="ED" ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction > </xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="cs" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Coded data in its simplest form, consists of a code and original text. The code system and code system version is fixed by the context in which the CS value occurs. CS is used for coded attributes that have a single HL7-defined value set.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction TokenSimpleTypePattern base="xsd:token" TokenSimpleTypePattern >
<xsd:pattern TokenSimpleTypePattern value="[^\s]*" TokenSimpleTypePattern />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="CD" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A concept descriptor represents any kind of concept usually by giving a code defined in a code system. A concept descriptor can contain the original text or phrase that served as the basis of the coding and one or more translations into different coding systems. A concept descriptor can also contain qualifiers to describe, e.g., the concept of a "left foot" as a postcoordinated term built from the primary code "FOOT" and the qualifier "LEFT". In exceptional cases, the concept descriptor need not contain a code but only the original text describing that concept.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension base="ANY" ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:sequence ComplexTypeSequenceExtension >
<xsd:element SequenceElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="originalText" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension type="ED" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The text or phrase used as the basis for the coding.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
<xsd:element SequenceElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="qualifier" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension type="CR" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0MaxOccursUnbounded maxOccurs="unbounded" ElementMinOccurs0MaxOccursUnbounded >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies additional codes that increase the specificity of the primary code.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
<xsd:element SequenceElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="translation" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension type="CD" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0MaxOccursUnbounded maxOccurs="unbounded" ElementMinOccurs0MaxOccursUnbounded >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A set of other concept descriptors that translate this concept descriptor into other code systems.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="code" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="codeSystem" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="uid" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the code system that defines the code.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="codeSystemName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A common name of the coding system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="codeSystemVersion" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
If applicable, a version descriptor defined specifically for the given code system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="displayName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A name or title for the code, under which the sending system shows the code value to its users.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- requires ref='schema-CV'/> FIXME: This dependency is cyclic, but it shouldn't hurt. Make sure it doesn't hurt. -->
<xsd:complexType GlobalComplexType name="CE" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Coded data, consists of a coded value (CV) and, optionally, coded value(s) from other coding systems that identify the same concept. Used when alternative codes may exist.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:restriction ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction base="CD" ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:sequence ComplexTypeSequenceRestriction >
<xsd:element SequenceElement ElementTypeReferenceUnqualified name="originalText" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="ED" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The text or phrase used as the basis for the coding.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
<xsd:element SequenceElement ElementTypeReferenceUnqualified name="translation" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="CD" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0MaxOccursUnbounded maxOccurs="unbounded" ElementMinOccurs0MaxOccursUnbounded >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A set of other concept descriptors that translate this concept descriptor into other code systems.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="code" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="codeSystem" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="uid" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the code system that defines the code.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="codeSystemName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A common name of the coding system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="codeSystemVersion" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
If applicable, a version descriptor defined specifically for the given code system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="displayName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A name or title for the code, under which the sending system shows the code value to its users.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="CV" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Coded data, consists of a code, display name, code system, and original text. Used when a single code value must be sent.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:restriction ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction base="CE" ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:sequence ComplexTypeSequenceRestriction >
<xsd:element SequenceElement ElementTypeReferenceUnqualified name="originalText" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="ED" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The text or phrase used as the basis for the coding.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="code" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="codeSystem" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="uid" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the code system that defines the code.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="codeSystemName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A common name of the coding system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="codeSystemVersion" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
If applicable, a version descriptor defined specifically for the given code system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="displayName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A name or title for the code, under which the sending system shows the code value to its users.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="CS" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Coded data, consists of a code, display name, code system, and original text. Used when a single code value must be sent.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:restriction ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction base="CV" ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="code" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType GlobalComplexTypeEmptyExtension name="CO" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Coded data, where the domain from which the codeset comes is ordered. The Coded Ordinal data type adds semantics related to ordering so that models that make use of such domains may introduce model elements that involve statements about the order of the terms in a domain. The representation is exactly the same as CV, but the type still needs to be defined.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="CR" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A concept qualifier code with optionally named role. Both qualifier role and value codes must be defined by the coding system. For example, if SNOMED RT defines a concept "leg", a role relation "has-laterality", and another concept "left", the concept role relation allows to add the qualifier "has-laterality: left" to a primary code "leg" to construct the meaning "left leg".
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<sch:pattern AppinfoElement name="validate CR" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-CR" AppinfoElement Id >
<sch:report AppinfoElement test="(value or @nullFlavor) and not(@nullFlavor and node())" AppinfoElement >
<p AppinfoElement >
A value component is required or else the code role is NULL.
</p>
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension base="CD" ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:sequence ComplexTypeSequenceExtension >
<xsd:element SequenceElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="name" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension type="CV" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the manner in which the concept role value contributes to the meaning of a code phrase. For example, if SNOMED RT defines a concept "leg", a role relation "has-laterality", and another concept "left", the concept role relation allows to add the qualifier "has-laterality: left" to a primary code "leg" to construct the meaning "left leg". In this example "has-laterality" is the CR.name.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
<xsd:element SequenceElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="value" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension type="CD" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The concept that modifies the primary code of a code phrase through the role relation. For example, if SNOMED RT defines a concept "leg", a role relation "has-laterality", and another concept "left", the concept role relation allows adding the qualifier "has-laterality: left" to a primary code "leg" to construct the meaning "left leg". In this example "left" is the CR.value.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="inverted" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="bl" AttributeTypeReferenceUnqualified use="optional" AttributeOptional default="false" AttributeDefault >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Indicates if the sense of the role name is inverted. This can be used in cases where the underlying code system defines inversion but does not provide reciprocal pairs of role names. By default, inverted is false.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="SC" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A Character String that optionally may have a code attached. The text must always be present if a code is present. The code is often a local code.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="ST" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="code" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="codeSystem" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="uid" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the code system that defines the code.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="codeSystemName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A common name of the coding system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="codeSystemVersion" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
If applicable, a version descriptor defined specifically for the given code system.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="displayName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A name or title for the code, under which the sending system shows the code value to its users.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="uid" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement />
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:union UnionMemberTypes memberTypes="oid uuid ruid" UnionMemberTypes />
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="oid" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement />
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction StringSimpleTypePattern base="xsd:string" StringSimpleTypePattern >
<xsd:pattern StringSimpleTypePattern value="([1-9][0-9]*)(\.[1-9][0-9]*)*" StringSimpleTypePattern />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="uuid" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement />
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction StringSimpleTypePattern base="xsd:string" StringSimpleTypePattern >
<xsd:pattern StringSimpleTypePattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}" StringSimpleTypePattern />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="ruid" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement />
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction StringSimpleTypePattern base="xsd:string" StringSimpleTypePattern >
<xsd:pattern StringSimpleTypePattern value="[A-Za-z][A-Za-z0-9\-]*" StringSimpleTypePattern />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="II" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
An identifier that uniquely identifies a thing or object. Examples are object identifier for HL7 RIM objects, medical record number, order id, service catalog item id, Vehicle Identification Number (VIN), etc. Instance identifiers are defined based on ISO object identifiers.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<sch:pattern AppinfoElement name="validate II" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-II" AppinfoElement Id >
<sch:report AppinfoElement test="(@root or @nullFlavor) and not(@root and @nullFlavor)" AppinfoElement >
A root component is required or else the II value is NULL.
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="ANY" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="root" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="uid" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="extension" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A character string as a unique identifier within the scope of the identifier root.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="assigningAuthorityName" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="st" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A human readable name or mnemonic for the assigning authority. This name may be provided solely for the convenience of unaided humans interpreting an II value and can have no computational meaning. Note: no automated processing must depend on the assigning authority name to be present in any form.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="displayable" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="bl" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="url" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A telecommunications address specified according to Internet standard RFC 1738 [http://www.ietf.org/rfc/rfc1738.txt]. The URL specifies the protocol and the contact point defined by that protocol for the resource. Notable uses of the telecommunication address data type are for telephone and telefax numbers, e-mail addresses, Hypertext references, FTP references, etc.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction SimpleTypeRenamed base="xsd:anyURI" SimpleTypeRenamed />
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="URL" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A telecommunications address specified according to Internet standard RFC 1738 [http://www.ietf.org/rfc/rfc1738.txt]. The URL specifies the protocol and the contact point defined by that protocol for the resource. Notable uses of the telecommunication address data type are for telephone and telefax numbers, e-mail addresses, Hypertext references, FTP references, etc.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<sch:pattern AppinfoElement name="validate URL" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-URL" AppinfoElement Id >
<sch:report AppinfoElement test="(@nullFlavor or @value) and not(@nullFlavor and @value)" AppinfoElement >
<p AppinfoElement >
Although the use of the value is optional, the constraint (expressed as an XPath predicate), specifies that there must be either an value or the attribute, but not both.
</p>
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="ts" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction StringSimpleTypePattern base="xsd:string" StringSimpleTypePattern >
<xsd:pattern StringSimpleTypePattern value="[0-9]{1,8}|([0-9]{9,14}|[0-9]{14,14}\.[0-9]+)([+\-][0-9]{1,4})?" StringSimpleTypePattern />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="TS" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<diff AppinfoElement >
PQ
</diff>
</xsd:appinfo>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="TEL" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A telephone number (voice or fax), e-mail address, or other locator for a resource (information or service) mediated by telecommunication equipment. The address is specified as a Universal Resource Locator (URL) qualified by time specification and use codes that help in deciding which address to use for a given time and purpose.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension base="URL" ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:sequence ComplexTypeSequenceExtension >
<xsd:element SequenceElement SequenceSingleRepeatedElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="useablePeriod" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension minOccurs="0" ElementMinOccurs0MaxOccursUnbounded maxOccurs="unbounded" ElementMinOccurs0MaxOccursUnbounded SequenceSingleRepeatedElement type="SXCM_TS" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<!-- FIXME: one would expect the name "GTS" here but it's not SXCM does ALL the right things, it's just not the right NAME. -->
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="use" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension use="optional" AttributeOptional type="set_TelecommunicationAddressUse" AttributeTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="ADXP" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A character string that may have a type-tag signifying its role in the address. Typical parts that exist in about every address are street, house number, or post box, postal code, city, country but other roles may be defined regionally, nationally, or on an enterprise level (e.g. in military addresses). Addresses are usually broken up into lines, which are indicated by special line-breaking delimiter elements (e.g., DEL).
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="ST" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="partType" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="AddressPartType" AttributeTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Specifies whether an address part names the street, city, country, postal code, post box, etc. If the type is NULL the address part is unclassified and would simply appear on an address label as is.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="AD" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension base="ANY" ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:sequence ComplexTypeSequenceExtension >
<xsd:choice SequenceChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<!-- This was supposed to be the generic part. The formally correct schema way of doing that would involve defining all the special part elements as substitution group members for part. But that entails global elements is unsafe scoping. So, we don't get into that here. xsd:element name='part' type='ADXP'/ -->
<xsd:element ChoiceElement name="delimiter" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="country" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="state" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="county" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="city" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="postalCode" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="streetAddressLine" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="houseNumber" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="houseNumberNumeric" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="direction" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="streetName" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="streetNameBase" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<!-- jaxb implementors note: the jaxb code generator (v1.0.?) will fail to append "Type" to streetNameType so that there will be duplicate definitions in the java source for streetNameType. You will have to fix this manually. -->
<xsd:element ChoiceElement name="streetNameType" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="additionalLocator" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="unitID" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="unitType" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="carrier" IdentifierName >
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
<xsd:element ChoiceElement name="censusTract" IdentifierName >
<!-- VOTE: negativ minor: this will not be interoperable because there are many census tract definitions. Needs to be coded. This should be a location specification (Place class). -->
<xsd:complexType LocalElementComplexType mixed="true" MixedContentType ></xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:element SequenceElement SequenceSingleRepeatedElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="useablePeriod" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension minOccurs="0" ElementMinOccurs0MaxOccursUnbounded maxOccurs="unbounded" ElementMinOccurs0MaxOccursUnbounded SequenceSingleRepeatedElement type="SXCM_TS" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A General Timing Specification (GTS) specifying the periods of time during which the address can be used. This is used to specify different addresses for different times of the year or to refer to historical addresses.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<!-- FIXME: one would expect the name "GTS" here but it's not SXCM does ALL the right things, it's just not the right NAME. -->
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="use" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension use="optional" AttributeOptional type="set_PostalAddressUse" AttributeTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A set of codes advising a system or user which address in a set of like addresses to select for a given purpose.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="isNotOrdered" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="bl" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A boolean value specifying whether the order of the address parts is known or not. While the address parts are always a Sequence, the order in which they are presented may or may not be known. Where this matters, the isNotOrdered property can be used to convey this information.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="ENXP" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A character string token representing a part of a name. May have a type code signifying the role of the part in the whole entity name, and a qualifier code for more detail about the name part type. Typical name parts for person names are given names, and family names, titles, etc.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="ST" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="partType" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="EntityNamePartType" AttributeTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Indicates whether the name part is a given name, family name, prefix, suffix, etc.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="qualifier" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension use="optional" AttributeOptional type="set_EntityNamePartQualifier" AttributeTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The qualifier is a set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type. For example, a given name may be flagged as a nickname, a family name may be a pseudonym or a name of public records.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="en.delimiter" NonIdentifierName GlobalComplexType mixed="true" MixedContentType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="en.family" NonIdentifierName GlobalComplexType mixed="true" MixedContentType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="en.given" NonIdentifierName GlobalComplexType mixed="true" MixedContentType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="en.prefix" NonIdentifierName GlobalComplexType mixed="true" MixedContentType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="en.suffix" NonIdentifierName GlobalComplexType mixed="true" MixedContentType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="EN" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A name for a person, organization, place or thing. A sequence of name parts, such as given name or family name, prefix, suffix, etc. Examples for entity name values are "Jim Bob Walton, Jr.", "Health Level Seven, Inc.", "Lake Tahoe", etc. An entity name may be as simple as a character string or may consist of several entity name parts, such as, "Jim", "Bob", "Walton", and "Jr.", "Health Level Seven" and "Inc.", "Lake" and "Tahoe".
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension base="ANY" ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:sequence ComplexTypeSequenceExtension >
<xsd:element SequenceElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="validTime" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 type="IVL_TS" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
An interval of time specifying the time during which the name is or was used for the entity. This accomodates the fact that people change names for people, places and things.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="use" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension use="optional" AttributeOptional type="set_EntityNameUse" AttributeTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A set of codes advising a system or user which name in a set of like names to select for a given purpose. A name without specific use code might be a default name useful for any purpose, but a name with a specific use code would be preferred for that respective purpose.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType GlobalComplexTypeEmptyExtension name="PN" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A name for a person. A sequence of name parts, such as given name or family name, prefix, suffix, etc. PN differs from EN because the qualifier type cannot include LS (Legal Status).
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="ON" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A name for an organization. A sequence of name parts.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:restriction ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction base="EN" ComplexTypeAttributeRestriction ComplexTypeSequenceRestriction >
<xsd:sequence ComplexTypeSequenceRestriction >
<xsd:element SequenceElement ElementTypeReferenceUnqualified name="validTime" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0 maxOccurs="1" MaxOccurs1 ElementMinOccurs0 type="IVL_TS" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
An interval of time specifying the time during which the name is or was used for the entity. This accomodates the fact that people change names for people, places and things.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction name="use" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeRestriction use="optional" AttributeOptional type="set_EntityNameUse" AttributeTypeReferenceUnqualified >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A set of codes advising a system or user which name in a set of like names to select for a given purpose. A name without specific use code might be a default name useful for any purpose, but a name with a specific use code would be preferred for that respective purpose.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="TN" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A restriction of entity name that is effectively a simple string used for a simple name for things and places.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeSequenceRestriction >
<xsd:restriction ComplexTypeSequenceRestriction base="EN" ComplexTypeSequenceRestriction >
<!-- FIXME: how do I specify that this sequence is constraint to be void? -->
<xsd:sequence ComplexTypeSequenceRestriction >
<!-- see note in schema-ED's part element, that's commented out for now. xsd:choice minOccurs='0' maxOccurs='0'> <xsd:element name='part' type='ENXP'/> </xsd:choice -->
</xsd:sequence>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType GlobalComplexTypeEmptyExtension name="QTY" IdentifierName GlobalComplexType abstract="true" GlobalComplexTypeAbstract >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The quantity data type is an abstract generalization for all data types (1) whose value set has an order relation (less-or-equal) and (2) where difference is defined in all of the data type's totally ordered value subsets. The quantity type abstraction is needed in defining certain other types, such as the interval and the probability distribution.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<diff AppinfoElement >
QTY
</diff>
</xsd:appinfo>
</xsd:annotation>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="int" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Integer numbers (-1,0,1,2, 100, 3398129, etc.) are precise numbers that are results of counting and enumerating. Integer numbers are discrete, the set of integers is infinite but countable. No arbitrary limit is imposed on the range of integer numbers. Two NULL flavors are defined for the positive and negative infinity.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:restriction SimpleTypeRenamed base="xsd:integer" SimpleTypeRenamed />
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="INT" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Integer numbers (-1,0,1,2, 100, 3398129, etc.) are precise numbers that are results of counting and enumerating. Integer numbers are discrete, the set of integers is infinite but countable. No arbitrary limit is imposed on the range of integer numbers. Two NULL flavors are defined for the positive and negative infinity.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<diff AppinfoElement >
INT
</diff>
<sch:pattern AppinfoElement name="validate INT" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-INT" AppinfoElement Id >
<sch:report AppinfoElement test="(@value or @nullFlavor) and not(@value and @nullFlavor)" AppinfoElement >
<p AppinfoElement >
Although the use of the value is optional, the constraint (expressed as an XPath predicate), specifies that there must be either an value or the , but not both.
</p>
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="real" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Fractional numbers. Typically used whenever quantities are measured, estimated, or computed from other real numbers. The typical representation is decimal, where the number of significant decimal digits is known as the precision. Real numbers are needed beyond integers whenever quantities of the real world are measured, estimated, or computed from other real numbers. The term "Real number" in this specification is used to mean that fractional values are covered without necessarily implying the full set of the mathematical real numbers.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:union UnionMemberTypes memberTypes="xsd:decimal xsd:double" UnionMemberTypes />
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="REAL" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
Fractional numbers. Typically used whenever quantities are measured, estimated, or computed from other real numbers. The typical representation is decimal, where the number of significant decimal digits is known as the precision. Real numbers are needed beyond integers whenever quantities of the real world are measured, estimated, or computed from other real numbers. The term "Real number" in this specification is used to mean that fractional values are covered without necessarily implying the full set of the mathematical real numbers.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<diff AppinfoElement >
REAL
</diff>
<sch:pattern AppinfoElement name="validate REAL" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-REAL" AppinfoElement Id >
<sch:report AppinfoElement test="(@nullFlavor or @value) and not(@nullFlavor and @value)" AppinfoElement >
<p AppinfoElement >
Although the use of the value is optional, the constraint (expressed as an XPath predicate), specifies that there must be either a value or the , but not both.
</p>
</sch:report>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="PQR" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A representation of a physical quantity in a unit from any code system. Used to show alternative representation for a physical quantity.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="CV" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="value" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="real" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The magnitude of the measurement value in terms of the unit specified in the code.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="PQ" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A dimensioned quantity expressing the result of a measurement act.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<diff AppinfoElement >
PQ
</diff>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension base="QTY" ComplexTypeAttributeExtension ComplexTypeSequenceExtension ComplexTypeExtension >
<xsd:sequence ComplexTypeSequenceExtension >
<xsd:element SequenceElement SequenceSingleRepeatedElement ElementTypeReferenceUnqualified ComplexTypeSequenceExtension name="translation" IdentifierName ElementTypeDefaultNamespace ElementTypeReferenceUnqualified ComplexTypeSequenceExtension type="PQR" ElementTypeDefaultNamespace ElementTypeReferenceUnqualified minOccurs="0" ElementMinOccurs0MaxOccursUnbounded maxOccurs="unbounded" ElementMinOccurs0MaxOccursUnbounded SequenceSingleRepeatedElement >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="value" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="real" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The magnitude of the quantity measured in terms of the unit.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="unit" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional default="1" AttributeDefault >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM].
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="MO" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A monetary amount is a quantity expressing the amount of money in some currency. Currencies are the units in which monetary amounts are denominated in different economic regions. While the monetary amount is a single kind of quantity (money) the exchange rates between the different units are variable. This is the principle difference between physical quantity and monetary amounts, and the reason why currency units are not physical units.
</xsd:documentation>
<xsd:appinfo AppinfoElement >
<diff AppinfoElement >
MO
</diff>
<sch:pattern AppinfoElement name="validate MO" AppinfoElement NonIdentifierName >
<sch:rule AppinfoElement abstract="true" AppinfoElement id="rule-MO" AppinfoElement Id >
<sch:report AppinfoElement test="not(@nullFlavor and (@value or @currency))" AppinfoElement />
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="QTY" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="value" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="real" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The magnitude of the monetary amount in terms of the currency unit.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="currency" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="cs" AttributeTypeReferenceUnqualified use="optional" AttributeOptional >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
The currency unit as defined in ISO 4217.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType GlobalComplexTypeEmptyExtension name="RTO" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A quantity constructed as the quotient of a numerator quantity divided by a denominator quantity. Common factors in the numerator and denominator are not automatically cancelled out. The data type supports titers (e.g., "1:128") and other quantities produced by laboratories that truly represent ratios. Ratios are not simply "structured numerics", particularly blood pressure measurements (e.g. "120/60") are not ratios. In many cases the REAL should be used instead of the .
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:complexType>
<!-- <xsd:annotation> <xsd:appinfo> <sch:pattern name="validate IVL_TS"> <sch:rule abstract="true" id="rule-IVL_TS"> <sch:report test="count(child::low|child::high|child::mid|child::width)&gt;2"> <p>No more than two of the four components (low, high, mid, width) may be popluated at one time</p> </sch:report> </sch:rule> </sch:pattern> </xsd:appinfo> </xsd:annotation> -->
<!-- Instantiated templates -->
<xsd:complexType GlobalComplexType name="SXCM_TS" IdentifierName GlobalComplexType >
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:extension ComplexTypeAttributeExtension ComplexTypeExtension base="TS" ComplexTypeAttributeExtension ComplexTypeExtension >
<xsd:attribute AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension name="operator" IdentifierName AttributeTypeReferenceUnqualified ComplexTypeAttributeExtension type="SetOperator" AttributeTypeReferenceUnqualified use="optional" AttributeOptional default="I" AttributeDefault >
<xsd:annotation DocumentationElement AppinfoElement >
<xsd:documentation DocumentationElement >
A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point.
</xsd:documentation>
<xsd:appinfo AppinfoElement />
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd