phr document standard

printer friendly version of this page

View PHR Schema

proxy.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/proxy"
    xmlns:pro="http://indivo.org/xml/phr/proxy"
    xmlns:phd="http://indivo.org/xml/phr/personalHealthData"
    xmlns:con="http://indivo.org/xml/phr/contact"
    xmlns:type="http://indivo.org/xml/phr/types"
    xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="unqualified">
 
    <import namespace="http://indivo.org/xml/phr/personalHealthData" 
    schemaLocation="http://indivo.org/xml/phr/personalHealthData.xsd"/>
    
    <import namespace="http://indivo.org/xml/phr/contact" 
    schemaLocation="http://indivo.org/xml/phr/contact.xsd"/>
 
    <import namespace="http://indivo.org/xml/phr/types" 
    schemaLocation="http://indivo.org/xml/phr/types.xsd"/>
    
    <element name="HealthCareProxy" type="pro:HealthCareProxyType"/>
    <complexType name="HealthCareProxyType">
        <complexContent>
            <extension base="phd:PersonalHealthDataType">
                <sequence>
                    <element name="Proxy" type="con:ConciseContactInformationType" minOccurs="1"/>
                    <element name="Alternate" type="con:ConciseContactInformationType" minOccurs="0"/>
                    <element name="PrimaryWitness" type="con:ConciseContactInformationType" minOccurs="0"/>
                    <element name="SecondaryWitness" type="con:ConciseContactInformationType" minOccurs="0"/>
                    <element name="Image" type="type:ImageType" minOccurs="0" maxOccurs="unbounded"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
</schema>