<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://indivo.org/xml/phr/familyHistory"
xmlns:fh="http://indivo.org/xml/phr/familyHistory"
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="FamilyHistory" type="fh:FamilyHistoryType"/>
<complexType name="FamilyHistoryType">
<complexContent>
<extension base="phd:PersonalHealthDataType">
<sequence>
<element name="Condition" type="type:CodedValueType" minOccurs="1"/>
<element name="Relationship" type="type:CodedValueType" minOccurs="1"/>
<choice>
<sequence>
<element name="AgeOfOnset" type="integer" minOccurs="1"/>
<element name="AgeOfResolution" type="integer" minOccurs="0"/>
</sequence>
<sequence>
<element name="DateOfBirth" type="date" minOccurs="1"/>
<element name="Duration" type="type:DurationType" minOccurs="1"/>
</sequence>
<sequence>
<element name="AgeOfOnset" type="integer" minOccurs="1"/>
<element name="Severity" type="string" minOccurs="1"/>
</sequence>
</choice>
<element name="Recurring" type="boolean" minOccurs="1"/>
<element name="Status" type="string" minOccurs="1"/>
<element name="StatusDescription" type="string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>