phr document standard

printer friendly version of this page

View PHR Schema

micro.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/micro"
    xmlns:mic="http://indivo.org/xml/phr/micro"
    xmlns:lab="http://indivo.org/xml/phr/labTest"
    xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="unqualified">
    
    <import namespace="http://indivo.org/xml/phr/labTest" 
    schemaLocation="http://indivo.org/xml/phr/labTest.xsd"/>
        
    <element name="Microbiology" type="mic:MicrobiologyType"/>
    <complexType name="MicrobiologyType">
        <complexContent>
            <extension base="lab:LabTestType">
                <sequence>
                    <element name="Sensitivity" type="mic:SensitivityType" minOccurs="0" maxOccurs="unbounded"/>
                    <element name="SpecimenType" type="string" minOccurs="0"/>
                    <element name="OrganismName" type="string" minOccurs="0"/>
                    <element name="OrganismComment" type="string" minOccurs="0"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
    
    <complexType name="SensitivityType">
        <sequence>
            <element name="Agent" type="string" minOccurs="1"/>
            <element name="Value" type="string" minOccurs="1"/>
            <element name="Interpretation" type="string" minOccurs="1"/>
        </sequence>
    </complexType>
    
</schema>