Initial Commit
This commit is contained in:
parent
7e2b6d6181
commit
bf35b1e034
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,272 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<?xml-stylesheet href="../2008/09/xsd.xsl" type="text/xsl"?>
|
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/1999/xhtml" targetNamespace="http://www.w3.org/XML/1998/namespace" xml:lang="en">
|
|
||||||
<!-- Note: When using this schema with some tools, it may also be necessary to declare xmlns:xml="http://www.w3.org/XML/1998/namespace", however this causes performance issues with other tools and thus is not in the base schemas. -->
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div>
|
|
||||||
<h1>About the XML namespace</h1>
|
|
||||||
<div class="bodytext">
|
|
||||||
<p>
|
|
||||||
This schema document describes the XML namespace, in a form
|
|
||||||
suitable for import by other schema documents.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
See <a href="http://www.w3.org/XML/1998/namespace.html">
|
|
||||||
http://www.w3.org/XML/1998/namespace.html</a> and
|
|
||||||
<a href="http://www.w3.org/TR/REC-xml">
|
|
||||||
http://www.w3.org/TR/REC-xml</a> for information
|
|
||||||
about this namespace.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Note that local names in this namespace are intended to be
|
|
||||||
defined only by the World Wide Web Consortium or its subgroups.
|
|
||||||
The names currently defined in this namespace are listed below.
|
|
||||||
They should not be used with conflicting semantics by any Working
|
|
||||||
Group, specification, or document instance.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
See further below in this document for more information about <a href="#usage">how to refer to this schema document from your own
|
|
||||||
XSD schema documents</a> and about <a href="#nsversioning">the
|
|
||||||
namespace-versioning policy governing this schema document</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:attribute name="lang">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div>
|
|
||||||
<h3>lang (as an attribute name)</h3>
|
|
||||||
<p>
|
|
||||||
denotes an attribute whose value
|
|
||||||
is a language code for the natural language of the content of
|
|
||||||
any element; its value is inherited. This name is reserved
|
|
||||||
by virtue of its definition in the XML specification.</p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h4>Notes</h4>
|
|
||||||
<p>
|
|
||||||
Attempting to install the relevant ISO 2- and 3-letter
|
|
||||||
codes as the enumerated possible values is probably never
|
|
||||||
going to be a realistic possibility.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
|
|
||||||
http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
|
|
||||||
and the IANA language subtag registry at
|
|
||||||
<a href="http://www.iana.org/assignments/language-subtag-registry">
|
|
||||||
http://www.iana.org/assignments/language-subtag-registry</a>
|
|
||||||
for further information.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
The union allows for the 'un-declaration' of xml:lang with
|
|
||||||
the empty string.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:union memberTypes="xs:language">
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value=""/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:union>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="space">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div>
|
|
||||||
<h3>space (as an attribute name)</h3>
|
|
||||||
<p>
|
|
||||||
denotes an attribute whose
|
|
||||||
value is a keyword indicating what whitespace processing
|
|
||||||
discipline is intended for the content of the element; its
|
|
||||||
value is inherited. This name is reserved by virtue of its
|
|
||||||
definition in the XML specification.</p>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:simpleType>
|
|
||||||
<xs:restriction base="xs:NCName">
|
|
||||||
<xs:enumeration value="default"/>
|
|
||||||
<xs:enumeration value="preserve"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="base" type="xs:anyURI">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div>
|
|
||||||
<h3>base (as an attribute name)</h3>
|
|
||||||
<p>
|
|
||||||
denotes an attribute whose value
|
|
||||||
provides a URI to be used as the base for interpreting any
|
|
||||||
relative URIs in the scope of the element on which it
|
|
||||||
appears; its value is inherited. This name is reserved
|
|
||||||
by virtue of its definition in the XML Base specification.</p>
|
|
||||||
<p>
|
|
||||||
See <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
|
|
||||||
for information about this attribute.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attribute name="id" type="xs:ID">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div>
|
|
||||||
<h3>id (as an attribute name)</h3>
|
|
||||||
<p>
|
|
||||||
denotes an attribute whose value
|
|
||||||
should be interpreted as if declared to be of type ID.
|
|
||||||
This name is reserved by virtue of its definition in the
|
|
||||||
xml:id specification.</p>
|
|
||||||
<p>
|
|
||||||
See <a href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
|
|
||||||
for information about this attribute.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attributeGroup name="specialAttrs">
|
|
||||||
<xs:attribute ref="xml:base"/>
|
|
||||||
<xs:attribute ref="xml:lang"/>
|
|
||||||
<xs:attribute ref="xml:space"/>
|
|
||||||
<xs:attribute ref="xml:id"/>
|
|
||||||
</xs:attributeGroup>
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div>
|
|
||||||
<h3>Father (in any context at all)</h3>
|
|
||||||
<div class="bodytext">
|
|
||||||
<p>
|
|
||||||
denotes Jon Bosak, the chair of
|
|
||||||
the original XML Working Group. This name is reserved by
|
|
||||||
the following decision of the W3C XML Plenary and
|
|
||||||
XML Coordination groups:
|
|
||||||
</p>
|
|
||||||
<blockquote>
|
|
||||||
<p>
|
|
||||||
In appreciation for his vision, leadership and
|
|
||||||
dedication the W3C XML Plenary on this 10th day of
|
|
||||||
February, 2000, reserves for Jon Bosak in perpetuity
|
|
||||||
the XML name "xml:Father".
|
|
||||||
</p>
|
|
||||||
</blockquote>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div xml:id="usage" id="usage">
|
|
||||||
<h2>
|
|
||||||
<a name="usage">About this schema document</a>
|
|
||||||
</h2>
|
|
||||||
<div class="bodytext">
|
|
||||||
<p>
|
|
||||||
This schema defines attributes and an attribute group suitable
|
|
||||||
for use by schemas wishing to allow <code>xml:base</code>,
|
|
||||||
<code>xml:lang</code>, <code>xml:space</code> or
|
|
||||||
<code>xml:id</code> attributes on elements they define.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
To enable this, such a schema must import this schema for
|
|
||||||
the XML namespace, e.g. as follows:
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
<schema . . .>
|
|
||||||
. . .
|
|
||||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
|
||||||
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
or
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
|
||||||
schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
Subsequently, qualified reference to any of the attributes or the
|
|
||||||
group defined below will have the desired effect, e.g.
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
<type . . .>
|
|
||||||
. . .
|
|
||||||
<attributeGroup ref="xml:specialAttrs"/>
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
will define a type which will schema-validate an instance element
|
|
||||||
with any of those attributes.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation>
|
|
||||||
<div id="nsversioning" xml:id="nsversioning">
|
|
||||||
<h2>
|
|
||||||
<a name="nsversioning">Versioning policy for this schema document</a>
|
|
||||||
</h2>
|
|
||||||
<div class="bodytext">
|
|
||||||
<p>
|
|
||||||
In keeping with the XML Schema WG's standard versioning
|
|
||||||
policy, this schema document will persist at
|
|
||||||
<a href="http://www.w3.org/2009/01/xml.xsd">
|
|
||||||
http://www.w3.org/2009/01/xml.xsd</a>.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
At the date of issue it can also be found at
|
|
||||||
<a href="http://www.w3.org/2001/xml.xsd">
|
|
||||||
http://www.w3.org/2001/xml.xsd</a>.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
The schema document at that URI may however change in the future,
|
|
||||||
in order to remain compatible with the latest version of XML
|
|
||||||
Schema itself, or with the XML namespace itself. In other words,
|
|
||||||
if the XML Schema or XML namespaces change, the version of this
|
|
||||||
document at <a href="http://www.w3.org/2001/xml.xsd">
|
|
||||||
http://www.w3.org/2001/xml.xsd
|
|
||||||
</a>
|
|
||||||
will change accordingly; the version at
|
|
||||||
<a href="http://www.w3.org/2009/01/xml.xsd">
|
|
||||||
http://www.w3.org/2009/01/xml.xsd
|
|
||||||
</a>
|
|
||||||
will not change.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Previous dated (and unchanging) versions of this schema
|
|
||||||
document are at:
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="http://www.w3.org/2009/01/xml.xsd">
|
|
||||||
http://www.w3.org/2009/01/xml.xsd</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="http://www.w3.org/2007/08/xml.xsd">
|
|
||||||
http://www.w3.org/2007/08/xml.xsd</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="http://www.w3.org/2004/10/xml.xsd">
|
|
||||||
http://www.w3.org/2004/10/xml.xsd</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="http://www.w3.org/2001/03/xml.xsd">
|
|
||||||
http://www.w3.org/2001/03/xml.xsd</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:schema>
|
|
||||||
@ -1,254 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Schema for XML Signatures
|
|
||||||
http://www.w3.org/2000/09/xmldsig#
|
|
||||||
$Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $
|
|
||||||
|
|
||||||
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
|
|
||||||
of Technology, Institut National de Recherche en Informatique et en
|
|
||||||
Automatique, Keio University). All Rights Reserved.
|
|
||||||
http://www.w3.org/Consortium/Legal/
|
|
||||||
|
|
||||||
This document is governed by the W3C Software License [1] as described
|
|
||||||
in the FAQ [2].
|
|
||||||
|
|
||||||
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
|
|
||||||
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
|
|
||||||
-->
|
|
||||||
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" version="0.1">
|
|
||||||
<!-- Basic Types Defined for Signatures -->
|
|
||||||
<simpleType name="CryptoBinary">
|
|
||||||
<restriction base="base64Binary"/>
|
|
||||||
</simpleType>
|
|
||||||
<!-- Start Signature -->
|
|
||||||
<element name="Signature" type="ds:SignatureType"/>
|
|
||||||
<complexType name="SignatureType">
|
|
||||||
<sequence>
|
|
||||||
<element ref="ds:SignedInfo"/>
|
|
||||||
<element ref="ds:SignatureValue"/>
|
|
||||||
<element ref="ds:KeyInfo" minOccurs="0"/>
|
|
||||||
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="SignatureValue" type="ds:SignatureValueType"/>
|
|
||||||
<complexType name="SignatureValueType">
|
|
||||||
<simpleContent>
|
|
||||||
<extension base="base64Binary">
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
</extension>
|
|
||||||
</simpleContent>
|
|
||||||
</complexType>
|
|
||||||
<!-- Start SignedInfo -->
|
|
||||||
<element name="SignedInfo" type="ds:SignedInfoType"/>
|
|
||||||
<complexType name="SignedInfoType">
|
|
||||||
<sequence>
|
|
||||||
<element ref="ds:CanonicalizationMethod"/>
|
|
||||||
<element ref="ds:SignatureMethod"/>
|
|
||||||
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
|
|
||||||
<complexType name="CanonicalizationMethodType" mixed="true">
|
|
||||||
<sequence>
|
|
||||||
<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
<!-- (0,unbounded) elements from (1,1) namespace -->
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
|
|
||||||
<complexType name="SignatureMethodType" mixed="true">
|
|
||||||
<sequence>
|
|
||||||
<element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0"/>
|
|
||||||
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
<!-- (0,unbounded) elements from (1,1) external namespace -->
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
|
||||||
</complexType>
|
|
||||||
<!-- Start Reference -->
|
|
||||||
<element name="Reference" type="ds:ReferenceType"/>
|
|
||||||
<complexType name="ReferenceType">
|
|
||||||
<sequence>
|
|
||||||
<element ref="ds:Transforms" minOccurs="0"/>
|
|
||||||
<element ref="ds:DigestMethod"/>
|
|
||||||
<element ref="ds:DigestValue"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
<attribute name="URI" type="anyURI" use="optional"/>
|
|
||||||
<attribute name="Type" type="anyURI" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="Transforms" type="ds:TransformsType"/>
|
|
||||||
<complexType name="TransformsType">
|
|
||||||
<sequence>
|
|
||||||
<element ref="ds:Transform" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
</complexType>
|
|
||||||
<element name="Transform" type="ds:TransformType"/>
|
|
||||||
<complexType name="TransformType" mixed="true">
|
|
||||||
<choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<any namespace="##other" processContents="lax"/>
|
|
||||||
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
|
||||||
<element name="XPath" type="string"/>
|
|
||||||
</choice>
|
|
||||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
|
||||||
</complexType>
|
|
||||||
<!-- End Reference -->
|
|
||||||
<element name="DigestMethod" type="ds:DigestMethodType"/>
|
|
||||||
<complexType name="DigestMethodType" mixed="true">
|
|
||||||
<sequence>
|
|
||||||
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="DigestValue" type="ds:DigestValueType"/>
|
|
||||||
<simpleType name="DigestValueType">
|
|
||||||
<restriction base="base64Binary"/>
|
|
||||||
</simpleType>
|
|
||||||
<!-- End SignedInfo -->
|
|
||||||
<!-- Start KeyInfo -->
|
|
||||||
<element name="KeyInfo" type="ds:KeyInfoType"/>
|
|
||||||
<complexType name="KeyInfoType" mixed="true">
|
|
||||||
<choice maxOccurs="unbounded">
|
|
||||||
<element ref="ds:KeyName"/>
|
|
||||||
<element ref="ds:KeyValue"/>
|
|
||||||
<element ref="ds:RetrievalMethod"/>
|
|
||||||
<element ref="ds:X509Data"/>
|
|
||||||
<element ref="ds:PGPData"/>
|
|
||||||
<element ref="ds:SPKIData"/>
|
|
||||||
<element ref="ds:MgmtData"/>
|
|
||||||
<any namespace="##other" processContents="lax"/>
|
|
||||||
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
|
||||||
</choice>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="KeyName" type="string"/>
|
|
||||||
<element name="MgmtData" type="string"/>
|
|
||||||
<element name="KeyValue" type="ds:KeyValueType"/>
|
|
||||||
<complexType name="KeyValueType" mixed="true">
|
|
||||||
<choice>
|
|
||||||
<element ref="ds:DSAKeyValue"/>
|
|
||||||
<element ref="ds:RSAKeyValue"/>
|
|
||||||
<any namespace="##other" processContents="lax"/>
|
|
||||||
</choice>
|
|
||||||
</complexType>
|
|
||||||
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
|
|
||||||
<complexType name="RetrievalMethodType">
|
|
||||||
<sequence>
|
|
||||||
<element ref="ds:Transforms" minOccurs="0"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="URI" type="anyURI"/>
|
|
||||||
<attribute name="Type" type="anyURI" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<!-- Start X509Data -->
|
|
||||||
<element name="X509Data" type="ds:X509DataType"/>
|
|
||||||
<complexType name="X509DataType">
|
|
||||||
<sequence maxOccurs="unbounded">
|
|
||||||
<choice>
|
|
||||||
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
|
|
||||||
<element name="X509SKI" type="base64Binary"/>
|
|
||||||
<element name="X509SubjectName" type="string"/>
|
|
||||||
<element name="X509Certificate" type="base64Binary"/>
|
|
||||||
<element name="X509CRL" type="base64Binary"/>
|
|
||||||
<any namespace="##other" processContents="lax"/>
|
|
||||||
</choice>
|
|
||||||
</sequence>
|
|
||||||
</complexType>
|
|
||||||
<complexType name="X509IssuerSerialType">
|
|
||||||
<sequence>
|
|
||||||
<element name="X509IssuerName" type="string"/>
|
|
||||||
<element name="X509SerialNumber" type="integer"/>
|
|
||||||
</sequence>
|
|
||||||
</complexType>
|
|
||||||
<!-- End X509Data -->
|
|
||||||
<!-- Begin PGPData -->
|
|
||||||
<element name="PGPData" type="ds:PGPDataType"/>
|
|
||||||
<complexType name="PGPDataType">
|
|
||||||
<choice>
|
|
||||||
<sequence>
|
|
||||||
<element name="PGPKeyID" type="base64Binary"/>
|
|
||||||
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
|
|
||||||
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
<sequence>
|
|
||||||
<element name="PGPKeyPacket" type="base64Binary"/>
|
|
||||||
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
</choice>
|
|
||||||
</complexType>
|
|
||||||
<!-- End PGPData -->
|
|
||||||
<!-- Begin SPKIData -->
|
|
||||||
<element name="SPKIData" type="ds:SPKIDataType"/>
|
|
||||||
<complexType name="SPKIDataType">
|
|
||||||
<sequence maxOccurs="unbounded">
|
|
||||||
<element name="SPKISexp" type="base64Binary"/>
|
|
||||||
<any namespace="##other" processContents="lax" minOccurs="0"/>
|
|
||||||
</sequence>
|
|
||||||
</complexType>
|
|
||||||
<!-- End SPKIData -->
|
|
||||||
<!-- End KeyInfo -->
|
|
||||||
<!-- Start Object (Manifest, SignatureProperty) -->
|
|
||||||
<element name="Object" type="ds:ObjectType"/>
|
|
||||||
<complexType name="ObjectType" mixed="true">
|
|
||||||
<sequence minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<any namespace="##any" processContents="lax"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
<attribute name="MimeType" type="string" use="optional"/>
|
|
||||||
<attribute name="Encoding" type="anyURI" use="optional"/>
|
|
||||||
<!-- add a grep facet -->
|
|
||||||
</complexType>
|
|
||||||
<element name="Manifest" type="ds:ManifestType"/>
|
|
||||||
<complexType name="ManifestType">
|
|
||||||
<sequence>
|
|
||||||
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
|
|
||||||
<complexType name="SignaturePropertiesType">
|
|
||||||
<sequence>
|
|
||||||
<element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
|
|
||||||
</sequence>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
|
|
||||||
<complexType name="SignaturePropertyType" mixed="true">
|
|
||||||
<choice maxOccurs="unbounded">
|
|
||||||
<any namespace="##other" processContents="lax"/>
|
|
||||||
<!-- (1,1) elements from (1,unbounded) namespaces -->
|
|
||||||
</choice>
|
|
||||||
<attribute name="Target" type="anyURI" use="required"/>
|
|
||||||
<attribute name="Id" type="ID" use="optional"/>
|
|
||||||
</complexType>
|
|
||||||
<!-- End Object (Manifest, SignatureProperty) -->
|
|
||||||
<!-- Start Algorithm Parameters -->
|
|
||||||
<simpleType name="HMACOutputLengthType">
|
|
||||||
<restriction base="integer"/>
|
|
||||||
</simpleType>
|
|
||||||
<!-- Start KeyValue Element-types -->
|
|
||||||
<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
|
|
||||||
<complexType name="DSAKeyValueType">
|
|
||||||
<sequence>
|
|
||||||
<sequence minOccurs="0">
|
|
||||||
<element name="P" type="ds:CryptoBinary"/>
|
|
||||||
<element name="Q" type="ds:CryptoBinary"/>
|
|
||||||
</sequence>
|
|
||||||
<element name="G" type="ds:CryptoBinary" minOccurs="0"/>
|
|
||||||
<element name="Y" type="ds:CryptoBinary"/>
|
|
||||||
<element name="J" type="ds:CryptoBinary" minOccurs="0"/>
|
|
||||||
<sequence minOccurs="0">
|
|
||||||
<element name="Seed" type="ds:CryptoBinary"/>
|
|
||||||
<element name="PgenCounter" type="ds:CryptoBinary"/>
|
|
||||||
</sequence>
|
|
||||||
</sequence>
|
|
||||||
</complexType>
|
|
||||||
<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
|
|
||||||
<complexType name="RSAKeyValueType">
|
|
||||||
<sequence>
|
|
||||||
<element name="Modulus" type="ds:CryptoBinary"/>
|
|
||||||
<element name="Exponent" type="ds:CryptoBinary"/>
|
|
||||||
</sequence>
|
|
||||||
</complexType>
|
|
||||||
<!-- End KeyValue Element-types -->
|
|
||||||
<!-- End Signature -->
|
|
||||||
</schema>
|
|
||||||
68
input/fsh/bd-patient-profile.fsh
Normal file
68
input/fsh/bd-patient-profile.fsh
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
// @Name: Profile
|
||||||
|
// @Description: Example of a profile of the Patient resource. This example includes a few of the most commonly used constraints and documentation features of FHIR profiles.
|
||||||
|
|
||||||
|
Profile: PatientProfile
|
||||||
|
Id: patient-profile
|
||||||
|
Parent: Patient
|
||||||
|
Title: "Patient Profile for Bangladesh"
|
||||||
|
Description: "Profile of Patient Bangladesh Standard"
|
||||||
|
|
||||||
|
// ----- Begin rules:
|
||||||
|
|
||||||
|
// Require at least one value inside the name element
|
||||||
|
* name 1..* MS
|
||||||
|
* name ^slicing.discriminator.type = #value
|
||||||
|
* name ^slicing.discriminator.path = "use"
|
||||||
|
* name ^slicing.rules = #open
|
||||||
|
* name contains
|
||||||
|
EN 1..1 and
|
||||||
|
BN 1..1
|
||||||
|
|
||||||
|
* name[EN].use = #official
|
||||||
|
* name[BN].use = #usual
|
||||||
|
|
||||||
|
* identifier 1..* MS
|
||||||
|
* identifier ^slicing.discriminator.type = #value
|
||||||
|
* identifier ^slicing.discriminator.path = "system"
|
||||||
|
* identifier ^slicing.rules = #open
|
||||||
|
* identifier ^slicing.ordered = false
|
||||||
|
* identifier ^slicing.description = "Slice based on the type of identifier."
|
||||||
|
* identifier contains
|
||||||
|
NID 0..1 and
|
||||||
|
BRN 0..1 and
|
||||||
|
UID 0..1
|
||||||
|
|
||||||
|
* identifier[NID].system = "http://dghs.gov.bd/identifier/nid"
|
||||||
|
* identifier[NID].type.coding.code = #NID
|
||||||
|
* identifier[NID].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203"
|
||||||
|
* identifier[NID].type.text = "Organization identifier"
|
||||||
|
|
||||||
|
* identifier[BRN].system = "http://dghs.gov.bd/identifier/brn"
|
||||||
|
* identifier[BRN].type.coding.code = #BRN
|
||||||
|
* identifier[BRN].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203"
|
||||||
|
* identifier[BRN].type.text = "Organization identifier"
|
||||||
|
|
||||||
|
|
||||||
|
* identifier[UID].system = "http://dghs.gov.bd/identifier/uid"
|
||||||
|
* identifier[UID].type.coding.code = #UID
|
||||||
|
* identifier[UID].type.coding.system = "http://terminology.hl7.org/CodeSystem/v2-0203"
|
||||||
|
* identifier[UID].type.text = "Organization identifier"
|
||||||
|
|
||||||
|
|
||||||
|
// Mark elements as MustSupport
|
||||||
|
// * name and name.given and name.family MS
|
||||||
|
// * name ^short = "dak nam"
|
||||||
|
// * name ^definition = "Official name (i.e., legal name) of the patient, corresponding to official in [this value set](https://www.hl7.org/fhir/valueset-name-use.html)."
|
||||||
|
|
||||||
|
// The contents of ^comment are also displayed on the "Detailed Descriptions" tab
|
||||||
|
// in the built Implementation Guide.
|
||||||
|
* birthDate ^comment = "If exact date of birth is partially or completely unknown, Implementers SHALL populate this element with the date of birth information listed on the patient's government-issued identification."
|
||||||
|
|
||||||
|
// Do not allow gender to be included.
|
||||||
|
* gender 1..1
|
||||||
|
|
||||||
|
// Require a value from a specific value set be used for an element
|
||||||
|
* maritalStatus from http://hl7.org/fhir/ValueSet/marital-status
|
||||||
|
|
||||||
|
// Restrict something[x] to a specific type -- in this case only allowing dateTime to be used
|
||||||
|
* deceased[x] only dateTime
|
||||||
12
input/fsh/extensions/religion.fsh
Normal file
12
input/fsh/extensions/religion.fsh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Extension: ReligionBD
|
||||||
|
Description: "Example Religion"
|
||||||
|
Id: religion-bd
|
||||||
|
Title: "Religion Extension"
|
||||||
|
Context: Patient
|
||||||
|
|
||||||
|
|
||||||
|
// Religion using standard HL7 extension
|
||||||
|
* extension contains http://hl7.org/fhir/StructureDefinition/patient-religion named religion 0..1
|
||||||
|
* extension[religion] ^short = "ধর্ম (Religion)"
|
||||||
|
* extension[religion] ^definition = "The patient's religious affiliation."
|
||||||
|
* extension[religion].valueCodeableConcept from http://hl7.org/fhir/ValueSet/religious-affiliation
|
||||||
Loading…
Reference in New Issue
Block a user