phr document standard

printer friendly version of this page

View PHR Schema

directive.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/directive"
    xmlns:dir="http://indivo.org/xml/phr/directive"
    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="AdvanceDirective" type="dir:AdvanceDirectiveType"/>
    <complexType name="AdvanceDirectiveType">
        <complexContent>
            <extension base="phd:PersonalHealthDataType">
                <sequence>
                    <element name="FullResuscitation" type="boolean" minOccurs="1"/>
                    <element name="ProhibitedInterventions" type="string" minOccurs="0" maxOccurs="unbounded"/>
                    <element name="AdditionalInstructions" type="string" minOccurs="0"/>
                    <element name="AttendingPhysicianEndorsement" type="type:EndorsementType" minOccurs="1"/>
                    <element name="NurseEndorsement" type="type:EndorsementType" minOccurs="1"/>
                    <element name="ExpirationDate" type="dateTime" minOccurs="0"/>
                    <element name="DiscontinuationDate" type="dateTime" minOccurs="0"/>
                    <element name="DiscontinuationAttendingPhysicianEndorsement" type="type:EndorsementType" minOccurs="1"/>
                    <element name="DiscontinuationNurseEndorsement" type="type:EndorsementType" minOccurs="1"/>
                    <element name="DocumentImage" type="type:ImageType" minOccurs="0" maxOccurs="unbounded"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
</schema>