phr document standard

printer friendly version of this page

View PHR Schema

insurance.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/insurance"
    xmlns:ins="http://indivo.org/xml/phr/insurance"
    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/types" 
    schemaLocation="http://indivo.org/xml/phr/types.xsd"/>
    
    <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"/>
            
    <element name="Insurance" type="ins:InsuranceType"/>
    <complexType name="InsuranceType">
        <complexContent>
            <extension base="phd:PersonalHealthDataType">
                <sequence>
                    <element name="PaymentProvider" type="con:ConciseContactInformationType" minOccurs="0"/>
                    <element name="Id" type="string" minOccurs="0"/>
                    <element name="GroupNumber" type="string" minOccurs="0"/>
                    <element name="Subscriber" type="con:ConciseContactInformationType" minOccurs="0"/>
                    <element name="Duration" type="type:DurationType" minOccurs="0"/>
                    <!--HMO, PPO, etc -->                    
                    <element name="Type" type="string" minOccurs="0"/>
                    <element name="CardImage" type="type:ImageType" minOccurs="0" maxOccurs="unbounded"/>
                    <element name="PharmacyBenefitsProvider" type="string" minOccurs="0"/>
                    <element name="PharmacyBenefitsId" type="string" minOccurs="0"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
    
</schema>