View Schema

View PHR Schema

immunization.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://indivo.org/xml/phr/immunization"
    xmlns:con="http://indivo.org/xml/phr/contact"
    xmlns:im="http://indivo.org/xml/phr/immunization"
    xmlns:phd="http://indivo.org/xml/phr/personalHealthData"
    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/types" 
    schemaLocation="http://indivo.org/xml/phr/types.xsd"/>
    
    <import namespace="http://indivo.org/xml/phr/contact" 
    schemaLocation="http://indivo.org/xml/phr/contact.xsd"/>
    
    <element name="Immunization" type="im:ImmunizationType"/>
    <complexType name="ImmunizationType">
        <complexContent>
            <extension base="phd:PersonalHealthDataType">
                <sequence>
                    <element name="Vaccine" type="im:VaccineType" minOccurs="1"/>
                    <element name="Sequence" type="string" minOccurs="0"/>
                    <element name="AnatomicSurface" type="string" minOccurs="0"/>
                    <element name="AdverseEvent" type="string" minOccurs="0"/>
                    <element name="ConsentFlag" type="string" minOccurs="0"/>
                    <element name="AdministeredBy" type="con:ConciseContactInformationType" minOccurs="0"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
 
    <complexType name="VaccineType">
        <sequence>
            <choice>
                <element name="Code" type="type:CodedValueType"/>
                <element name="Name" type="string"/>
            </choice>
            <element name="Manufacturer" type="string" minOccurs="0"/>
            <element name="Lot" type="string" minOccurs="0"/>
            <element name="Route" type="string" minOccurs="0"/>
            <element name="Expiration" type="date" minOccurs="0"/>
        </sequence>
    </complexType>
 
</schema>