View Schema

View PHR Schema

encounter.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/encounter"
    xmlns:enc="http://indivo.org/xml/phr/encounter"
    xmlns:phd="http://indivo.org/xml/phr/personalHealthData"
    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/contact" 
    schemaLocation="http://indivo.org/xml/phr/contact.xsd"/>
            
    <element name="Encounter" type="enc:EncounterType"/>
    <complexType name="EncounterType">
        <complexContent>
            <extension base="phd:PersonalHealthDataType">
                <sequence>
                    <!--GUID-->
                    <element name="Id" type="string" minOccurs="1"/>
                    <element name="Type" type="string" minOccurs="1"/>
                    <element name="Duration" type="duration" minOccurs="1"/>
                    <element name="Location" type="con:ConciseContactInformationType" minOccurs="0"/>
                    <element name="Consent" type="boolean" minOccurs="1"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
</schema>