View Schema

View PHR Schema

demographics.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/demographics"
    xmlns:dem="http://indivo.org/xml/phr/demographics"
    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"/>
 
    <element name="Demographics" type="dem:DemographicsType"/>
    <complexType name="DemographicsType">
        <sequence>
            <element name="Sex" type="type:CodedValueType" minOccurs="0"/>
            <element name="DateOfBirth" type="dateTime" minOccurs="0"/>
            <element name="Deceased" type="boolean" minOccurs="0"/>
            <element name="DateOfDeath" type="dateTime" minOccurs="0"/>
            <element name="Language" type="type:CodedValueType" minOccurs="0" maxOccurs="unbounded"/>
            <element name="Race" type="type:CodedValueType" minOccurs="0" maxOccurs="unbounded"/>
            <element name="MaritalStatus" type="type:CodedValueType" minOccurs="0"/>
            <element name="Religion" type="type:CodedValueType" minOccurs="0"/>
            <element name="Ethnicity" type="type:CodedValueType" minOccurs="0" maxOccurs="unbounded"/>
            <element name="Veteran" type="boolean" minOccurs="0"/>
            <element name="HighestEducationLevel" type="type:CodedValueType" minOccurs="0"/>
            <element name="Disability" type="boolean" minOccurs="0"/>
            <element name="OrganDonor" type="type:CodedValueType" minOccurs="0"/>
        </sequence>
    </complexType>
 
</schema>