<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">	
	<xsd:complexType name="listype">
			<xsd:sequence>
				<xsd:element name="ndc" maxOccurs="unbounded">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
    						<xsd:minLength value="1"/>
    						<xsd:maxLength value="20"/>
  						</xsd:restriction>
					</xsd:simpleType>					
				</xsd:element>
			</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="activeDrugs">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="practiceIdentifier">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:minLength value="1"/>
							<xsd:maxLength value="32"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>				
				<xsd:element name="list" type="listype">
					<xsd:key name="ndcUnq">
					 <xsd:selector xpath=".//list/ndc"/>
					 <xsd:field xpath="."/>
					</xsd:key>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>		
	</xsd:element>
</xsd:schema>					
