View Schema

View PHR Schema

appointment.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/appointment"
    xmlns:appt="http://indivo.org/xml/phr/appointment"
    xmlns:phd="http://indivo.org/xml/phr/personalHealthData"
    xmlns:type="http://indivo.org/xml/phr/types"
    xmlns:con="http://indivo.org/xml/phr/contact"
    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/types" 
    schemaLocation="http://indivo.org/xml/phr/types.xsd"/>
            
    <import namespace="http://indivo.org/xml/phr/contact" 
    schemaLocation="http://indivo.org/xml/phr/contact.xsd"/>
 
    <element name="Appointment" type="appt:AppointmentType"/>
    <complexType name="AppointmentType">
        <complexContent>
            <extension base="phd:PersonalHealthDataType">
                <sequence>
                    <element name="Duration" type="type:DurationType" minOccurs="1"/>
                    <element name="Service" type="string" minOccurs="1"/>
                    <element name="Location" type="con:ConciseContactInformationType" minOccurs="0"/>
                    <element name="ClinicName" type="string" minOccurs="0"/>
                    <element name="Specialty" type="string" minOccurs="0"/>
                    <element name="Status" type="type:CodedValueType" minOccurs="0"/>
                    <element name="CareClass" type="type:CodedValueType" minOccurs="0"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
    
</schema>