<?xml version="1.0" encoding="UTF-8"?>
<!--20090810 Update to correct missing Provider Specialty in PVD Pharmacy loop. Explicit tags for MandatoryProviderIDType, OptionalProviderIDType, PatientIDType, PayerIDType, PriorAuthorization. IndicationText changed to 50.-->
<!-- edited with XMLSpy v2011 rel. 3 sp1 (x64) (http://www.altova.com) by James Linzy (Emdeon)-->
<!-- 11/2012 Modified by Emdeon Product team (search for "Variance:" to find differences and reasons to the variance. The schema was compared to the published 10/15/2012 NCPDP 10.6 schema)
	(search for "Updated" to find changes that were introduced by the published 10/15/2012 NCPDP 10.6 schema)-->
<!-- 1/4/2013 Modified by Emdeon Product team - Added change in regards to PasswordRequestType.  Was updated from a choice type to a sequence type-->
<xs:schema xmlns="http://www.ncpdp.org/schema/SCRIPT" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ncpdp.org/schema/SCRIPT" elementFormDefault="qualified">
	<!-- Message -->
	<xs:element name="Message" type="MessageType"/>
	<xs:complexType name="MessageType">
		<xs:sequence>
			<xs:element name="Header" type="HeaderType"/>
			<xs:element name="Body" type="BodyType"/>
		</xs:sequence>
		<xs:attribute name="version" use="required">
			<xs:annotation>
				<xs:documentation>UIH-010-2</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:pattern value="010"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="release" use="required">
			<xs:annotation>
				<xs:documentation>UIH-010-3</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:pattern value="006"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="HighestVersionSupported" type="an..6">
			<xs:annotation>
				<xs:documentation>UIH-010-6</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<!-- Header -->
	<xs:complexType name="HeaderType">
		<xs:sequence>
			<xs:element name="To">
				<xs:annotation>
					<xs:documentation>UIB-070-1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="MailAddressType">
							<xs:attribute name="Qualifier">
								<xs:annotation>
									<xs:documentation>UIB-070-2</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:pattern value="P|C|M|D|ZZZ"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="From">
				<xs:annotation>
					<xs:documentation>UIB-060-1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="MailAddressType">
							<xs:attribute name="Qualifier">
								<xs:annotation>
									<xs:documentation>UIB-060-2</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:pattern value="P|C|M|D|ZZZ"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="MessageID" type="an..35M">
				<xs:annotation>
					<xs:documentation>UIB-030-1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RelatesToMessageID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trading Partner Defined UIB-030-2 or UIH-030-1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SentTime" type="UtcDateType">
				<xs:annotation>
					<xs:documentation>UIB-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Security" type="SecurityType" minOccurs="0"/>
			<xs:element name="Mailbox" type="MailboxType" minOccurs="0"/>
			<xs:element name="TestMessage" type="n1" minOccurs="0">
				<xs:annotation>
					<xs:documentation>UIB-100</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RxReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trading Partner Defined UIH-020 or UIB-030-2</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TertiaryIdentifier" type="an..3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trading Partner Defined UIB-030-3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PrescriberOrderNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trading Partner Defined UIH-030-1 or UIH-020</xs:documentation>
				</xs:annotation>
			</xs:element>
						<xs:element name="DigitalSignature" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="DigestValue" type="xs:string"/>
						<xs:element name="SignatureValue" type="xs:string"/>
						<xs:element name="X509Data" type="xs:string"/>
					</xs:sequence>
					<xs:attribute name="version" use="required" fixed="1.0"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="MailAddressType">
		<xs:restriction base="xs:string">
			<xs:pattern value="(mailto:)?[^\.]{1,35}(\.[^@]{1,3})?(@[A-Za-z0-9]+\.[A-Za-z]{2,4})?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="SecurityType">
		<xs:sequence>
			<xs:element name="UsernameToken" type="UsernameTokenType" minOccurs="0"/>
			<!--SOAP-->
			<xs:element name="Sender" type="SecurityIdentificationType"/>
			<xs:element name="Receiver" type="SecurityIdentificationType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="UsernameTokenType">
		<xs:sequence>
			<xs:element name="Username" type="an..35" minOccurs="0"/>
			<!--SOAP-->
			<xs:element name="Password" type="PasswordType" minOccurs="0"/>
			<!--SOAP-->
			<xs:element name="Nonce" type="an..35" minOccurs="0"/>
			<!--SOAP-->
			<xs:element name="Created" type="UtcDateType" minOccurs="0"/>
			<!--SOAP-->
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SecurityIdentificationType">
		<xs:sequence>
			<xs:element name="SecondaryIdentification" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>UIB-060-3 or UIB-070-3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TertiaryIdentification" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>UIB-060-4 or UIB-070-4</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PasswordType">
		<xs:simpleContent>
			<xs:extension base="xs:string">
				<xs:attribute name="Type" use="required" fixed="PasswordDigest"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="MailboxType">
		<xs:sequence>
			<xs:element name="MailboxID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trading Partner Defined </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeliveredID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>UIH-030-2 Initiator reference identifier	This field may be used as a trace number between trading partners.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdditionalTraceNumber" type="an..3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>UIH-030-3 Controlling Agency, Coded 	This field may be used as a trace number between trading partners.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AcknowledgementID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>UIH-030-4 Responder control reference	 This field may be used as a trace number between trading partners.	For RESUPP – In the LTC environment this is the prescription number assigned by the facility.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Body -->
	<xs:complexType name="BodyType">
		<xs:choice>
			<xs:annotation>
				<xs:documentation>UIH-010-4</xs:documentation>
			</xs:annotation>
			<xs:element ref="NewRx"/>
			<xs:element ref="RefillRequest"/>
			<xs:element ref="RefillResponse"/>
			<xs:element ref="RxChangeRequest"/>
			<xs:element ref="RxChangeResponse"/>
			<xs:element ref="RxFill"/>
			<xs:element ref="Status"/>
			<xs:element ref="Error"/>
			<xs:element ref="Verify"/>
			<xs:element ref="GetMessage"/>
			<xs:element ref="PasswordChange"/>
			<xs:element ref="CancelRx"/>
			<xs:element ref="CancelRxResponse"/>
			<xs:element ref="RxHistoryRequest"/>
			<xs:element ref="RxHistoryResponse"/>
			<xs:element ref="Census"/>
			<xs:element ref="Resupply"/>
		</xs:choice>
	</xs:complexType>
	<!-- Message Types -->
	<xs:element name="NewRx">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="NewRxRequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="MandatoryPharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2 Variance: one Pharmacy loop is required. 10.6 it is optional. 10.8 it is mandatory.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="MandatoryPrescriberType">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="MandatorySupervisorType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="NewRxPrescribedMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-P</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="Observation" minOccurs="0"/>
				<xs:element name="BenefitsCoordination" type="BenefitsCoordinationType" minOccurs="0" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>COO</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RefillRequest">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="ShortRequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="MandatoryAddressPharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberTypeRefillRequest">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="SupervisorTypeRefillRequest" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="RefillRequestPrescribedMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-P</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationDispensed" type="RefillRequestDispensedMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-D Variance: 10.6 it is optional. 10.8 it is mandatory.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="Observation" minOccurs="0"/>
				<xs:element name="BenefitsCoordination" type="BenefitsCoordinationType" minOccurs="0" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>COO</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RefillResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="ShortRequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Response" type="ResponseType">
					<xs:annotation>
						<xs:documentation>RES</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="PharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2 Variance: 10.6 it is optional.	10.8 it is mandatory.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberType">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="SupervisorType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="RefillResponsePrescribedMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-P</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationDispensed" type="RefillResponseDispensedMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-D Variance: 10.6 it is optional. 10.8 it is mandatory.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="Observation" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RxChangeRequest">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="RequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="MandatoryPharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberType">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="SupervisorType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="RxChangePrescribedMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-P</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationRequested" type="RxChangeDispensedMedicationType" minOccurs="0" maxOccurs="9">
					<xs:annotation>
						<xs:documentation>DRU-R</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="Observation" minOccurs="0"/>
				<xs:element name="BenefitsCoordination" type="BenefitsCoordinationType" minOccurs="0" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>COO</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RxChangeResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="RequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Response" type="ChangeResponseType">
					<xs:annotation>
						<xs:documentation>RES</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="MandatoryPharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2 Variance: One Pharmacy loop is required. 10.6 it is optional. 10.8 it is mandatory.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberType">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="SupervisorType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="RxChangeResponseMedicationType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>DRU-P Variance: In 10.8 the following rules apply: If an approved Prescription Change Response (DRU Ø1Ø-4343 Response Type, Coded value A (Approved) or C (Approved with changes)), one loop required for the drug prescribed.If a denied Prescription Change Response (DRU Ø1Ø-4343 Response Type, Coded value D (Denied)), the DRU Segment does not need to be sent, or if the DRU Segment is sent it must contain the prescribed loop from the Prescription Change Request that is being denied.					
					</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="Observation" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RxFill">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="ShortRequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="FillStatus" type="FillStatusType">
					<xs:annotation>
						<xs:documentation>RES</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="MandatoryAddressPharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberRxFillType">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="SupervisorRxFillType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="FaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="RxFillMedicationType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>DRU-P Variance: In 10.6 it is optional.10.8 either the Medication Prescribed or Dispensed is required using the following rules:						
							If RES segment Ø2Ø Code List Qualifier = “AH” (Dispensed) or “AJ” (Partially Dispensed), the DRU Segment (prescribed) may be sent as clarification.
							If RES segment Ø2Ø Code List Qualifier = “AK” (Not Dispensed), the DRU Segment (dispensed) or (prescribed) is required, depending upon what the pharmacy has knowledge of.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationDispensed" type="RxFillDispensedMedicationType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>DRU-D Variance: 10.6 it is optional. 10.8 either the Medication Prescribed or Dispensed is required using the following rules.
							For Prescription Fill Status Notification Transactions - Partially Dispensed only, the quantity received is required by the prescriber. If RES segment Ø2Ø Code List Qualifier = “AH” (Dispensed) or “AJ” (Partially Dispensed), the DRU Segment (dispensed) is required.
							If RES segment Ø2Ø Code List Qualifier = “AK” (Not Dispensed), the DRU Segment (dispensed) or (prescribed) is required, depending upon what the pharmacy has knowledge of.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Status">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Code">
					<xs:annotation>
						<xs:documentation>STS-010</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="000|001|002|003|005|010"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element ref="DescriptionCode" minOccurs="0" maxOccurs="10"/>
				<xs:element ref="Description" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Error">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Code">
					<xs:annotation>
						<xs:documentation>STS-010</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="600|601|602|900"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element ref="DescriptionCode" minOccurs="0" maxOccurs="10"/>
				<xs:element ref="Description" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Verify">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="VerifyStatus" minOccurs="0">
					<xs:annotation>
						<xs:documentation>STS Variance: 10.6 Verify could contain a provider, patient, and medication tag. 10.8 these have been removed.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Code">
								<xs:annotation>
									<xs:documentation>STS-010 Variance: SCRIPT 10.6 code 000 is allowed. 10.8 only code 010 is allowed </xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:pattern value="010"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element ref="Description" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="GetMessage">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="GetMessage"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PasswordChange">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="PasswordRequestType"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CancelRx">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="CancelRequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="MandatoryPharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2 Variance: 10.6 it is optional. 10.8 it is mandatory.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberType">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="SupervisorType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="PrescribedMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-P</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CancelRxResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="CancelRequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Response" type="ChangeResponseType">
					<xs:annotation>
						<xs:documentation>RES</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RxHistoryRequest">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Pharmacy" type="OptionalPharmacyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-P2  Is required if requestor or recipient is a pharmacy or prescriber.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="OptionalPrescriberType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-PC Updated this field as it was corrected from mandatory to optional within the NCPDP 10-15-2012 distributed schema  
						 Is required if requestor or recipient is a pharmacy or prescriber.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="HistoryRequestPatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="BenefitsCoordination" type="BenefitsCoordinationRequestType" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>COO</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RxHistoryResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Response" type="HistoryResponseType">
					<xs:annotation>
						<xs:documentation>RES</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="OptionalPharmacyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-P2</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="HistoryPrescriberType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-PC Updated this field as it was corrected from mandatory to optional within the NCPDP 10-15-2012 distributed schema</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="HistoryResponsePatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="BenefitsCoordination" type="BenefitsCoordinationResponseType" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>COO</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice minOccurs="0">
					<xs:element name="MedicationDispensed" type="HistoryDispensedMedicationType" maxOccurs="300">
						<xs:annotation>
							<xs:documentation>DRU-D</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="MedicationPrescribed" type="HistoryPrescribedMedicationType" maxOccurs="300">
						<xs:annotation>
							<xs:documentation>DRU-P</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:choice>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Census">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="CensusRequestType">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberRxFillType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="BenefitsCoordination" type="CensusBenefitsCoordinationType" minOccurs="0" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>COO</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="Allergy" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="DiagnosisGeneral" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Resupply">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Request" type="ShortRequestType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>REQ</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Pharmacy" type="MandatoryAddressPharmacyType">
					<xs:annotation>
						<xs:documentation>PVD-P2</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Prescriber" type="PrescriberTypeRefillRequest">
					<xs:annotation>
						<xs:documentation>PVD-PC</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Supervisor" type="SupervisorTypeRefillRequest" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SU</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Facility" type="MandatoryFaciltyType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>PVD-SK</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Patient" type="PatientType">
					<xs:annotation>
						<xs:documentation>PTT</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationPrescribed" type="ResupplyMedicationType">
					<xs:annotation>
						<xs:documentation>DRU-P</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MedicationDispensed" type="ResupplyMedicationType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>DRU-D</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="Observation" minOccurs="0"/>
				<xs:element name="BenefitsCoordination" type="BenefitsCoordinationType" minOccurs="0" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>COO</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- Message Sub Elements-->
	<!--  Request Types -->
	<xs:complexType name="NewRxRequestType">
		<xs:annotation>
			<xs:documentation>used in CENSUS, NEWRX, CANRX</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ChangeRequestType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-010</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="C1|C2|C3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReturnReceipt" type="an..3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-030</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RequestType">
		<xs:sequence>
			<xs:element name="ChangeRequestType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-010</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="G|T|P"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReturnReceipt" type="an..3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-030</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ShortRequestType">
		<xs:sequence>
			<xs:element name="ReturnReceipt" type="an..3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-030</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CancelRequestType">
		<xs:annotation>
			<xs:documentation>Used in CANRX CANRES</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ChangeRequestType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-010</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="C1|C2|C3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReturnReceipt" type="an..3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ChangeofPrescriptionStatusFlag" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-060</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="D|C"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CensusRequestType">
		<xs:sequence>
			<xs:element name="ChangeRequestType">
				<xs:annotation>
					<xs:documentation>REQ-010</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="A|AC|C|CT|D1|D2|D3|D4|DC|IO|LC|LH|LR|LT|OI|PA|PC|RC|RO|TC"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReturnReceipt" type="an..3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RequestReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CensusEffectiveDate" type="SimpleDateType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>REQ-070</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Facility -->
	<xs:complexType name="MandatoryFaciltyType">
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="FacilityName" minOccurs="0"/>
			<xs:element ref="Address" minOccurs="0"/>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="FaciltyType">
		<xs:annotation>
			<xs:documentation>Used in RxFill</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="OptionalProviderIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="FacilityName" minOccurs="0"/>
			<xs:element ref="Address" minOccurs="0"/>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<!-- Pharmacy -->
	<xs:complexType name="PharmacyType">
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020	On the mandatory transactions: One occurrence must contain the value “D3” (NCPDP Provider ID Number). One occurrence must contain the value “HPI” (National Provider ID).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-040 Value A</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Pharmacist" minOccurs="0"/>
			<xs:element ref="StoreName"/>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MandatoryAddressPharmacyType">
		<xs:annotation>
			<xs:documentation>Used in  REFREQ, and RXFILL</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020	On the mandatory transactions: One occurrence must contain the value “D3” (NCPDP Provider ID Number). One occurrence must contain the value “HPI” (National Provider ID).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-040 Value A</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Pharmacist" minOccurs="0"/>
			<xs:element ref="StoreName"/>
			<xs:element name="Address" type="MandatoryAddressType">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MandatoryPharmacyType">
		<xs:annotation>
			<xs:documentation>Used in NEWRX,  RXCHG, CHGRES</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 On the mandatory transactions: One occurrence must contain the value “D3” (NCPDP Provider ID Number). One occurrence must contain the value “HPI” (National Provider ID).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-040 Value A</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Pharmacist" minOccurs="0"/>
			<xs:element ref="StoreName"/>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OptionalPharmacyType">
		<xs:annotation>
			<xs:documentation>Used in RXHREQ RXHRES </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="OptionalProviderIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-020	On the mandatory transactions: One occurrence must contain the value “D3” (NCPDP Provider ID Number). One occurrence must contain the value “HPI” (National Provider ID).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-040 Value A</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Pharmacist" minOccurs="0"/>
			<xs:element name="StoreName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<!-- ID Types -->
	<xs:complexType name="MandatoryProviderIDType">
		<xs:choice maxOccurs="3">
			<xs:element name="NCPDPID" type="an..35M">
				<xs:annotation>
					<xs:documentation>D3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FileID" type="an..35M">
				<xs:annotation>
					<xs:documentation>94</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StateLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>0B</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicareNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1C</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicaidNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1D</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DentistLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1E</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UPIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>1G</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FacilityID" type="an..35M">
				<xs:annotation>
					<xs:documentation>1J</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PPONumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1M</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerID" type="an..35M">
				<xs:annotation>
					<xs:documentation>2U</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProcessorIdentificationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>ADI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BINLocationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>BO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Commercial" type="an..35M">
				<xs:annotation>
					<xs:documentation>C1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicalRecordIdentificationNumberEHR" type="an..35M">
				<xs:annotation>
					<xs:documentation>EA</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PatientAccountNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>EJ</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DEANumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>DH</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>HI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IndividualPolicyNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>IP</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SecondaryCoverage" type="an..35M">
				<xs:annotation>
					<xs:documentation>NC</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NAICCode" type="an..35M">
				<xs:annotation>
					<xs:documentation>NF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PromotionNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>PD</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SocialSecurity" type="an..35M">
				<xs:annotation>
					<xs:documentation>SY</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NPI" type="an..35M">
				<xs:annotation>
					<xs:documentation>HPI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PriorAuthorization" type="an..35M">
				<xs:annotation>
					<xs:documentation>G1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MutuallyDefined" type="an..35M">
				<xs:annotation>
					<xs:documentation>ZZ</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="OptionalProviderIDType">
		<xs:choice minOccurs="0" maxOccurs="3">
			<xs:element name="NCPDPID" type="an..35M">
				<xs:annotation>
					<xs:documentation>D3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FileID" type="an..35M">
				<xs:annotation>
					<xs:documentation>94</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StateLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>0B</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicareNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1C</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicaidNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1D</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DentistLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1E</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UPIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>1G</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FacilityID" type="an..35M">
				<xs:annotation>
					<xs:documentation>1J</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PPONumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1M</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerID" type="an..35M">
				<xs:annotation>
					<xs:documentation>2U</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProcessorIdentificationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>ADI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BINLocationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>BO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Commercial" type="an..35M">
				<xs:annotation>
					<xs:documentation>C1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicalRecordIdentificationNumberEHR" type="an..35M">
				<xs:annotation>
					<xs:documentation>EA</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PatientAccountNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>EJ</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DEANumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>DH</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>HI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IndividualPolicyNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>IP</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SecondaryCoverage" type="an..35M">
				<xs:annotation>
					<xs:documentation>NC</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NAICCode" type="an..35M">
				<xs:annotation>
					<xs:documentation>NF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PromotionNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>PD</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SocialSecurity" type="an..35M">
				<xs:annotation>
					<xs:documentation>SY</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NPI" type="an..35M">
				<xs:annotation>
					<xs:documentation>HPI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PriorAuthorization" type="an..35M">
				<xs:annotation>
					<xs:documentation>G1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MutuallyDefined" type="an..35M">
				<xs:annotation>
					<xs:documentation>ZZ</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="IDMandatoryType">
		<xs:sequence>
			<xs:element ref="IDValue"/>
			<xs:element ref="IDQualifier"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PatientIDType">
		<xs:choice minOccurs="0" maxOccurs="2">
			<xs:element name="NCPDPID" type="an..35M">
				<xs:annotation>
					<xs:documentation>D3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FileID" type="an..35M">
				<xs:annotation>
					<xs:documentation>94</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StateLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>0B</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicareNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1C</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicaidNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1D</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DentistLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1E</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UPIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>1G</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FacilityID" type="an..35M">
				<xs:annotation>
					<xs:documentation>1J</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PPONumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1M</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerID" type="an..35M">
				<xs:annotation>
					<xs:documentation>2U</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProcessorIdentificationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>ADI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BINLocationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>BO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Commercial" type="an..35M">
				<xs:annotation>
					<xs:documentation>C1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicalRecordIdentificationNumberEHR" type="an..35M">
				<xs:annotation>
					<xs:documentation>EA</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PatientAccountNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>EJ</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DEANumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>DH</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>HI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IndividualPolicyNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>IP</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SecondaryCoverage" type="an..35M">
				<xs:annotation>
					<xs:documentation>NC</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NAICCode" type="an..35M">
				<xs:annotation>
					<xs:documentation>NF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PromotionNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>PD</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SocialSecurity" type="an..35M">
				<xs:annotation>
					<xs:documentation>SY</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NPI" type="an..35M">
				<xs:annotation>
					<xs:documentation>HPI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PriorAuthorization" type="an..35M">
				<xs:annotation>
					<xs:documentation>G1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MutuallyDefined" type="an..35M">
				<xs:annotation>
					<xs:documentation>ZZ</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="IDOptionalType">
		<xs:sequence>
			<xs:element ref="IDValue" minOccurs="0"/>
			<xs:element ref="IDQualifier" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PayerIDType">
		<xs:choice minOccurs="0">
			<xs:element name="NCPDPID" type="an..35M">
				<xs:annotation>
					<xs:documentation>D3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FileID" type="an..35M">
				<xs:annotation>
					<xs:documentation>94</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StateLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>0B</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicareNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1C</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicaidNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1D</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DentistLicenseNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1E</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="UPIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>1G</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FacilityID" type="an..35M">
				<xs:annotation>
					<xs:documentation>1J</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PPONumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>1M</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerID" type="an..35M">
				<xs:annotation>
					<xs:documentation>2U</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProcessorIdentificationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>ADI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BINLocationNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>BO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Commercial" type="an..35M">
				<xs:annotation>
					<xs:documentation>C1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MedicalRecordIdentificationNumberEHR" type="an..35M">
				<xs:annotation>
					<xs:documentation>EA</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PatientAccountNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>EJ</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DEANumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>DH</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HIN" type="an..35M">
				<xs:annotation>
					<xs:documentation>HI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IndividualPolicyNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>IP</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SecondaryCoverage" type="an..35M">
				<xs:annotation>
					<xs:documentation>NC</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NAICCode" type="an..35M">
				<xs:annotation>
					<xs:documentation>NF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PromotionNumber" type="an..35M">
				<xs:annotation>
					<xs:documentation>PD</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SocialSecurity" type="an..35M">
				<xs:annotation>
					<xs:documentation>SY</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NPI" type="an..35M">
				<xs:annotation>
					<xs:documentation>HPI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PriorAuthorization" type="an..35M">
				<xs:annotation>
					<xs:documentation>G1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MutuallyDefined" type="an..35M">
				<xs:annotation>
					<xs:documentation>ZZ</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="DrugReferenceIDType">
		<xs:sequence>
			<xs:element name="ID" type="IDOptionalType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<!-- Prescriber -->
	<xs:complexType name="PrescriberType">
		<xs:annotation>
			<xs:documentation>Used in REFRES, RXCHG, CHGRES, CANRX, CANRES</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-040 Value A</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="MandatoryNameType">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
			<xs:element name="PrescriberAgent" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-100</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PrescriberTypeRefillRequest">
		<xs:annotation>
			<xs:documentation>Used in REFREQ</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="NameType">
				<xs:annotation>
					<xs:documentation>PVD-050 Variance: 10.6 it is optional. 10.8 it is mandatory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
			<xs:element name="PrescriberAgent" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-100</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OptionalPrescriberType">
		<xs:annotation>
			<xs:documentation>Used in  RXHREQ</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="MandatoryNameType">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
			<xs:element name="PrescriberAgent" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-100</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HistoryPrescriberType">
		<xs:annotation>
			<xs:documentation>Used in RXHRES</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="OptionalProviderIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
			<xs:element name="PrescriberAgent" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-100</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MandatoryPrescriberType">
		<xs:annotation>
			<xs:documentation>Used in NEWRX</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="MandatoryNameType">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="MandatoryAddressType">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
			<xs:element name="PrescriberAgent" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-100</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PrescriberRxFillType">
		<xs:annotation>
			<xs:documentation>Used in RXFILL, CENSUS</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="OptionalProviderIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-020 	If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="MandatoryNameType">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
			<xs:element name="PrescriberAgent" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-100</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--Supervisor-->
	<xs:complexType name="SupervisorType">
		<xs:annotation>
			<xs:documentation>Used in REFRES, RXCHG, CHGRES, CANRX, CANRES</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="Name" type="MandatoryNameType">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MandatorySupervisorType">
		<xs:annotation>
			<xs:documentation>Used in NEWRX</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="Name" type="MandatoryNameType">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="MandatoryAddressType">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupervisorTypeRefillRequest">
		<xs:annotation>
			<xs:documentation>Used in REFREQ</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="MandatoryProviderIDType">
				<xs:annotation>
					<xs:documentation>PVD-020 If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="Name" type="NameType">
				<xs:annotation>
					<xs:documentation>PVD-050 Variance: 10.6 it is optional. 10.8 it is mandatory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupervisorRxFillType">
		<xs:annotation>
			<xs:documentation>Used in RXFILL, CENSUS</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identification" type="OptionalProviderIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-020 	If the prescriber has an NPI, one occurrence must contain the value “HPI” (NPI). If the prescriber has a DEA number, one occurrence must contain the value “DH” (DEA Number). Not every entity allowed to prescribe may have an NPI or DEA. If this is the case, the other identifiers can be used.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Specialty" minOccurs="0"/>
			<xs:element name="Name" type="MandatoryNameType">
				<xs:annotation>
					<xs:documentation>PVD-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ClinicName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Address" type="AddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="CommunicationNumbers"/>
		</xs:sequence>
	</xs:complexType>
	<!-- Patient -->
	<xs:complexType name="PatientType">
		<xs:annotation>
			<xs:documentation>Updated the order of the tags within the NCPDP 10-15-2012 distributed schema</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="PatientRelationship" minOccurs="0"/>
			<xs:element name="Identification" type="PatientIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PTT-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="MandatoryPatientNameType">
				<xs:annotation>
					<xs:documentation>PTT-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Gender"/>
			<xs:element ref="DateOfBirth">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 it is optional. 10.8 it is mandatory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Address" minOccurs="0"/>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
			<xs:element ref="PatientLocation" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HistoryRequestPatientType">
		<xs:sequence>
			<xs:element name="PatientRelationship" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PTT-010</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="an..3">
						<xs:pattern value="1|2|3|4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Identification" type="PatientIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PTT-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="MandatoryPatientNameType">
				<xs:annotation>
					<xs:documentation>PTT-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Gender" minOccurs="0"/>
			<xs:element ref="DateOfBirth">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 it is optional. 10.8 it is mandatory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Address" minOccurs="0"/>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
			<xs:element ref="PatientLocation" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HistoryResponsePatientType">
		<xs:sequence>
			<xs:element name="PatientRelationship" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PTT-010</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="an..3">
						<xs:pattern value="1|2|3|4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Identification" type="PatientIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PTT-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PTT-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Gender" minOccurs="0"/>
			<xs:element ref="DateOfBirth">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 it is optional. 10.8 it is mandatory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Address" minOccurs="0"/>
			<xs:element ref="CommunicationNumbers" minOccurs="0"/>
			<xs:element ref="PatientLocation" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<!-- Benefit Coordination Types -->
	<xs:complexType name="BenefitsCoordinationRequestType">
		<xs:sequence>
			<xs:element name="PayerIdentification" type="PayerIDType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>COO-010 Updated this field from maxOccurs="1" to unbounded within the  NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="ServiceTypeCoded" minOccurs="0"/>
			<xs:element name="CardholderID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-040</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ResponsibleParty" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-050 Updated this field as it was corrected from ResponsibileParty to ResponsibleParty within the NCPDP 10-15-2012 distributed schema.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GroupID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-060</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice minOccurs="0">
				<xs:sequence>
					<xs:element name="EffectiveDate" type="DateType">
						<xs:annotation>
							<xs:documentation>COO-090</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="ExpirationDate" type="DateType">
						<xs:annotation>
							<xs:documentation>COO-090</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:choice>
			<xs:element name="Consent" type="ConsentType">
				<xs:annotation>
					<xs:documentation>COO-130</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PBMMemberID" type="an..80" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-140</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<!-- Consent is required -->
	</xs:complexType>
	<xs:complexType name="BenefitsCoordinationResponseType">
		<xs:sequence>
			<xs:element name="PayerIdentification" type="PayerIDType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>COO-010 Updated this field as it was corrected from maxOccurs="1" to unbounded within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="ServiceTypeCoded" minOccurs="0"/>
			<xs:element name="CardholderID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-040</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ResponsibleParty" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-050 Updated this field as it was corrected from ResponsibileParty to ResponsibleParty within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GroupID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-060</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice minOccurs="0">
				<xs:sequence>
					<xs:element name="EffectiveDate" type="DateType">
						<xs:annotation>
							<xs:documentation>COO-090</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="ExpirationDate" type="DateType">
						<xs:annotation>
							<xs:documentation>COO-090</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:choice>
			<xs:element name="Consent" type="ConsentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-130</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PBMMemberID" type="an..80" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-140</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="BenefitsCoordinationType">
		<xs:sequence>
			<xs:element name="PayerIdentification" type="PayerIDType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>COO-010 Updated this field as it was corrected from maxOccurs="1" to unbounded within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CardholderID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-040</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CardHolderName" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-050</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GroupID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-060</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CensusBenefitsCoordinationType">
		<xs:sequence>
			<xs:element name="PayerIdentification" type="PayerIDType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>COO-010 Updated this field as it was corrected from maxOccurs="1" to unbounded within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PayerName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CardholderID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-040</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ResponsibleParty" type="NameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-050 Updated this field as it was corrected from ResponsibileParty to ResponsibleParty within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GroupID" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-060</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GroupName" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-070</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Address" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-080 or PTT-060 or COO-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InsuranceTypeCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>COO-100</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="P|S|T|U|PP"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element ref="CommunicationNumbers" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-090 or PTT-070 or COO-150</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--	Medication Types	-->
	<xs:complexType name="MedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element ref="Refills" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RefillRequestDispensedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="P|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="SoldDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Updated SoldDate as it was added to the RefillRequestDispensedMedicationType complex type awithin the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RefillRequestPrescribedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="P|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RxChangePrescribedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="R|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RxChangeDispensedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="R|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RxChangeResponseMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="R|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RefillResponseDispensedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="A|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RefillResponsePrescribedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="A|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PrescribedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element ref="Refills">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="NeededNoLaterThan" minOccurs="0"/>
			<xs:element ref="TimeZone" minOccurs="0"/>
			<xs:element ref="NeededNoLaterThanReason" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NewRxPrescribedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="R|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="DoNotFill" minOccurs="0"/>
			<xs:element ref="NeededNoLaterThan" minOccurs="0"/>
			<xs:element ref="TimeZone" minOccurs="0"/>
			<xs:element ref="NeededNoLaterThanReason" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ResupplyMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-060 Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Qualifier">
							<xs:annotation>
								<xs:documentation>DRU-060-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="P|PRN"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Value" type="n..2" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
								This field is mandatory except when Quantity Qualifier = PRN. 
								No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Updated by removing SoldDate as it was removed from the ResupplyMedicationType complex type within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="NeededNoLaterThan" minOccurs="0"/>
			<xs:element ref="TimeZone" minOccurs="0"/>
			<xs:element ref="NeededNoLaterThanReason" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DispensedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element ref="Refills">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OptionalDateMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element ref="Refills">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RxFillMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element ref="Refills" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RxFillDispensedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140M">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element ref="Refills" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="SoldDate" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HistoryDispensedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills" type="MedicationHistoryRefillsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate" minOccurs="0"/>
			<xs:element ref="LastFillDate"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="SoldDate" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Pharmacy" type="OptionalPharmacyType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-P2</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Prescriber" type="HistoryPrescriberType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-PC Updated this field as it was corrected from mandatory to optional within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="HistorySource" type="HistorySourceType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SRC</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HistoryPrescribedMedicationType">
		<xs:sequence>
			<xs:element ref="DrugDescription"/>
			<xs:element ref="DrugCoded" minOccurs="0"/>
			<xs:element ref="Quantity" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DaysSupply" minOccurs="0"/>
			<xs:element name="Directions" type="an..140" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-030-2 and 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Note" minOccurs="0"/>
			<xs:element name="Refills" type="MedicationHistoryRefillsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 the max is 2. 10.10 the max is 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="Substitutions" minOccurs="0"/>
			<xs:element ref="WrittenDate"/>
			<xs:element ref="LastFillDate" minOccurs="0"/>
			<xs:element ref="ExpirationDate" minOccurs="0"/>
			<xs:element ref="EffectiveDate" minOccurs="0"/>
			<xs:element ref="PeriodEnd" minOccurs="0"/>
			<xs:element ref="DeliveredOnDate" minOccurs="0"/>
			<xs:element ref="DateValidated" minOccurs="0"/>
			<xs:element ref="Diagnosis" minOccurs="0" maxOccurs="2"/>
			<xs:element name="PriorAuthorization" type="PriorAuthorizationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Pharmacy" type="OptionalPharmacyType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-P2</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Prescriber" type="HistoryPrescriberType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>PVD-PC Updated this field as it was corrected from mandatory to optional within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="DrugUseEvaluation" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="DrugCoverageStatusCode" minOccurs="0" maxOccurs="5"/>
			<xs:element ref="PriorAuthorizationStatus" minOccurs="0"/>
			<xs:element ref="StructuredSIG" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="HistorySource" type="HistorySourceType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SRC</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Observation -->
	<xs:complexType name="ObservationType">
		<xs:sequence>
			<xs:element name="Measurement" type="MeasurementType" minOccurs="0" maxOccurs="10">
				<xs:annotation>
					<xs:documentation>OBS-010</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ObservationNotes" type="an..140" minOccurs="0">
				<xs:annotation>
					<xs:documentation>OBS-020</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MeasurementType">
		<xs:sequence>
			<xs:element name="Dimension">
				<xs:annotation>
					<xs:documentation>OBS-010-1</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="HT|WG|ZZS|ZZD"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Value" type="n..18M">
				<xs:annotation>
					<xs:documentation>OBS-010-2</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ObservationDate" type="DateType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>OBS-010-4</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MeasurementDataQualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>OBS-010-6</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="1|2|3|4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="MeasurementSourceCode" type="SourceCodeList" minOccurs="0">
				<xs:annotation>
					<xs:documentation>OBS-010-7</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MeasurementUnitCode" type="an..15">
				<xs:annotation>
					<xs:documentation>OBS-010-8</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Structured SIG -->
	<xs:complexType name="SIGType">
		<xs:sequence>
			<xs:element name="RepeatingSIG">
				<xs:annotation>
					<xs:documentation>SIG-010</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="SigSequencePositionNumber" type="n..2M">
							<xs:annotation>
								<xs:documentation>SIG-010-1 Updated the SigSequencePositionNumber to mandatory to prevent empty tags within the NCPDP 10-15-2012 distributed schema</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MultipleSigModifier" type="ANDORTHEN" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-010-2</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="CodeSystem">
				<xs:annotation>
					<xs:documentation>SIG-020</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="SNOMEDVersion" type="an..14" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-020-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="FMTVersion" type="an..14" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-020-2</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="FreeText">
				<xs:annotation>
					<xs:documentation>SIG-030</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="SigFreeTextStringIndicator">
							<xs:annotation>
								<xs:documentation>SIG-030-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="1|2|3"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="SigFreeText" type="an..140M">
							<xs:annotation>
								<xs:documentation>SIG-030-2</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Dose">
				<xs:annotation>
					<xs:documentation>SIG-040</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="DoseCompositeIndicator">
							<xs:annotation>
								<xs:documentation>SIG-040-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="1|2|3|4"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="DoseDeliveryMethodText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseDeliveryMethodCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseDeliveryMethodCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-4</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseDeliveryMethodModifierText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-5</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseDeliveryMethodModifierCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-6</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseDeliveryMethodModifierCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-7</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseQuantity" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-8</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseFormText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-9</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseFormCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-10</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseFormCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-11</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DoseRangeModifier" type="TOOR" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-040-12</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="DoseCalculation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-050</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="DosingBasisNumericValue" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DosingBasisUnitofMeasureText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DosingBasisUnitofMeasureCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DosingBasisUnitofMeasureCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-4</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="BodyMetricQualifier" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-5</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="1|2"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="BodyMetricValue" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-6</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="CalculatedDoseNumeric" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-7</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="CalculatedDoseUnitofMeasureText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-8</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="CalculatedDoseUnitofMeasureCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-9</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="CalculatedDoseUnitofMeasureCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-10</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DosingBasisRangeModifier" type="TOOR" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-050-11</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Vehicle" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-060</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="VehicleName" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VehicleNameCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VehicleNameCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VehicleQuantity" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-4</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VehicleUnitOfMeasureText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-5</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VehicleUnitOfMeasureCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-6</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VehicleUnitOfMeasureCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-7</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MultipleVehicleModifier" type="ANDOR" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-060-8</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="RouteofAdministration" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-070</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="RouteofAdministrationText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-070-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="RouteofAdministrationCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-070-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="RouteofAdministrationCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-070-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MultipleRouteofAdministrationModifier" type="ANDOR" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-070-4</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="SiteofAdministration" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-080</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="SiteofAdministrationText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-080-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="SiteofAdministrationCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-080-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="SiteofAdministrationCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-080-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MultipleAdministrationTimingModifier" type="ANDORNOT" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-080-4</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Timing" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-090</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="AdministrationTimingText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="AdministrationTimingCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="AdministrationTimingCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MultipleAdministrationTimingModifier" type="ANDOR" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-4</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="RateofAdministration" type="an..11" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-5</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="RateUnitofMeasureText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-6</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="RateUnitofMeasureCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-7</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="RateUnitofMeasureCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-8</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="TimePeriodBasisText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-9</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="TimePeriodBasisCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-10</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="TimePeriodBasisCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-11</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="FrequencyNumericValue" type="an..11" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-12</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="FrequencyUnitsText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-13</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="FrequencyUnitsCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-14</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="FrequencyUnitsCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-15</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VariableFrequencyModifier" type="ANDORTO" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG--090-16</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IntervalNumericValue" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-17</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IntervalUnitsText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-18</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IntervalUnitsCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-19</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IntervalUnitsCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-090-20</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VariableIntervalModifier" type="ANDORTO" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG--090-21</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Duration" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-100</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="DurationNumericValue" type="an..11M">
							<xs:annotation>
								<xs:documentation>SIG-100-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DurationText" type="an..50M">
							<xs:annotation>
								<xs:documentation>SIG-100-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DurationTextCodeQualifier" type="TerminologyType">
							<xs:annotation>
								<xs:documentation>SIG-100-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="DurationTextCode" type="an..15M">
							<xs:annotation>
								<xs:documentation>SIG-100-4</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="MaximumDoseRestriction" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-110</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="MaximumDoseRestrictionNumericValue" type="n..18M">
							<xs:annotation>
								<xs:documentation>SIG-110-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionUnitsText" type="an..50M">
							<xs:annotation>
								<xs:documentation>SIG-110-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionCodeQualifier" type="TerminologyType">
							<xs:annotation>
								<xs:documentation>SIG-110-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionUnitsCode" type="an..15M">
							<xs:annotation>
								<xs:documentation>SIG-110-4</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionVariableNumericValue" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-110-5</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionVariableUnitsText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-110-6</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionVariableUnitsCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-110-7</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionVariableUnitsCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-110-8</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="MaximumDoseRestrictionVariableDurationModifier" type="ANDOR" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-110-9</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Indication" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-120</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="IndicationPrecursorText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-1</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationPrecursorCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-2</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationPrecursorCode" type="an..15M">
							<xs:annotation>
								<xs:documentation>SIG-120-3</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-4</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationTextCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-5</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationTextCode" type="an..15" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-6</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationValueText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-7</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationValueUnit" type="n..18" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-8</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationValueUnitofMeasureText" type="an..50" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-9</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationValueUnitofMeasureCodeQualifier" type="TerminologyType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-10</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationValueUnitofMeasureCode" type="an..15M">
							<xs:annotation>
								<xs:documentation>SIG-120-11</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IndicationVariableModifier" type="ANDORTO" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SIG-120-12</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="Stop" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SIG-130</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="StopIndicator">
							<xs:annotation>
								<xs:documentation>SIG-130-1</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="Y|N"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--Allergy-->
	<xs:complexType name="AllergyType">
		<xs:sequence>
			<xs:element name="NoKnownAllergies" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-010-7999 	If the sender sends “Y” (Yes), no other fields are sent in this segment.  </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="Y|N"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="SourceOfInformation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-020-8000</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="P|C"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element ref="EffectiveDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-030 07</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="ExpirationDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-030 36</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AdverseEvent" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-040 Updated this field as it was corrected from mandatory to optional within the NCPDP 10-15-2012 distributed schema
					Required if No Known Allergies = “N” (No), meaning allergies are known and will be reported. Value: LD</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="ItemDescriptionLong"/>
						<xs:element ref="ItemNumber" minOccurs="0"/>
						<xs:element name="CodeListQualifier" minOccurs="0">
							<xs:annotation>
								<xs:documentation>ALG-040-03</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="LD"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="DrugProductCoded" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-050</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="ItemDescriptionLong"/>
						<xs:element ref="ItemNumber" minOccurs="0"/>
						<xs:element name="CodeListQualifier" minOccurs="0">
							<xs:annotation>
								<xs:documentation>ALG-050-03 Use UN for food  allergies, ND,MF,RT,RX, UP for drug allegries </xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="ND|MF|RX|RT|UN|UP"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ReactionCoded" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-060 Value: LD</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="ItemDescriptionLong"/>
						<xs:element ref="ItemNumber" minOccurs="0"/>
						<xs:element name="CodeListQualifier" minOccurs="0">
							<xs:annotation>
								<xs:documentation>ALG-060-03</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="LD"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="SeverityCoded" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ALG-070 Value: LD</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="ItemDescriptionLong"/>
						<xs:element ref="ItemNumber" minOccurs="0"/>
						<xs:element name="CodeListQualifier" minOccurs="0">
							<xs:annotation>
								<xs:documentation>ALG-070-03</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="LD"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--General Diagnosis-->
	<xs:complexType name="DiagnosisTypeGeneral">
		<xs:sequence>
			<xs:element name="SourceOfInformation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DIA-010-8000</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="P|C"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element ref="EffectiveDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DIA-020 07</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="ExpirationDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DIA-020 36</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProblemType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DIA-030 value LD</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="ItemDescriptionLong"/>
						<xs:element ref="ItemNumber" minOccurs="0"/>
						<xs:element name="CodeListQualifier" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DIA-030-03</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="LD"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ProblemNameCoded">
				<xs:annotation>
					<xs:documentation>DIA-040 </xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="ItemDescriptionLong"/>
						<xs:element ref="ItemNumber" minOccurs="0"/>
						<xs:element name="CodeListQualifier" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DIA-040-03</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="ABF|DX|LD"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- 	Global Elements -->
	<xs:element name="FacilityName" type="an..35">
		<xs:annotation>
			<xs:documentation>PVD-070</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="PriorAuthorizationStatus">
		<xs:annotation>
			<xs:documentation>DRU-120</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="A|D|R|N|F"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="DoNotFill">
		<xs:annotation>
			<xs:documentation>DRU-130</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="Y"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="NeededNoLaterThan" type="UtcDateType">
		<xs:annotation>
			<xs:documentation>DRU-140</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TimeZone">
		<xs:annotation>
			<xs:documentation>DRU-150</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence minOccurs="0">
				<xs:element name="TimeZoneIdentifier">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="UT"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="TimeZoneDifferenceQuantity" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="[\+\-]?[0-9][0-9]?[0-9]?[0-9]?"/>
							<!--<xs:pattern value="[\+-]?[0-9][0-9]?[0-9]?[0-9]?"/>-->
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="NeededNoLaterThanReason" type="an..70">
		<xs:annotation>
			<xs:documentation>DRU-160</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="PatientLocation">
		<xs:annotation>
			<xs:documentation>PTT-080</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence minOccurs="0">
				<xs:element name="FacilityUnit" type="an..35" minOccurs="0"/>
				<xs:element name="Bed" type="an..10" minOccurs="0"/>
				<xs:element name="Room" type="an..10" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Gender" type="GenderType">
		<xs:annotation>
			<xs:documentation>PTT-040</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DateOfBirth" type="DateType">
		<xs:annotation>
			<xs:documentation>PTT--020</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Description" type="an..70">
		<xs:annotation>
			<xs:documentation>STS-030</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Refills" type="RefillsType">
		<xs:annotation>
			<xs:documentation>DRU-060</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DescriptionCode">
		<xs:annotation>
			<xs:documentation>STS-020</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="001|002|003|004|005|006|007|008|009|010|011|012|013|014|015|016|017|018|019|020|021|022|023|024|025|026|027|028|029|030|031|032|033|034|035|036|037|038|039|040|041|042|043|044|045|046|047|048|049|050|051|052|053|054|055|056|057|058|059|060|061|062|063|064|065|066|067|068|069|070|071|072|073|074|075|076|077|078|079|080|081|082|083|084|085|086|087|088|089|090|091|092|093|094|095|096|097|098|099|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163|164|165|166|167|168|169|170|171|172|173|174|175|176|177|178|179|180|181|182|183|184|185|186|187|188|189|190|191|192|193|194|195|196|197|198|199|200|201|202|203|204|205|206|207|208|209|210|211|212|213|214|215|216|217|218|219|220|221|222|223|224|225|226|227|228|229|230|231|232|233|234|235|236|237|238|239|240|241|242|243|244|245|246|247|248|249|250|251|252|253|254|255|256|257|257|258|259|260|261|262|263|264|265|266|267|268|269|270|271|272|273|274|275|276|277|278|279|280|281|282|283|284|285|286|287|288|289|290|291|292|293|294|295|296|297|298|299|300|301|302|303|304|305|306|307|308|309|310|311|312|313|314|315|316|317|318|319|320|321|322|323|324|325|326|327|328|329|330|331|332|333|334|335|336|337|338|339|340|341|342|343|344|345|346|347|348|349|350|351|352|353|354|355|356|357|358|359|360|361|362|363|364|365|366|367|368|369|370|371|372|373|374|375|376|377|378|379|380|381|382|383|384|385|386|387|388|389|390|391|392|393|394|395|396|397|398|399|400|401|402|403|404|405|406|407|408|409|410|411|412|413|414|415|416|417|418|419|420|421|422|423|424|425|426|427|428|429|430|431|432|433|434|435|436|437|438|439|440|441|442|443|444|445|446|447|448|449|450|451|452|453|454|455|456|457|458|459|460|461|462|463|464|465|466|467|468|469|470|471|472|473|474|475"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="DrugCoverageStatusCode">
		<xs:annotation>
			<xs:documentation>DRU-110</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="PR|AP|PA|NF|NR|DC|UN|ST|SI|CP|SP">
					<xs:annotation>
						<xs:documentation>Variance: CP,SP added for compound and supplies</xs:documentation>
					</xs:annotation>
				</xs:pattern>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="Substitutions">
		<xs:annotation>
			<xs:documentation>DRU-050 Variance: 10.6 allows 0,1,2,3,4,5,7,8. 10.8 allows only 0,1.</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="0|1"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="ClinicalInformationQualifier">
		<xs:annotation>
			<xs:documentation>DRU-070-1</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="1|2"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="Diagnosis">
		<xs:annotation>
			<xs:documentation>DRU-070</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ClinicalInformationQualifier"/>
				<xs:element name="Primary" type="PrimaryDiagnosisType"/>
				<xs:element name="Secondary" type="DiagnosisType" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PlaceLocationQualifier" type="an..3"/>
	<xs:element name="Qualifier">
		<xs:annotation>
			<xs:documentation>DRU-020-1</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="00|10|12|14|1N|22|23|3F|40|41|4E|4G|4M|58|60|93|AF|AM|AQ|AR|AS|AU|AV|AW|AY|BG|BI|BO|BX|C3|C5|C7|C8|CC|CH|CI|CM|CQ|CS|CT|CU|D5|DA|DB|DD|DF|DG|DI|DJ|DL|E8|EA|EC|EP|EQ|F2|F3|F4|F5|FG|FH|FO|FZ|GA|GB|GC|GE|GF|GH|GI|GJ|GK|GL|GM|GO|GP|GQ|GR|GX|H2|H4|HP|HR|HT|IH|IN|JR|KC|KD|KE|KG|KI|KM|KT|KW|KX|L2|LB|LQ|LT|M1|M2|M7|MC|ME|ML|MM|MO|MR|MS|MX|MY|MZ|N1|N4|N9|NA|NX|OP|OZ|P1|P3|P4|P5|P6|P7|P8|P9|PH|PK|PR|PT|PV|PX|PY|Q2|QK|QS|QT|QU|S1|S2|SR|SZ|T2|TB|TP|TY|U1|U2|U3|U5|UM|UN|UP|UQ|UR|US|UT|UU|UV|UW|UX|VI|VP|VS|WW|X4|X9|Y2|Y3|Y4|Y5|Y6|Y7|Y8|Y9|Y10|Y11|Y12|YR|ZZ"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="IDQualifier">
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="0B|1C|1D|1E|1G|1M|1J|2U|94|ADI|BO|C1|D3|DH|EA|EJ|G1|HI|HPI|IP|NC|NF|PD|SY|ZZ"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="IDValue" type="an..35"/>
	<xs:element name="DrugReferenceNumber" type="DrugReferenceIDType">
		<xs:annotation>
			<xs:documentation>DRU-080</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DrugDescription" type="an..105M">
		<xs:annotation>
			<xs:documentation>DRU-010-2 or 10-12</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DrugCoded" type="DrugCodedType">
		<xs:annotation>
			<xs:documentation>DRU-010-3 to  9</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Quantity" type="QuantityType">
		<xs:annotation>
			<xs:documentation>DRU-020</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DrugUseEvaluation" type="DrugUseEvaluationType">
		<xs:annotation>
			<xs:documentation>DRU-100</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Observation" type="ObservationType">
		<xs:annotation>
			<xs:documentation>OBS</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Allergy" type="AllergyType">
		<xs:annotation>
			<xs:documentation>ALG</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DiagnosisGeneral" type="DiagnosisTypeGeneral">
		<xs:annotation>
			<xs:documentation>DIA</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Note" type="an..210">
		<xs:annotation>
			<xs:documentation>DRU-090</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="PatientRelationship">
		<xs:annotation>
			<xs:documentation>PTT-010</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="an..3">
				<xs:pattern value="1|2|3|4"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="StoreName" type="an..35M">
		<xs:annotation>
			<xs:documentation>PVD-070</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Pharmacist" type="NameType">
		<xs:annotation>
			<xs:documentation>PVD-050</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Address" type="AddressType">
		<xs:annotation>
			<xs:documentation>PVD-080 or PTT-060</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CommunicationNumbers" type="CommunicationNumbersType">
		<xs:annotation>
			<xs:documentation>PVD-090 or PTT-070 or COO-150</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="CommunicationNumbersType">
		<xs:sequence>
			<xs:element name="Communication" type="CommunicationType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>One Occurance Must Contain the Qualifier TE for Telephone</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CommunicationType">
		<xs:sequence>
			<xs:element name="Number" type="an..80M"/>
			<xs:element name="Qualifier">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="BN|CP|FX|HP|NP|TE|WP|EM"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ItemNumber" type="an..35">
		<xs:annotation>
			<xs:documentation>ALG-0X0-02 DIA-0X0-02</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ItemDescriptionLong" type="an..255M">
		<xs:annotation>
			<xs:documentation>ALG-0X0-01DIA-0X0-01</xs:documentation>
		</xs:annotation>
	</xs:element>
	<!-- Shared Data types -->
	<xs:simpleType name="ConsentType">
		<xs:restriction base="xs:string">
			<xs:pattern value="Y|N|P|X|Z"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="GenderType">
		<xs:restriction base="xs:string">
			<xs:pattern value="M|F|U"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="ChangeResponseType">
		<xs:choice>
			<xs:element name="Approved" type="ApprovedType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Denied" type="DeniedType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ApprovedWithChanges" type="ApprovedWithChangesType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="HistoryResponseType">
		<xs:choice>
			<xs:element name="Approved" type="ApprovedType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Denied" type="DeniedType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="DrugCodedType">
		<xs:sequence>
			<xs:element name="ProductCode" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ProductCodeQualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-4</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="ND|MF|UP"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Strength" type="an..70" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-6</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DrugDBCode" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-8</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DrugDBCodeQualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-9</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="E|G|AF|FD|FG|FI|FL|FM|FN|FS|MC|MD|MG|MM|BPK|GPK|SBD|SCD"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FormSourceCode" type="SourceCodeList" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-13</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FormCode" type="an..15" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-14</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StrengthSourceCode" type="SourceCodeList" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-15</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StrengthCode" type="an..15" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-16</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DEASchedule" type="an..15" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-010-17</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="QuantityType">
		<xs:sequence>
			<xs:element name="Value" type="n..11M">
				<xs:annotation>
					<xs:documentation> DRU-020-2 Variance: 10.8 data type and size changed from an..35M to n..11M to prevent empty tags</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CodeListQualifier">
				<xs:annotation>
					<xs:documentation>DRU-020-3</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="38|40|87|QS"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UnitSourceCode" type="SourceCodeList">
				<xs:annotation>
					<xs:documentation>DRU-020-4</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PotencyUnitCode" type="an..15M">
				<xs:annotation>
					<xs:documentation>DRU-020-5</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RefillsType">
		<xs:sequence>
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation>DRU-060-1</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="A|R|P|PRN"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Value" type="n..2" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
							This field is mandatory except when Quantity Qualifier = PRN. 
							No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MedicationHistoryRefillsType">
		<xs:sequence>
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation>DRU-060-1</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="A|R|P|PRN|REM"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Value" type="n..2" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-060-2 Variance: 10.8 data type and size changed from an..35 to n..2
						This field is mandatory except when Quantity Qualifier = PRN. 
						No quantity is required for PRN. If DRU Quantity Qualifier = PRN, This field  must NOT be present.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DiagnosisType">
		<xs:sequence minOccurs="0">
			<xs:element name="Qualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-070-4</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="ABF|DX|ICD9|ICD10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Value" type="an..17" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-070-5</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PrimaryDiagnosisType">
		<xs:sequence>
			<xs:element name="Qualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-070-3</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="E|F|M|ABF|DX|ICD9|ICD10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Value" type="an..17M">
				<xs:annotation>
					<xs:documentation>DRU-070-2</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PriorAuthorizationType">
		<xs:sequence>
			<xs:element name="Qualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-080-2</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="G1|PD|D3|94|0B|1C|1D|1E|1G|1M|2U|BO|DH|HI|NC|NF|PD|SY|HPI|G1|ZZ"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Value" type="an..35M">
				<xs:annotation>
					<xs:documentation>DRU-080-1</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DrugUseEvaluationType">
		<xs:sequence>
			<xs:element name="ServiceReasonCode">
				<xs:annotation>
					<xs:documentation>DRU-100-1 Updated the ServiceReasonCode values as modified within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="AD|AN|AR|AT|CD|CH|CS|DA|DC|DD|DF|DI|DL|DM|DR|DS|ED|ER|EX|HD|IC|ID|LD|LK|LR|MC|MN|MS|MX|NA|NC|ND|NF|NN|NP|NR|NS|OH|PA|PC|PG|PH|PN|PP|PR|PS|RE|RF|SC|SD|SE|SF|SR|SX|TD|TN|TP|UD"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ProfessionalServiceCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-100-2 Updated the ProfessionalServiceCode values as modified within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="00|AS|CC|DE|DP|FE|GP|MA|MB|MP|M0|MR|PA|PE|PH|PM|P0|PT|R0|RT|SC|SW|TC|TH|ZZ"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ServiceResultCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-100-3</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="00|1A|1B|1C|1D|1E|1F|1G|1H|1J|1K|2A|2B|3A|3B|3C|3D|3E|3F|3G|3H|3J|3K|3M|3N|4A"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CoAgent" type="CoAgentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-100-4 and 5</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ClinicalSignificanceCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-100-6</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="1|2|3|9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AcknowledgementReason" type="an..100" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-100-07 DUE Acknowledgement Reason</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CoAgentType">
		<xs:sequence minOccurs="0">
			<xs:element name="CoAgentID" type="an..19" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-100-4</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CoAgentQualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DRU-100-5 Updated the CoAgentQualifer values as modified within the NCPDP 10-15-2012 distributed schema</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="01|02|03|04|07|08|09|11|12|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|37|38|39|40|41|99"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NameType">
		<xs:sequence>
			<xs:element name="LastName" type="an..35">
				<xs:annotation>
					<xs:documentation>Variance: 10.6 it is optional. 10.8 it is mandatory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FirstName" type="an..35" minOccurs="0"/>
			<xs:element name="MiddleName" type="an..35" minOccurs="0"/>
			<xs:element name="Suffix" type="an..10" minOccurs="0"/>
			<xs:element name="Prefix" type="an..10" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MandatoryNameType">
		<xs:sequence>
			<xs:element name="LastName" type="an..35M"/>
			<xs:element name="FirstName" type="an..35" minOccurs="0"/>
			<xs:element name="MiddleName" type="an..35" minOccurs="0"/>
			<xs:element name="Suffix" type="an..10" minOccurs="0"/>
			<xs:element name="Prefix" type="an..10" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MandatoryPatientNameType">
		<xs:sequence>
			<xs:element name="LastName" type="an..35M"/>
			<xs:element name="FirstName" type="an..35M"/>
			<xs:element name="MiddleName" type="an..35" minOccurs="0"/>
			<xs:element name="Suffix" type="an..10" minOccurs="0"/>
			<xs:element name="Prefix" type="an..10" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AddressType">
		<xs:sequence>
			<xs:element name="AddressLine1" type="an..35" minOccurs="0"/>
			<xs:element name="AddressLine2" type="an..35" minOccurs="0"/>
			<xs:element name="City" type="an..35" minOccurs="0"/>
			<xs:element name="State" type="StateCodes" minOccurs="0"/>
			<xs:element name="ZipCode" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="(\d{5})|(\d{9})"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element ref="PlaceLocationQualifier" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MandatoryAddressType">
		<xs:sequence>
			<xs:element name="AddressLine1" type="an..35M"/>
			<xs:element name="AddressLine2" type="an..35" minOccurs="0"/>
			<xs:element name="City" type="an..35M"/>
			<xs:element name="State" type="StateCodes"/>
			<xs:element name="ZipCode">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="(\d{5})|(\d{9})"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element ref="PlaceLocationQualifier" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ResponseType">
		<xs:annotation>
			<xs:documentation>Used in REFRES</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="Approved" type="ApprovedType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Denied" type="DeniedType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DeniedNewPrescriptionToFollow" type="DeniedNewRxToFollowType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ApprovedWithChanges" type="ApprovedWithChangesType">
				<xs:annotation>
					<xs:documentation>RES-010</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="ApprovedType">
		<xs:sequence>
			<xs:element name="ApprovalReasonCode" minOccurs="0" maxOccurs="10">
				<xs:annotation>
					<xs:documentation>RES-020</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="AA|AB|AC|AD|AE|AF|AG|AH|AJ|AK|AL|AM|AN|AO|AP|AQ"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Note" type="an..70" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-040</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeniedType">
		<xs:sequence>
			<xs:element name="DenialReasonCode" minOccurs="0" maxOccurs="10">
				<xs:annotation>
					<xs:documentation>RES-020</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="AA|AB|AC|AD|AE|AF|AG|AH|AJ|AK|AL|AM|AN|AO|AP|AQ"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DenialReason" type="an..70" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-040</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeniedNewRxToFollowType">
		<xs:sequence>
			<xs:element name="DenialReasonCode" minOccurs="0" maxOccurs="10">
				<xs:annotation>
					<xs:documentation>RES-020</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="AA|AB|AC|AD|AE|AF|AG|AH|AJ|AK|AL|AM|AN|AO|AP"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DenialReason" type="an..70" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-040</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ApprovedWithChangesType">
		<xs:sequence>
			<xs:element name="DenialReasonCode" minOccurs="0" maxOccurs="10">
				<xs:annotation>
					<xs:documentation>RES-020</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="AA|AB|AC|AD|AE|AF|AG|AH|AJ|AK|AL|AM|AN|AO|AP"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Note" type="an..70" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-040</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="FillStatusType">
		<xs:choice>
			<xs:element name="Filled" type="NoteType">
				<xs:annotation>
					<xs:documentation>RES-020 AH, RES-010 =A </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NotFilled" type="DeniedFillType">
				<xs:annotation>
					<xs:documentation>RES-010 D</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PartialFill" type="NoteType">
				<xs:annotation>
					<xs:documentation>RES-020 AJ, RES-010 =A  </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="NoteType">
		<xs:sequence>
			<xs:element name="ReferenceNumber" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-030</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Note" type="an..70" minOccurs="0">
				<xs:annotation>
					<xs:documentation>RES-040</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeniedFillType">
		<xs:choice>
			<xs:sequence>
				<xs:element name="ReferenceNumber" type="an..35" minOccurs="0">
					<xs:annotation>
						<xs:documentation>RES-030</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Note" type="an..70M">
					<xs:annotation>
						<xs:documentation>RES-040</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:sequence>
				<xs:element name="FillReasonCode">
					<xs:annotation>
						<xs:documentation>RES-020</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="AA|AB|AC|AD|AE|AF|AG|AH|AJ|AK|AL|AM|AN|AO|AP"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="ReferenceNumber" type="an..35" minOccurs="0">
					<xs:annotation>
						<xs:documentation>RES-030</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Note" type="an..70M" minOccurs="0">
					<xs:annotation>
						<xs:documentation>RES-040</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="PasswordRequestType">
		<xs:sequence>
								<xs:annotation>
									<xs:documentation>Updated this field as it was corrected from a choice type to a sequence type within the NCPDP 12-13-2012 distributed schema</xs:documentation>
							</xs:annotation>
			<xs:element name="OldPassword"/>
			<xs:element name="NewPassword"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DateType">
		<xs:choice>
			<xs:element name="Date" type="SimpleDateType"/>
			<xs:element name="DateTime" type="UtcDateType"/>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="HistorySourceType">
		<xs:sequence>
			<xs:element name="Source" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SRC-010</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="SourceQualifier">
							<xs:annotation>
								<xs:documentation>SRC-010-01 Updated this field as it was corrected from SourceQualifer to SourceQualifier within the NCPDP 10-15-2012 distributed schema</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:pattern value="PC|P2|PY"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="SourceDescription" type="an..35" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SRC-010-02</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="Reference" type="IDOptionalType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>SRC-010-03 and 04</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="SourceReference" type="an..35" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SRC-020</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FillNumber" type="n..2" minOccurs="0">
				<xs:annotation>
					<xs:documentation>SRC-030</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ServiceTypeCoded">
		<xs:annotation>
			<xs:documentation>COO-030</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:pattern value="C"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="Specialty" type="an..10">
		<xs:annotation>
			<xs:documentation>PVD-040, Value "A" for the NUCC taxonomy list</xs:documentation>
		</xs:annotation>
	</xs:element>
	<!-- Global Dates -->
	<xs:element name="WrittenDate" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040 85</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LastFillDate" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040 LD</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ExpirationDate" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040 36</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="EffectiveDate" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040 07</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="PeriodEnd" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040  PE</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DeliveredOnDate" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040 35</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DateValidated" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040 BE</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SoldDate" type="DateType">
		<xs:annotation>
			<xs:documentation>DRU-040 06</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DaysSupply" type="n..3">
		<xs:annotation>
			<xs:documentation>DRU-040 ZDS Variance: Changed from an..35 to n..3</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="StructuredSIG" type="SIGType">
		<xs:annotation>
			<xs:documentation>SIG</xs:documentation>
		</xs:annotation>
	</xs:element>
	<!-- Basic SCRIPT Data types -->
	<xs:simpleType name="TerminologyType">
		<xs:restriction base="xs:string">
			<xs:pattern value="1|2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ANDORTHEN">
		<xs:restriction base="xs:string">
			<xs:pattern value="AND|OR|THEN"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ANDOR">
		<xs:restriction base="xs:string">
			<xs:pattern value="AND|OR"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ANDORNOT">
		<xs:restriction base="xs:string">
			<xs:pattern value="AND|OR|NOT"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ANDORTO">
		<xs:restriction base="xs:string">
			<xs:pattern value="AND|OR|TO"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TOOR">
		<xs:restriction base="xs:string">
			<xs:pattern value="TO|OR"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SourceCodeList">
		<xs:restriction base="xs:string">
			<xs:pattern value="AA|AB|AC"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StateCodes">
		<xs:restriction base="xs:string">
			<xs:pattern value="AA|AE|AP|AL|AK|AZ|AR|AS|CA|CO|CT|DE|DC|FM|FL|GA|GU|HI|ID|IL|IN|IA|KS|KY|LA|ME|MH|MD|MA|MI|MN|MS|MO|MT|NE|NV|NH|NJ|NM|NY|NC|ND|MP|OH|OK|OR|PW|PA|PR|RI|SC|SD|TN|TX|UT|VT|VA|VI|WA|WV|WI|WY|AB|BC|MB|NB|NF|NS|NT|NU|ON|PE|QC|SK|YT">
				<xs:annotation>
					<xs:documentation>Variance: Added AA,AE,AP to support military addresses</xs:documentation>
				</xs:annotation>
			</xs:pattern>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SimpleDateType">
		<xs:restriction base="xs:date"/>
	</xs:simpleType>
	<xs:simpleType name="UtcDateType">
		<xs:restriction base="xs:dateTime"/>
	</xs:simpleType>
	<xs:simpleType name="n">
		<xs:restriction base="an">
			<xs:pattern value="[0-9]*(\.[0-9]+)?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="nM">
		<xs:restriction base="anM">
			<xs:pattern value="[0-9]+(\.[0-9]+)?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n1">
		<xs:restriction base="n">
			<xs:maxLength value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n..2">
		<xs:restriction base="n">
			<xs:maxLength value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n..3">
		<xs:restriction base="n">
			<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
		<xs:simpleType name="n..2M">
		<xs:restriction base="nM">
			<xs:maxLength value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n..3M">
		<xs:restriction base="nM">
			<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n..4">
		<xs:restriction base="n">
			<xs:maxLength value="4"/>
		</xs:restriction>
			</xs:simpleType>
	<xs:simpleType name="n..11M">
		<xs:restriction base="nM">
			<xs:maxLength value="11"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n..15M">
		<xs:restriction base="nM">
			<xs:maxLength value="15"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n..18M">
		<xs:restriction base="nM">
			<xs:maxLength value="18"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="n..18">
		<xs:restriction base="n">
			<xs:maxLength value="18"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="anM">
		<xs:restriction base="xs:string">
			<xs:pattern value="([!-~]|[ ])*[!-~]([!-~]|[ ])*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an">
		<xs:restriction base="xs:string">
			<xs:pattern value="[ !-~]*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..2">
		<xs:restriction base="an">
			<xs:maxLength value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..3">
		<xs:restriction base="an">
			<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
		<xs:simpleType name="an..3M">
			<xs:restriction base="anM">
				<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..4">
		<xs:restriction base="an">
			<xs:maxLength value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..6">
		<xs:restriction base="an">
			<xs:maxLength value="6"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..8">
		<xs:restriction base="an">
			<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..9">
		<xs:restriction base="an">
			<xs:maxLength value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..9M">
		<xs:restriction base="anM">
			<xs:maxLength value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..10">
		<xs:restriction base="an">
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..11">
		<xs:restriction base="an">
			<xs:maxLength value="11"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..11M">
		<xs:restriction base="anM">
			<xs:maxLength value="11"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..14">
		<xs:restriction base="an">
			<xs:maxLength value="14"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..15">
		<xs:restriction base="an">
			<xs:maxLength value="15"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..15M">
		<xs:restriction base="anM">
			<xs:maxLength value="15"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..17">
		<xs:restriction base="an">
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..17M">
		<xs:restriction base="anM">
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..19">
		<xs:restriction base="an">
			<xs:maxLength value="19"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..19M">
		<xs:restriction base="anM">
			<xs:maxLength value="19"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..25M">
		<xs:restriction base="anM">
			<xs:maxLength value="25"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..35">
		<xs:restriction base="an">
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..35M">
		<xs:restriction base="anM">
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..50">
		<xs:restriction base="an">
			<xs:maxLength value="50"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..50M">
		<xs:restriction base="anM">
			<xs:maxLength value="50"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..70">
		<xs:restriction base="an">
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..70M">
		<xs:restriction base="anM">
			<xs:maxLength value="70"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..80">
		<xs:restriction base="an">
			<xs:maxLength value="80"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..80M">
		<xs:restriction base="anM">
			<xs:maxLength value="80"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..105M">
		<xs:restriction base="anM">
			<xs:maxLength value="105"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..140">
		<xs:restriction base="an">
			<xs:maxLength value="140"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..140M">
		<xs:restriction base="anM">
			<xs:maxLength value="140"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..100">
		<xs:restriction base="an">
			<xs:maxLength value="100"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..210">
		<xs:restriction base="an">
			<xs:maxLength value="210"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="an..255M">
		<xs:restriction base="anM">
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
