phr document standard

printer friendly version of this page

View PHR Schema

annotation.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/annotation"
    xmlns:ann="http://indivo.org/xml/phr/annotation"
    xmlns:type="http://indivo.org/xml/phr/types"
    xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="unqualified">
 
    <import namespace="http://indivo.org/xml/phr/types" 
    schemaLocation="http://indivo.org/xml/phr/types.xsd"/>
    
    <element name="Annotation" type="ann:AnnotationType"/>
    
    <complexType name="AnnotationType">
        <sequence>
            <element name="DateTime" type="dateTime" minOccurs="1"/>
            <element name="Author" type="type:AuthorType"  minOccurs="1"/>
            <element name="DocumentReference" type="ann:DocumentReferenceType" minOccurs="1"/>
            <element name="Text" type="string"/>
        </sequence>
    </complexType>
    
    <complexType name="DocumentReferenceType">
        <sequence>
            <element name="Classification" type="anyURI"  minOccurs="1"/>
            <element name="DocumentIndex" type="string"  minOccurs="1"/>
            <element name="Version" type="integer"  minOccurs="1"/>
        </sequence>
    </complexType>
</schema>