<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2011 sp1 (x64) (http://www.altova.com) by Rob Mohr (LogiSolve) -->
<!--
Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 NCPDP. All rights reserved. This work is owned by National Council for Prescription Drug Programs, Inc., 924Ø E. Raintree Drive, Scottsdale, AZ 8526Ø, (48Ø) 477-1ØØØ, ncpdp@ncpdp.org, and protected by the copyright laws of the United States. 17 U.S.C. §1Ø1, et. seq. Permission is given to Council members to copy and use the work or any part thereof in connection with the business purposes of the Council members.   


The work may not be changed or altered. The work may not be sold, used or exploited for commercial purposes. This permission may be revoked by National Council for Prescription Drug Programs, Inc., at any time. The National Council for Prescription Drugs Programs, Inc. is not responsible for any errors or damage as a result of the use of the work.
NCPDP recognizes the confidentiality of certain information exchanged electronically through the use of its standards. Users should be familiar with the federal, state, and local laws, regulations and codes requiring confidentiality of this information and should utilize the standards accordingly.

NOTICE: In addition, this NCPDP Standard contains certain data fields and elements that may be completed by users with the proprietary information of third parties. The use and distribution of third parties' proprietary information without such third parties' consent, or the execution of a license or other agreement with such third party, could subject the user to numerous legal claims. All users are encouraged to contact such third parties to determine whether such information is proprietary and if necessary, to consult with legal counsel to make arrangements for the use and distribution of such proprietary information.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ecl="http://ecl.services.pmbc.com" targetNamespace="http://ecl.services.pmbc.com" elementFormDefault="qualified" attributeFormDefault="unqualified" version="NCPDPv2013NovBallotPilotRFS-PMBC">
	<!-- ================================================== -->
	<!-- =====  Simple Type Definitions  -->
	<!-- ================================================== -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  AdditionalFreeTextIndicatorTypeCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="AdditionalFreeTextIndicatorTypeCode">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="M">
				<xsd:annotation>
					<xsd:documentation>Mandatory, provider must supply additional free text</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="O">
				<xsd:annotation>
					<xsd:documentation>Optional, provider may supply additional free text</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NA">
				<xsd:annotation>
					<xsd:documentation>Not Allowed, provider may not supply additional free text</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  AddressTypeQualifier  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="AddressTypeQualifier">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="P">
				<xsd:annotation>
					<xsd:documentation>Pharmacy</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C">
				<xsd:annotation>
					<xsd:documentation>Clinic</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="M">
				<xsd:annotation>
					<xsd:documentation>Mailbox</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D">
				<xsd:annotation>
					<xsd:documentation>Prescriber</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CF">
				<xsd:annotation>
					<xsd:documentation>Central Fill Facility</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ZZZ">
				<xsd:annotation>
					<xsd:documentation>Mutually Defined</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PY">
				<xsd:annotation>
					<xsd:documentation>Payer</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DIRECT">
				<xsd:annotation>
					<xsd:documentation>Direct Participant ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  AdministrationIndicatorCodes  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="AdministrationIndicatorCodes">
		<xsd:annotation>
			<xsd:documentation>Used for Sig</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="MANUFACTURERSINSTRUCTIONS">
				<xsd:annotation>
					<xsd:documentation>Manufacturer's Instructions</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  BooleanCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="BooleanCode">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="Y">
				<xsd:annotation>
					<xsd:documentation>Yes</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="N">
				<xsd:annotation>
					<xsd:documentation>No</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ChangeOfPrescriptionStatusCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ChangeOfPrescriptionStatusCode">
		<xsd:annotation>
			<xsd:documentation>Used in the Cancel Request message when the prescriber wishes to notify the pharmacy to no longer continue dispensing any open refills on an active prescription or to cancel a prescription that has not yet been dispensed.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="C">
				<xsd:annotation>
					<xsd:documentation>Cancel - Prescriber wishes to notify the pharmacy to cancel a prescription that has not yet been dispensed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D">
				<xsd:annotation>
					<xsd:documentation>Discontinue - Prescriber wishes to notify the pharmacy to no longer continue dispensing any open refills on an active prescription.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ClinicalInfoRequestType  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ClinicalInfoRequestType">
		<xsd:annotation>
			<xsd:documentation>Used in the Clinical Info Request message to indicate what type of patient centric clinical information is being requested.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="All">
				<xsd:annotation>
					<xsd:documentation>Request for all clinical information available to be shared for a Patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Allergies">
				<xsd:annotation>
					<xsd:documentation>Request for a Patient's Allergies</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Conditions">
				<xsd:annotation>
					<xsd:documentation>Request for a Patient's Conditions.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Medical History">
				<xsd:annotation>
					<xsd:documentation>Request for a Patient's Medical History.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  Code  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="Code">
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="([!-~]|[ ])*[!-~]([!-~]|[ ])*"/>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ComparisonOperatorCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ComparisonOperatorCode">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="EQ"/>
			<xsd:enumeration value="GT"/>
			<xsd:enumeration value="LT"/>
			<xsd:enumeration value="GE"/>
			<xsd:enumeration value="LE"/>
			<xsd:enumeration value="NE"/>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ComparisonOperatorCodeRestricted  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ComparisonOperatorCodeRestricted">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="GT"/>
			<xsd:enumeration value="LT"/>
			<xsd:enumeration value="GE"/>
			<xsd:enumeration value="LE"/>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  CompoundCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="CompoundCode">
		<xsd:annotation>
			<xsd:documentation>Code indicating whether or not the prescription is a compound.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="0">
				<xsd:annotation>
					<xsd:documentation>Not Specified This value is not allowed for the Telecommunication Standard</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Not a Compound—Medication that is available commercially as a dispensable product</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>Compound – Customized medication prepared in a pharmacy by combining, mixing, or altering of ingredients (but not reconstituting) for an individual patient in response to a licensed practitioner’s prescription</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ConsentCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ConsentCode">
		<xsd:annotation>
			<xsd:documentation>Patient Consent Indicator</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="Y">
				<xsd:annotation>
					<xsd:documentation>Patient gave consent for the information to be disclosed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="N">
				<xsd:annotation>
					<xsd:documentation>Patient consent not given.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="P">
				<xsd:annotation>
					<xsd:documentation>Patient gave consent for prescriber to only receive the medication history this prescriber prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="X">
				<xsd:annotation>
					<xsd:documentation>Parental/Guardian gave consent for the information to be disclosed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Z">
				<xsd:annotation>
					<xsd:documentation>Parental/Guardian consent on behalf of a minor for prescriber to only receive the medication history this prescriber prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  CoverageReferenceCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="CoverageReferenceCode">
		<xsd:annotation>
			<xsd:documentation>Coverage Reference Code</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="AgeLimits"/>
			<xsd:enumeration value="DaysSupplyExceeded"/>
			<xsd:enumeration value="DrugExclusion"/>
			<xsd:enumeration value="FullCostNotCovered"/>
			<xsd:enumeration value="GenderLimits"/>
			<xsd:enumeration value="MandatoryGeneric"/>
			<xsd:enumeration value="MedicalNecessity">
				<xsd:annotation>
					<xsd:documentation>Medical Necessity (For Formulary 1.0 only).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NotOnFormulary"/>
			<xsd:enumeration value="Resource Link">
				<xsd:annotation>
					<xsd:documentation>Resource Link – Drug-Specific Level.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PharmacyOutOfNetwork"/>
			<xsd:enumeration value="QuantityLimits"/>
			<xsd:enumeration value="QuantityLimitExceeded"/>
			<xsd:enumeration value="QuantityNotValid"/>
			<xsd:enumeration value="Resource Link">
				<xsd:annotation>
					<xsd:documentation>Resource Link – Drug-Specific Level.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="StepTherapy"/>
			<xsd:enumeration value="TextMessage"/>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  CoverageMessageTypes  <<ncpdpecl>>  -->
	<!--  Added for BenefitRquest/RFS based on Prescription Benefit IG 2015-04-10-->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="CoverageMessageTypes">
		<xsd:annotation>
			<xsd:documentation>Coverage Message Types used for Resource Links and Text Messages</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="AL">
				<xsd:annotation>
					<xsd:documentation>Age Limits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CP">
				<xsd:annotation>
					<xsd:documentation>Copay</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DE">
				<xsd:annotation>
					<xsd:documentation>Product Coverage Exclusion</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FM">
				<xsd:annotation>
					<xsd:documentation>Formulary</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GI">
				<xsd:annotation>
					<xsd:documentation>General Information</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GL">
				<xsd:annotation>
					<xsd:documentation>Gender Limits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PA">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="QL">
				<xsd:annotation>
					<xsd:documentation>Quantity Limits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ST">
				<xsd:annotation>
					<xsd:documentation>Step Therapy</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DUEClinicalSignificanceCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DUEClinicalSignificanceCode">
		<xsd:annotation>
			<xsd:documentation>Code identifying the significance or severity level of a clinical event as contained in the originating database.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Major - Code indicating that an event, transaction, etc. is of the highest importance; action required to prevent adverse drug event.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>Moderate – Code indicating that an event, transaction, etc. is of mid-level significance; requires thoughtful review before prescribing/dispensing the medication. Risk vs. benefit should be evaluated. </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3">
				<xsd:annotation>
					<xsd:documentation>Minor – Code indicating a non-life threatening, annoying, or now-well-documented effect which may or may not require a change in drug therapy. </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="9">
				<xsd:annotation>
					<xsd:documentation>Undetermined - value to describe a professional service with variable or unknown severity.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DUECoAgentIDQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DUECoAgentIDQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Code qualifying the value in DUE Co-Agent ID.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="15">
				<xsd:annotation>
					<xsd:documentation>First DataBank Formulation ID (GCN)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="17">
				<xsd:annotation>
					<xsd:documentation>Medi-Span Product Line Drug Descriptor ID (DDID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="33">
				<xsd:annotation>
					<xsd:documentation>First DataBank Ingredient List ID (HICL_SEQ_NO)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="16">
				<xsd:annotation>
					<xsd:documentation>Micromedex/Medical Economics Generic Formulation Code (GFC)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="32">
				<xsd:annotation>
					<xsd:documentation>First DataBank Clinical Formulation ID Sequence Number (GCN_SEQ_NO)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="30">
				<xsd:annotation>
					<xsd:documentation>First DataBank Routed Dosage Form ID (FDB Routed Dosage Form Med ID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="29">
				<xsd:annotation>
					<xsd:documentation>First DataBank Routed Medication ID (FDB Routed Med ID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="31">
				<xsd:annotation>
					<xsd:documentation>First DataBank Medication ID (FDB MedID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="14">
				<xsd:annotation>
					<xsd:documentation>Medi-Span Product Line Generic Product Identifier (GPI)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="24">
				<xsd:annotation>
					<xsd:documentation>The Systematized Nomenclature of Medicine Clinical Terms (SNOMED)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="26">
				<xsd:annotation>
					<xsd:documentation>American Psychiatric Association Diagnostic Statistical Manual of Mental Disorders (DSM IV)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="27">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-10-Procedure Coding System (ICD-10-PCS)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="12">
				<xsd:annotation>
					<xsd:documentation>Global Trade Identification Number (GTIN)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="21">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-10-Clinical Modifications (ICD-10-CM)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="23">
				<xsd:annotation>
					<xsd:documentation>National Criteria Care Institute (NCCI)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="11">
				<xsd:annotation>
					<xsd:documentation>National Pharmaceutical Product Interface Code (NAPPI)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="28">
				<xsd:annotation>
					<xsd:documentation>First DataBank Medication Name ID (FDB Med Name ID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="09">
				<xsd:annotation>
					<xsd:documentation>Health Care Financing Administration Common Procedural Coding System (HCPCS)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="20">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases (ICD9)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="25">
				<xsd:annotation>
					<xsd:documentation>Common Dental Terminology (CDT)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="99">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="08">
				<xsd:annotation>
					<xsd:documentation>Common Procedure Terminology (CPT5)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="37">
				<xsd:annotation>
					<xsd:documentation>American Hospital Formulary Service (AHFS)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="07">
				<xsd:annotation>
					<xsd:documentation>Common Procedure Terminology (CPT4)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="04">
				<xsd:annotation>
					<xsd:documentation>Health Industry Business Communications Council (HIBCC)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="01">
				<xsd:annotation>
					<xsd:documentation>Universal Product Code (UPC)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="03">
				<xsd:annotation>
					<xsd:documentation>National Drug Code (NDC)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="19">
				<xsd:annotation>
					<xsd:documentation>Micromedex/Medical Economics Generic Master (GM)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="02">
				<xsd:annotation>
					<xsd:documentation>Health Related Item (HRI)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="18">
				<xsd:annotation>
					<xsd:documentation>First DataBank SmartKey</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DUEProfessionalServiceCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DUEProfessionalServiceCode">
		<xsd:annotation>
			<xsd:documentation>Code identifying intervention performed when a conflict has been detected.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="SC">
				<xsd:annotation>
					<xsd:documentation>Self-care consultation Code indicating activities performed by a pharmacist on behalf of a patient intended to allow the patient to function more effectively on his or her own behalf in health promotion and disease prevention, detection, or treatment.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ZZ">
				<xsd:annotation>
					<xsd:documentation>Other Acknowledgment. When ZZ is used, the textual DUE Acknowledgment Reason must be used to provide additional detail.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="R0">
				<xsd:annotation>
					<xsd:documentation>Pharmacist consulted other source -Code indicating communication related to collection of information or clarification of a specific limited problem.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TC">
				<xsd:annotation>
					<xsd:documentation>Payer/processor consulted Code indicating communication by a pharmacist to a processor or payer related to the care of the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MR">
				<xsd:annotation>
					<xsd:documentation>Medication review-Code indicating comprehensive review and evaluation of a patient’s entire medication regimen.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FE">
				<xsd:annotation>
					<xsd:documentation>Formulary enforcement-Code indicating that activities including interventions with prescribers and patients related to the enforcement of a pharmacy benefit plan formulary have occurred. Comment: Use this code for cross-licensed brand products or generic to brand interchange.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CC">
				<xsd:annotation>
					<xsd:documentation>Coordination of care Case management activities of a pharmacist related to the care being delivered by multiple providers.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PM">
				<xsd:annotation>
					<xsd:documentation>Patient monitoring Code indicating the evaluation of established therapy for the purpose of determining whether an existing therapeutic plan should be altered.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PE">
				<xsd:annotation>
					<xsd:documentation>Patient education/instruction Code indicating verbal and/or written communication by a pharmacist to enhance the patient’s knowledge about the condition under treatment or to develop skills and competencies related to its management.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="M0">
				<xsd:annotation>
					<xsd:documentation>Prescriber consulted Code indicating prescriber communication related to collection of information or clarification of a specific limited problem.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TH">
				<xsd:annotation>
					<xsd:documentation>Therapeutic product interchange Code indicating that the selection of a therapeutically equivalent product to that specified by the prescriber for the purpose of achieving cost savings for the payer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PA">
				<xsd:annotation>
					<xsd:documentation>Previous patient tolerance - Patient has taken medication previously without issue.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RT">
				<xsd:annotation>
					<xsd:documentation>Recommend laboratory test Code indicating that the pharmacist recommends the performance of a clinical laboratory test on a patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AS">
				<xsd:annotation>
					<xsd:documentation>Patient assessment Code indicating that an initial evaluation of a patient or complaint/symptom for the purpose of developing a therapeutic plan.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DE">
				<xsd:annotation>
					<xsd:documentation>Dosing evaluation/determination Cognitive service whereby the pharmacist reviews and evaluates the appropriateness of a prescribed medication’s dose, interval, frequency and/or formulation.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="P0">
				<xsd:annotation>
					<xsd:documentation>Patient consulted Code indicating patient communication related to collection of information or clarification of a specific limited problem.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MA">
				<xsd:annotation>
					<xsd:documentation>Medication administration Code indicating an action of supplying a medication to a patient through any of several routes—oral, topical, intravenous, intramuscular, intranasal, etc.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SW">
				<xsd:annotation>
					<xsd:documentation>Literature search/review Code indicating that the pharmacist searches or reviews the pharmaceutical and/or medical literature for information related to the care of a patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MB">
				<xsd:annotation>
					<xsd:documentation>Overriding benefit - Benefits of the prescribed medication outweigh the risks.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="00">
				<xsd:annotation>
					<xsd:documentation>No intervention</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PT">
				<xsd:annotation>
					<xsd:documentation>Perform laboratory test Code indicating that the pharmacist performed a clinical laboratory test on a patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GP">
				<xsd:annotation>
					<xsd:documentation>Generic product selection-The selection of a chemically and therapeutically identical product to that specified by the prescriber for the purpose of achieving cost savings for the payer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PH">
				<xsd:annotation>
					<xsd:documentation>Patient medication history Code indicating the establishment of a medication history database on a patient to serve as the foundation for the ongoing maintenance of a medication profile.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DP">
				<xsd:annotation>
					<xsd:documentation>Dosage evaluated Code indicating that dosage has been evaluated with respect to risk for the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MP">
				<xsd:annotation>
					<xsd:documentation>Patient will be monitored - Prescriber is aware of the risk and will be monitoring the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DUEReasonForServiceCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DUEReasonForServiceCode">
		<xsd:annotation>
			<xsd:documentation>For further explanation, conflict, or clarification of services related to drug use evaluation.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="PC">
				<xsd:annotation>
					<xsd:documentation>Patient Question/Concern Code indicating that a request for information/concern was expressed by the patient, with respect to patient care.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PP">
				<xsd:annotation>
					<xsd:documentation>Plan Protocol Code indicating that a cognitive service whereby a pharmacist, in consultation with the prescriber or using professional judgment, recommends a course of therapy as outlined in the patient’s plan and submits a claim for the professional service provided.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="EX">
				<xsd:annotation>
					<xsd:documentation>Excessive Quantity-Code that documents the quantity is excessive for the single time period for which the drug is being prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="OH">
				<xsd:annotation>
					<xsd:documentation>Alcohol Conflict  - Detects when a prescribed drug is contraindicated or might conflict with the use of alcoholic beverages</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DF">
				<xsd:annotation>
					<xsd:documentation>Drug-Food interaction-Indicates interactions between a drug and certain foods.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NS">
				<xsd:annotation>
					<xsd:documentation>Insufficient Quantity- Code indicating that the quantity of dosage units prescribed is insufficient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AN">
				<xsd:annotation>
					<xsd:documentation>Prescription Authentication Code indicating that circumstances required the pharmacist to verify the validity and/or authenticity of the prescription.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HD">
				<xsd:annotation>
					<xsd:documentation>High Dose-Detects drug doses that fall above the standard dosing range.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SC">
				<xsd:annotation>
					<xsd:documentation>Suboptimal Compliance Code indicating that professional service was provided to counsel the patient regarding the importance of adherence to the provided instructions and of consistent use of the prescribed product including any ill effects anticipated as a result of non-compliance.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PA">
				<xsd:annotation>
					<xsd:documentation>Drug-Age- Indicates age-dependent drug problems.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PG">
				<xsd:annotation>
					<xsd:documentation>Drug-Pregnancy-Indicates pregnancy related drug problems. This information is intended to assist the healthcare professional in weighing the therapeutic value of a drug against possible adverse effects on the fetus.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DA">
				<xsd:annotation>
					<xsd:documentation>Drug-Allergy Indicates that an adverse immune event may occur due to the patient’s previously demonstrated heightened allergic response to the drug product in question.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IC">
				<xsd:annotation>
					<xsd:documentation>Iatrogenic Condition-Code indicating that a possible inappropriate use of drugs that are designed to amerliorate complications caused by another medication has been detected.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MN">
				<xsd:annotation>
					<xsd:documentation>Insufficient Duration Code indicating that regimens shorter than the minimal limit of therapy for the drug product, based on the product’s common uses, has been detected.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DI">
				<xsd:annotation>
					<xsd:documentation>Drug Incompatibility-Indicates physical and chemical incompatibilities between two or more drugs.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DL">
				<xsd:annotation>
					<xsd:documentation>Drug-Lab Conflict Indicates that laboratory values may be altered due to the use of the drug, or that the patient’s response to the drug may be altered due to a condition that is identified by a certain laboratory value.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AR">
				<xsd:annotation>
					<xsd:documentation>Adverse Drug Reaction Code indicating an adverse reaction by a patient to a drug.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SX">
				<xsd:annotation>
					<xsd:documentation>Drug-Gender- Indicates the therapy is inappropriate or contraindicated in either males or females.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AT">
				<xsd:annotation>
					<xsd:documentation>Additive Toxicity Code indicating a detection of drugs with similar side effects when used in combination could exhibit a toxic potential greater than either agent by itself.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PR">
				<xsd:annotation>
					<xsd:documentation>Prior Adverse Reaction Code identifying the patient has had a previous atypical reaction to drugs.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DC">
				<xsd:annotation>
					<xsd:documentation>Drug-Disease (Inferred)-Indicates that the use of the drug may be inappropriate in light of a specific medical condition that the patient has.  The existence of the specific medical condition is inferred from drugs in the patient’s medication history.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MS">
				<xsd:annotation>
					<xsd:documentation>Missing Information/Clarification-Code indicating that the prescription order is unclear, incomplete, or illegible with respect to essential information.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TD">
				<xsd:annotation>
					<xsd:documentation>Therapeutic Code indicating that a simultaneous use of different primary generic chemical entities that have the same therapeutic effect was detected.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ID">
				<xsd:annotation>
					<xsd:documentation>Ingredient Duplication- Code indicating that simultaneous use of drug products containing one or more identical generic chemical entities has been detected.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PS">
				<xsd:annotation>
					<xsd:documentation>Product Selection Opportunity Code indicating that an acceptable generic substitute or a therapeutic equivalent exists for the drug. This code is intended to support discretionary drug product selection activities by pharmacists.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MX">
				<xsd:annotation>
					<xsd:documentation>Excessive Duration- Detects regimens that are longer than the maximal limit of therapy for a drug product based on the product’s common uses.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LD">
				<xsd:annotation>
					<xsd:documentation>Low Dose Code indicating that the submitted drug doses fall below the standard dosing range.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LK">
				<xsd:annotation>
					<xsd:documentation>Lock In Recipient Code indicating that the professional service was related to a plan/payer constraint on the member whereby the member is required to obtain services from only one specified pharmacy or other provider type, hence the member is “locked in” to using only those providers or pharmacies.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ED">
				<xsd:annotation>
					<xsd:documentation>Patient Education/Instruction Code indicating that a cognitive service whereby the pharmacist performed a patient care activity by providing additional instructions or education to the patient beyond the simple task of explaining the prescriber’s instructions on the prescription.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PH">
				<xsd:annotation>
					<xsd:documentation>Preventive Health Care Code indicating that the provided professional service was to educate the patient regarding measures mitigating possible adverse effects or maximizing the benefits of the product(s) dispensed; or measures to optimize health status, prevent recurrence or exacerbation of problems.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CD">
				<xsd:annotation>
					<xsd:documentation>Chronic Disease Management The patient is participating in a coordinated health care intervention program.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NF">
				<xsd:annotation>
					<xsd:documentation>Non-Formulary Drug-Code indicating that mandatory formulary enforcement activities have been performed by the pharmacist when the drug is not included on the formulary of the patient’s pharmacy benefit plan.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NC">
				<xsd:annotation>
					<xsd:documentation>Non-covered Drug Purchase-Code indicating a cognitive service whereby a patient is counseled, the pharmacist’s recommendation is accepted and a claim is submitted to the processor requesting payment for the professional pharmacy service only, not the drug.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NA">
				<xsd:annotation>
					<xsd:documentation>Drug Not Available-Indicates the drug is not currently available from any source.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DM">
				<xsd:annotation>
					<xsd:documentation>Apparent Drug Misuse Code indicating a pattern of drug use by a patient in a manner that is significantly different than that prescribed by the prescriber.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CH">
				<xsd:annotation>
					<xsd:documentation>Call Help Desk Processor message to recommend the receiver contact the processor/plan</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CS">
				<xsd:annotation>
					<xsd:documentation>Patient Complaint/Symptom- Code indicating that in the course of assessment or discussion with the patient, the pharmacist identified an actual or potential problem when the patient presented to the pharmacist complaints or symptoms suggestive of illness requesting evaluation and treatment.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DD">
				<xsd:annotation>
					<xsd:documentation>Drug-Drug Interaction-Indicates that drug combinations in which the net pharmacologic response may be different from the result expected when each drug is given separately.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SD">
				<xsd:annotation>
					<xsd:documentation>Suboptimal Drug/Indication- Code indicating incorrect, inappropriate, or less than optimal drug prescribed for the patient’s condition.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RE">
				<xsd:annotation>
					<xsd:documentation>Suspected Environmental Risk- Code indicating that the professional service was provided to obtain information from the patient regarding suspected environmental factors.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TN">
				<xsd:annotation>
					<xsd:documentation>Laboratory Test Needed Code indicating that an assessment of the patient suggests that a laboratory test is needed to optimally manage a therapy.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DR">
				<xsd:annotation>
					<xsd:documentation>Dose Range Conflict Code indicating that the prescription does not follow recommended medication dosage.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ER">
				<xsd:annotation>
					<xsd:documentation>Overuse Code indicating that the current prescription refill is occurring before the days supply of the previous filling should have been exhausted.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SE">
				<xsd:annotation>
					<xsd:documentation>Side Effect Code reporting possible major side effects of the prescribed drug.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AD">
				<xsd:annotation>
					<xsd:documentation>Additional Drug Needed  - Code indicating optimal treatment of the patient’s condition requiring the addition of a new drug to the existing drug therapy</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NP">
				<xsd:annotation>
					<xsd:documentation>New Patient Processing-Code indicating that a pharmacist has performed the initial interview and medication history of a new patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TP">
				<xsd:annotation>
					<xsd:documentation>Payer/Processor Question Code indicating that a payer or processor requested information related to the care of a patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LR">
				<xsd:annotation>
					<xsd:documentation>Underuse Code indicating that a prescription refill that occurred after the days supply of the previous filling should have been exhausted.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ND">
				<xsd:annotation>
					<xsd:documentation>New Disease/Diagnosis-Code indicating that a professional pharmacy service has been performed for a patient who has a newly diagnosed condition or disease.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SF">
				<xsd:annotation>
					<xsd:documentation>Suboptimal Dosage Form Code indicating incorrect, inappropriate, or less than optimal dosage form for the drug.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NN">
				<xsd:annotation>
					<xsd:documentation>Unnecessary Drug Code indicating that the drug is no longer needed by the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UD">
				<xsd:annotation>
					<xsd:documentation>Duplicate Drug Code indicating that multiple prescriptions of the same drug formulation are present in the patient’s current medication profile.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PN">
				<xsd:annotation>
					<xsd:documentation>Prescriber Consultation Code indicating that a prescriber has requested information or a recommendation related to the care of a patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DS">
				<xsd:annotation>
					<xsd:documentation>Tobacco Use Code indicating that a conflict was detected when a prescribed drug is contraindicated or might conflict with the use of tobacco products.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MC">
				<xsd:annotation>
					<xsd:documentation>Drug-Disease (Reported)- Indicates that the use of the drug may be inappropriate in light of a specific medical condition that the patient has. Information about the specific medical condition was provided by the prescriber, patient or pharmacist.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RF">
				<xsd:annotation>
					<xsd:documentation>Health Provider Referral-Patient referred to the pharmacist by another health care provider for disease specific or general purposes.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SR">
				<xsd:annotation>
					<xsd:documentation>Suboptimal Regimen Code indicating incorrect, inappropriate, or less than optimal dosage regimen specified for the drug in question.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NR">
				<xsd:annotation>
					<xsd:documentation>Lactation/Nursing Interaction-Code indicating that the drug is excreted in breast milk and may represent a danger to a nursing infant.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DUEResultOfServiceCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DUEResultOfServiceCode">
		<xsd:annotation>
			<xsd:documentation>Action taken in response to a conflict.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="4A">
				<xsd:annotation>
					<xsd:documentation>Prescribed with acknowledgments - Physician is prescribing this medication with knowledge of the potential conflict.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3C">
				<xsd:annotation>
					<xsd:documentation>Discontinued Drug- Cognitive service involving the pharmacist’s review of drug therapy that results in the removal of a medication from the therapeutic regimen.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1C">
				<xsd:annotation>
					<xsd:documentation>Filled, With Different Dose- Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and fills the prescription with a different dose than was originally prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3E">
				<xsd:annotation>
					<xsd:documentation>Therapy Changed Code indicating a cognitive service. The pharmacist reviews and evaluates a therapeutic issue (alert), recommends a more appropriate product or regimen then dispenses the alternative after consultation with the prescriber.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3M">
				<xsd:annotation>
					<xsd:documentation>Compliance Aid Provided Cognitive service whereby the pharmacist supplies a product that assists the patient in complying with instructions for taking medications.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1E">
				<xsd:annotation>
					<xsd:documentation>Filled, With Different Drug- Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and fills the prescription with a different drug than was originally prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2A">
				<xsd:annotation>
					<xsd:documentation>Prescription Not Filled - Code indicating a cognitive service. The pharmacist reviews and evaluates a therapeutic issue (alert) and determines that the prescription should not be filled as written.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1B">
				<xsd:annotation>
					<xsd:documentation>Filled Prescription As Is-Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and determines the alert is not relevant for that prescription for that patient and fills the prescription as originally written.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3A">
				<xsd:annotation>
					<xsd:documentation>Recommendation Accepted Code indicating a cognitive service. The pharmacist reviews and evaluates a therapeutic issue (alert), recommends a more appropriate product or regimen then dispenses the alternative after consultation with the prescriber.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3D">
				<xsd:annotation>
					<xsd:documentation>Regimen Changed - Code indicating a cognitive service. The pharmacist reviews and evaluates a therapeutic issue (alert), recommends a more appropriate regimen then dispenses the recommended medication(s) after consultation with the prescriber.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1H">
				<xsd:annotation>
					<xsd:documentation>Brand-to-Generic Change Action whereby a pharmacist dispenses the generic formulation of an originally prescribed branded product.  Allowed, often mandated, unless the prescriber indicates “Do Not Substitute” on the prescription</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3B">
				<xsd:annotation>
					<xsd:documentation>Recommendation Not Accepted - Code indicating a cognitive service. The pharmacist reviews and evaluates a therapeutic issue (alert), recommends a more appropriate product or regimen but the prescriber does not concur.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3J">
				<xsd:annotation>
					<xsd:documentation>Patient Referral Code indicating the referral of a patient to another health care provider following evaluation by the pharmacist.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1F">
				<xsd:annotation>
					<xsd:documentation>Filled, With Different Quantity Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and fills the prescription with a different quantity than was originally prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1K">
				<xsd:annotation>
					<xsd:documentation>Filled with Different Dosage Form- Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and fills the prescription with a different dosage form than was originally prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3H">
				<xsd:annotation>
					<xsd:documentation>Follow-Up/Report Code indicating that additional follow through by the pharmacist is required</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1D">
				<xsd:annotation>
					<xsd:documentation>Filled, With Different Directions Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and fills the prescription with different directions than were originally prescribed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2B">
				<xsd:annotation>
					<xsd:documentation>Not Filled, Directions Clarified-Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert), consults with the prescriber or using professional judgment, does not fill the prescription and counsels the patient as to the prescriber’s instructions.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3G">
				<xsd:annotation>
					<xsd:documentation>Drug Therapy Unchanged-Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert), consults with the prescriber or uses professional judgment and subsequently fills the prescription as originally written.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3N">
				<xsd:annotation>
					<xsd:documentation>Medication Administered-Cognitive service whereby the pharmacist performs a patient care activity by personally administering the medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1A">
				<xsd:annotation>
					<xsd:documentation>Filled As Is, False Positive-Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and determines the alert is incorrect for that prescription for that patient and fills the prescription as originally written.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="00">
				<xsd:annotation>
					<xsd:documentation>Not Specified</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3F">
				<xsd:annotation>
					<xsd:documentation>Therapy Changed-cost increased acknowledged - Code indicating a cognitive service. The pharmacist reviews and evaluates a therapeutic issue (alert), recommends a more appropriate product or regimen acknowledging that a cost increase will be incurred, then dispenses the alternative after consultation with the prescriber.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3K">
				<xsd:annotation>
					<xsd:documentation>Instructions Understood Indicator used to convey that the patient affirmed understanding of the instructions provided by the pharmacist regarding the use and handling of the medication dispensed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1J">
				<xsd:annotation>
					<xsd:documentation>Rx-to-OTC Change Code indicating a cognitive service. The pharmacist reviews and evaluates a therapeutic issue (alert) fills the prescription with an over-the-counter product in lieu of the originally prescribed prescription-only product.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1G">
				<xsd:annotation>
					<xsd:documentation>Filled, With Prescriber Approval Cognitive service whereby the pharmacist reviews and evaluates a therapeutic issue (alert) and fills the prescription after consulting with or obtaining approval from the prescriber.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DeliveryLocationtCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DeliveryLocationtCode">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="HOME">
				<xsd:annotation>
					<xsd:documentation>Use patient address.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FACILITY">
				<xsd:annotation>
					<xsd:documentation>Use facility address.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CONTACT PATIENT FOR DELIVERY">
				<xsd:annotation>
					<xsd:documentation>Contact information is contained in patient elements.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DeliveryRequestCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DeliveryRequestCode">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="NO DELIVERY">
				<xsd:annotation>
					<xsd:documentation>No delivery required.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FIRST FILL DELIVERY">
				<xsd:annotation>
					<xsd:documentation>Deliver only first fill of prescription.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ALL FILLS DELIVERY">
				<xsd:annotation>
					<xsd:documentation>Deliver all fills of prescription.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DescriptionCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DescriptionCode">
		<xsd:annotation>
			<xsd:documentation>Reject Codes used by responder who takes responsibility for transaction</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="008">
				<xsd:annotation>
					<xsd:documentation>Request timed out before response could be received.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="134">
				<xsd:annotation>
					<xsd:documentation>Sending a Quantity Sufficient with Quantity of 0 is invalid for this pharmacy.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="210">
				<xsd:annotation>
					<xsd:documentation>Unable to process transaction. Please resubmit.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="220">
				<xsd:annotation>
					<xsd:documentation>Transaction is a duplicate</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="500">
				<xsd:annotation>
					<xsd:documentation>XML syntax error – Parser error</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4000">
				<xsd:annotation>
					<xsd:documentation>Intermediary is unable to deliver transaction to the recipient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4010">
				<xsd:annotation>
					<xsd:documentation>Intermediary is unable to process response from recipient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4020">
				<xsd:annotation>
					<xsd:documentation>Intermediary system error.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4030">
				<xsd:annotation>
					<xsd:documentation>Sender not allowed to send this transaction type.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4040">
				<xsd:annotation>
					<xsd:documentation>Receiver does not support receiving this transaction type.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1000">
				<xsd:annotation>
					<xsd:documentation>Unable to identify based on the information submitted</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2000">
				<xsd:annotation>
					<xsd:documentation>Data format is valid for the element, but content is invalid for the situation/context</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3000">
				<xsd:annotation>
					<xsd:documentation>Does not follow NCPDP standard or implementation guide rules.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DiagnosisClinicalInformationQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DiagnosisClinicalInformationQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Definition of Field</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Prescriber/Prescriber Supplied - The diagnosis was given or supplied by the prescriber.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>Pharmacy Inferred - The pharmacy inferred the diagnosis using his/her professional judgment.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DiagnosisCodeQualifiers  <<ncpdpecl>>  -->
	<!--  Added for BenefitRquest/RFS based on Prescription Benefit IG 2015-04-10-->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DiagnosisCodeQualifiers">
		<xsd:annotation>
			<xsd:documentation>Code qualifying the Diagnosis Code.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="00">
				<xsd:annotation>
					<xsd:documentation>Not Specified</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="01">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases (ICD10) - the 10th edition</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="02">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases (ICD10) - the 10th edition</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="03">
				<xsd:annotation>
					<xsd:documentation>National Criteria Care Institute (NCCI)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="04">
				<xsd:annotation>
					<xsd:documentation>The Systematized Nomenclature of Human and Veterinary Medicine (SNOMED)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="05">
				<xsd:annotation>
					<xsd:documentation>Common Dental Terminology (CDT)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="06">
				<xsd:annotation>
					<xsd:documentation>First DataBank MDDB Product Line</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="07">
				<xsd:annotation>
					<xsd:documentation>American Psychiatric Association Diagnostic Statistical Manual of Mental Disorders (DSM IV)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="99">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DispensingRequestCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DispensingRequestCode">
		<xsd:annotation>
			<xsd:documentation>Code conveying a pharmacy dispensing action associated with a CENSUS event.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="LOA">
				<xsd:annotation>
					<xsd:documentation>Request for the pharmacy to dispense a supply of medications in user packaging for use during a Leave of Absence</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DoNotFillCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DoNotFillCode">
		<xsd:annotation>
			<xsd:documentation>Used for medications ordered by a prescriber but not requiring dispensing at this time, but may be required for administration and may be available for drug-to-drug interactions.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="Y">
				<xsd:annotation>
					<xsd:documentation>Yes - Used for medications ordered by a prescriber not requiring dispensing, but available for reference and drug-to-drug interaction checking.  </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="H">
				<xsd:annotation>
					<xsd:documentation>H =  Hold - Indicates the prescriber’s authorization for the pharmacy to fill a prescription, but the prescriber recommends that the pharmacy wait for the patient to request it before filling it.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="E">
				<xsd:annotation>
					<xsd:documentation>E will indicate to the pharmacy that they should not fill this prescription. That it is a cover prescription for a previously called in emergency oral prescription as necessary for controlled substances.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DrugAdminReasonCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DrugAdminReasonCode">
		<xsd:annotation>
			<xsd:documentation>Code identifying the reason for the message</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="01">
				<xsd:annotation>
					<xsd:documentation>Awaiting lab action (procedure or result) – Medication administration suspended in preparation for a lab procedure or awaiting lab results.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="02">
				<xsd:annotation>
					<xsd:documentation>Awaiting clinical procedure (non-lab) – Medication administration suspended in preparation for a clinical procedure not lab related.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="03">
				<xsd:annotation>
					<xsd:documentation>Other clinical reason – Medication administration suspended for other clinical reason not procedure or lab related. Suggest further details be provided in text field.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="04">
				<xsd:annotation>
					<xsd:documentation>Non-clinical reason – Medication administration suspended for a non-clinical reason. Suggest further details be provided in text field.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="05">
				<xsd:annotation>
					<xsd:documentation>Patient request – Medication administration suspended at the request of the patient or patient’s representative.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DrugCoverageStatusCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DrugCoverageStatusCode">
		<xsd:annotation>
			<xsd:documentation>Code identifying the coverage status of the prescribed drug.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="PR">
				<xsd:annotation>
					<xsd:documentation>Preferred - Preferred means available on a pharmaceutical formulary in a manner such that the product is given preference in dispensing decisions over competing products in a therapeutic class or therapeutic use.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Approved - The product is included in the plan formulary.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PA">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization Required - A prior authorization is required before the prescription can be dispensed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NF">
				<xsd:annotation>
					<xsd:documentation>Non Formulary - The product is not included in the plan formulary.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NR">
				<xsd:annotation>
					<xsd:documentation>Not Reimbursed - The product is not reimbursable in the plan formulary.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DC">
				<xsd:annotation>
					<xsd:documentation>Differential Co-Pay - The product may be subject to potentially higher copay.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UN">
				<xsd:annotation>
					<xsd:documentation>Unknown - The coverage status code is not discernible.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ST">
				<xsd:annotation>
					<xsd:documentation>Step Therapy Required - The plan formulary requires that medication in a specific drug class be tried prior to the requested medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SI">
				<xsd:annotation>
					<xsd:documentation>Signed Prescription – This indicates the prescription has been signed according to the DEA requirements for electronic prescribing of controlled substances.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DrugStatusCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DrugStatusCode">
		<xsd:annotation>
			<xsd:documentation>Code identifying the formulary coverage status of the prescribed drug.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="CoveredWithRestrictions">
				<xsd:annotation>
					<xsd:documentation>Covered with restrictions.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Covered">
				<xsd:annotation>
					<xsd:documentation>Covered.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ErrorProcessingPharmacyType"/>
			<xsd:enumeration value="NotCovered">
				<xsd:annotation>
					<xsd:documentation>Not Covered (Not Reimbursable).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PharmacyTypeNotSupported"/>
			<xsd:enumeration value="PharmacyNotFound"/>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  IDStatusCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="IDStatusCode">
		<xsd:annotation>
			<xsd:documentation>Code indicating if the ID is valid or not.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="Processed">
				<xsd:annotation>
					<xsd:documentation>Id was found and processed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NotFound">
				<xsd:annotation>
					<xsd:documentation>ID Provided is not found or valid.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NotSent">
				<xsd:annotation>
					<xsd:documentation>ID was not provided.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DrugDBQualifiersCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DrugDBQualifiersCode">
		<xsd:annotation>
			<xsd:documentation>Code value to define the reference number GPI, GCN Seq #, GFC, DDID, SmartKey, GM, Multum MMDC, Multum Drug ID, etc</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="E">
				<xsd:annotation>
					<xsd:documentation>Medical Economics Generic Formulation Code (GFC)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="G">
				<xsd:annotation>
					<xsd:documentation>Medical Economics Generic Master (GM)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AF">
				<xsd:annotation>
					<xsd:documentation>American Hospital Formulary Service (AHFS)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FG">
				<xsd:annotation>
					<xsd:documentation>First DataBank Clinical Formulation ID Sequence Number (GCN_SEQ_NO)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FS">
				<xsd:annotation>
					<xsd:documentation>First Databank Smartkey</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MC">
				<xsd:annotation>
					<xsd:documentation>Multum Drug ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MD">
				<xsd:annotation>
					<xsd:documentation>Medi-Span Product Line (DDID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MG">
				<xsd:annotation>
					<xsd:documentation>Medi-Span Generic Product Identifier (GPI)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MM">
				<xsd:annotation>
					<xsd:documentation>Multum MMDC</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FI">
				<xsd:annotation>
					<xsd:documentation>First DataBank Medication ID (FDB MedID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FL">
				<xsd:annotation>
					<xsd:documentation>First DataBank Ingredient List ID (HICL_SEQ_NO)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FM">
				<xsd:annotation>
					<xsd:documentation>First DataBank Medication ID (FDB MedID)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FN">
				<xsd:annotation>
					<xsd:documentation>First DataBank Medication Name ID (FDB Med Name ID) </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FD">
				<xsd:annotation>
					<xsd:documentation>First DataBank Routed Dosage Form ID (FDB Routed Dosage Form Med ID) </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GPK">
				<xsd:annotation>
					<xsd:documentation>RxNorm Generic Package (GPCK) – A code maintained and distributed by the National Library of Medicine (NLM) representing the generic drug delivery device.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SCD">
				<xsd:annotation>
					<xsd:documentation>RxNorm Semantic Clinical Drug (SCD) – A code maintained and distributed by National Library of Medicine (NLM) representing the ingredient plus form and dose strength.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BPK">
				<xsd:annotation>
					<xsd:documentation>RxNorm Branded Package (BPCK) – A code maintained and distributed by the National Library of Medicine (NLM) representing the branded drug delivery device.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SBD">
				<xsd:annotation>
					<xsd:documentation>RxNorm Semantic Branded Drug (SBD) – A Code maintained and distributed by the National Library of Medicine (NLM) representing the ingredient, form and dose strength plus the branded name. </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  DrugDBSourceCode    -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="DrugDBSourceCode">
		<xsd:annotation>
			<xsd:documentation>Code value to define the Drug Database Source for the EMR</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="DIT">
				<xsd:annotation>
					<xsd:documentation>Drug Infromation Technologies</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FDB">
				<xsd:annotation>
					<xsd:documentation>FIrst Data Bank</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GS">
				<xsd:annotation>
					<xsd:documentation>Gold Standard</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LD">
				<xsd:annotation>
					<xsd:documentation>LexiData</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MS">
				<xsd:annotation>
					<xsd:documentation>MediSpan</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MUL">
				<xsd:annotation>
					<xsd:documentation>Multum </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RB">
				<xsd:annotation>
					<xsd:documentation>Redbook</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ErrorCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ErrorCode">
		<xsd:annotation>
			<xsd:documentation>Codes used to relay successful or rejected communications.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="000">
				<xsd:annotation>
					<xsd:documentation>Transaction successful</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="001">
				<xsd:annotation>
					<xsd:documentation>Transaction successful, message(s) waiting to be retrieved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="002">
				<xsd:annotation>
					<xsd:documentation>No more messages</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="003">
				<xsd:annotation>
					<xsd:documentation>Transaction successful, no messages to be retrieved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="005">
				<xsd:annotation>
					<xsd:documentation>Transaction successful, password soon to expire</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="010">
				<xsd:annotation>
					<xsd:documentation>Successful - accepted by ultimate receiver</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="600">
				<xsd:annotation>
					<xsd:documentation>Communication problem - try again later</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="601">
				<xsd:annotation>
					<xsd:documentation>Receiver unable to process</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="602">
				<xsd:annotation>
					<xsd:documentation>Receiver System Error</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="900">
				<xsd:annotation>
					<xsd:documentation>Transaction rejected</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="700">
				<xsd:annotation>
					<xsd:documentation>Configuration Error</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  FirstCopayTerms  <<ncpdpecl>>  -->
	<!--  Added for BenefitRquest/RFS based on Prescription Benefit IG 2015-04-10-->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="FirstCopayTerms">
		<xsd:annotation>
			<xsd:documentation>First Copay term (flat Copay  amount or percent Copay) to be considered</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="F">
				<xsd:annotation>
					<xsd:documentation>Flat Copay</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="P">
				<xsd:annotation>
					<xsd:documentation>Percent Copay</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  GenderCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="GenderCode">
		<xsd:annotation>
			<xsd:documentation>Code identifying the gender of the individual.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="M">
				<xsd:annotation>
					<xsd:documentation>Male</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="F">
				<xsd:annotation>
					<xsd:documentation>Female</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="U">
				<xsd:annotation>
					<xsd:documentation>Not Specified or Unknown</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  IDQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="IDQualifierCode">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="0B">
				<xsd:annotation>
					<xsd:documentation>State License Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1C">
				<xsd:annotation>
					<xsd:documentation>Medicare Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1D">
				<xsd:annotation>
					<xsd:documentation>Medicaid Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1E">
				<xsd:annotation>
					<xsd:documentation>Dentist License Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1G">
				<xsd:annotation>
					<xsd:documentation>UPIN</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1M">
				<xsd:annotation>
					<xsd:documentation>PPO Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1J">
				<xsd:annotation>
					<xsd:documentation>Facility ID Number = ID number assigned by the LTC Facility to the patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2U">
				<xsd:annotation>
					<xsd:documentation>Payer Identification Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="94">
				<xsd:annotation>
					<xsd:documentation>Pharmacy or Prescriber File ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BO">
				<xsd:annotation>
					<xsd:documentation>BIN Location Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ADI">
				<xsd:annotation>
					<xsd:documentation>Processor Identification Number – Processor Control Number assigned by the processor.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C1">
				<xsd:annotation>
					<xsd:documentation>Commercial</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D3">
				<xsd:annotation>
					<xsd:documentation>NCPDP Provider ID Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DH">
				<xsd:annotation>
					<xsd:documentation>DEA Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="EA">
				<xsd:annotation>
					<xsd:documentation>Medical Record Identification Number (EHR) = A unique number assigned to each patient by the provider of service (hospital) to assist in retrieval of medical records</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="EJ">
				<xsd:annotation>
					<xsd:documentation>Patient Account Number (ID assigned by the CPOE system) = A unique number assigned to each patient by the provider of service to facilitate retrieval of individual case records tracking of claims submitted to a payer and posting of payment</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="G1">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GI">
				<xsd:annotation>
					<xsd:documentation>Secondary Provider Number- To contain the Certificate to Prescribe (CTP) number. The CTP is an additional number to the state license number that a board of pharmacy assigns to prescribing individuals after completion of specific requirements.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HI">
				<xsd:annotation>
					<xsd:documentation>HIN</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HPI">
				<xsd:annotation>
					<xsd:documentation>National Provider ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IP">
				<xsd:annotation>
					<xsd:documentation>Individual Policy Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NC">
				<xsd:annotation>
					<xsd:documentation>Secondary Coverage Company Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NF">
				<xsd:annotation>
					<xsd:documentation>National Association of Insurance Commissioner’s Code </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PD">
				<xsd:annotation>
					<xsd:documentation>Promotion Number (Sample RX)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SY">
				<xsd:annotation>
					<xsd:documentation>Social Security Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ZZ">
				<xsd:annotation>
					<xsd:documentation>Mutually Defined</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="WI">
				<xsd:annotation>
					<xsd:documentation>Waiver - DATA 2000 Waiver ID. Used for prescriptions for opioid addiction treatment medications.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  InstructionIndicatorCodes  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="InstructionIndicatorCodes">
		<xsd:annotation>
			<xsd:documentation>Used for Sig</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="MEDICALENCOUNTER">
				<xsd:annotation>
					<xsd:documentation>Medical Encounter</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  LTCLevelOfChangeCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="LTCLevelOfChangeCode">
		<xsd:annotation>
			<xsd:documentation>Used in Prescription Change Request transactions, to request a change to the original new prescription.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:MessageFunctionCode">
			<xsd:enumeration value="C1">
				<xsd:annotation>
					<xsd:documentation>Label change (Any changes to the Drug, form, strength, dosage, or route) – Change to an active order to the drug, form, strength, dosage, or route (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C2">
				<xsd:annotation>
					<xsd:documentation>Frequency Change (Any change to the frequency or hours of administration for the drug) - Change to the frequency or hours of administration for the medication (long term care settings).
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C3">
				<xsd:annotation>
					<xsd:documentation>Other Change (All other changes) – A change to the medication not covered by other values listed (long term care settings).
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  MIMETypeCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="MIMETypeCode">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="application/hl7-sda+xml">
				<xsd:annotation>
					<xsd:documentation>HL7v3 SDA (xml) – SDA is a superset to CDA</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="application/x-ccr">
				<xsd:annotation>
					<xsd:documentation>(not yet registered with IANA)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="application/pdf">
				<xsd:annotation>
					<xsd:documentation>PDF</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="image/jpeg">
				<xsd:annotation>
					<xsd:documentation>JPEG</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="image/tiff">
				<xsd:annotation>
					<xsd:documentation>TIFF</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="image/png">
				<xsd:annotation>
					<xsd:documentation>PNG</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  MeasurementDataQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="MeasurementDataQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Identifies code set of clinical physical findings.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>X-12 Data Element Measurement Dimension, coded (DE 738)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>SNOMED Systematized Nomenclature of Medicine--Clinical Terms (SNOMED) is available at http://www.ihtsdo.org/snomed-ct/</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3">
				<xsd:annotation>
					<xsd:documentation>LOINC Logical Observation Identifiers Names and Codes (LOINC®) is available at http://www.LOINC.org</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  MeasurementDimensionCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="MeasurementDimensionCode">
		<xsd:annotation>
			<xsd:documentation>Qualifies the Measurement value.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="HT">
				<xsd:annotation>
					<xsd:documentation>Height</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="WG">
				<xsd:annotation>
					<xsd:documentation>Weight</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ZZS">
				<xsd:annotation>
					<xsd:documentation>Blood Pressure - Systolic</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ZZD">
				<xsd:annotation>
					<xsd:documentation>Blood Pressure - Diastolic</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  MessageFunctionCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="MessageFunctionCode">
		<xsd:annotation>
			<xsd:documentation>Used in Prescription Change Request transactions, to request a change to the original new prescription.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="A">
				<xsd:annotation>
					<xsd:documentation>Admit -The patient is a new admission; demographic information included to populate basic patient information (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Admit Cancel - A previously communicated admission or outpatient registration is canceled, either because of an erroneous entry or because of a revised decision to not admit the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C">
				<xsd:annotation>
					<xsd:documentation>Change - The status of a patient has changed (long term care settings). Update Patient Information</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CS">
				<xsd:annotation>
					<xsd:documentation>Cancel Suspension - Cancels the previously-communicated medication suspension—indicating that the suspend event did not actually occur as communicated.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CT">
				<xsd:annotation>
					<xsd:documentation>Transfer a Patient - A patient moves from one location to another within the care setting. For example, a patient is transferred to another ward, room or bed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C1">
				<xsd:annotation>
					<xsd:documentation>Label change (Any changes to the Drug, form, strength, dosage, or route) - Change to an active order to the drug, form, strength, dosage, or route (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C2">
				<xsd:annotation>
					<xsd:documentation>Frequency Change (Any change to the frequency or hours of administration for the drug) - Change to the frequency or hours of administration for the medication (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C3">
				<xsd:annotation>
					<xsd:documentation>Other Change (All other changes) - A change to the medication not covered by other values listed (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DC">
				<xsd:annotation>
					<xsd:documentation>Discharge Cancel - A previously communicated discharge is canceled, either because of erroneous entry or because of a revised decision to not discharge, or end the visit of, the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D1">
				<xsd:annotation>
					<xsd:documentation>Discharge - Expired - The patient has been discharged due to death (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D2">
				<xsd:annotation>
					<xsd:documentation>Discharge - Return Not Anticipated - The patient has been discharged and not expected to return to site (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D3">
				<xsd:annotation>
					<xsd:documentation>Discharge - Return Anticipated - The patient has been discharged and is expected to return to site (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D4">
				<xsd:annotation>
					<xsd:documentation>Discharge Other - The patient has been discharged for an unknown reason (long term care settings).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FS">
				<xsd:annotation>
					<xsd:documentation>Fixed-Length Suspension - Administration of the specified medication has been temporarily suspended, for a pre-determined period of time.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="G">
				<xsd:annotation>
					<xsd:documentation>Generic Substitution - A modification of the product prescribed to a generic equivalent.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IO">
				<xsd:annotation>
					<xsd:documentation>Change inpatient to outpatient - An inpatient becomes an outpatient and is still receiving care/services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IS">
				<xsd:annotation>
					<xsd:documentation>Indefinite Suspension - Administration of the specified medication has been suspended for an undetermined time period.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LC">
				<xsd:annotation>
					<xsd:documentation>Leave of Absence Cancel - A previously communicated hospital leave of absence or therapeutic leave of absence is canceled, either because of an erroneous entry or because of a revised decision.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LG">
				<xsd:annotation>
					<xsd:documentation>Hospital Leave of Absence - An inpatient leaves the care setting for an overnight absence to a hospital.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LR">
				<xsd:annotation>
					<xsd:documentation>Return from Leave of Absence - An inpatient returns to the care setting from a hospital leave of absence or therapeutic leave of absence.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LT">
				<xsd:annotation>
					<xsd:documentation>Therapeutic Leave of Absence - An inpatient leaves the care setting for an overnight absence to visit friends or relatives or to participate in a therapeutic or rehabilitative plan of care.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="OI">
				<xsd:annotation>
					<xsd:documentation>Change outpatient to inpatient - An outpatient or ER patient is being admitted as an inpatient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="P">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization Required - A request to obtain prior authorization before dispensing.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PA">
				<xsd:annotation>
					<xsd:documentation>Pre-Admit - A prospective patient has been recorded prior to arrival at the care setting for an inpatient stay.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PC">
				<xsd:annotation>
					<xsd:documentation>PreAdmit Cancel - A previously communicated pre-admission is canceled, either because of an erroneous entry or because of a revised decision to not pre-admit the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RA">
				<xsd:annotation>
					<xsd:documentation>Resume Administration - Administration of the specified medication has been resumed or the resume date/time resumption has been set or changed.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RC">
				<xsd:annotation>
					<xsd:documentation>Return from Leave Cancel - A previously communicated patient return from a leave of absence (hospital or therapeutic) is canceled, either because of an erroneous entry or because of a revised decision.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RO">
				<xsd:annotation>
					<xsd:documentation>Register outpatient - A patient has arrived or checked in as an outpatient, recurring outpatient, or emergency room patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="T">
				<xsd:annotation>
					<xsd:documentation>Therapeutic Interchange/Substitution - A modification of the product prescribed to a preferred product choice</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TC">
				<xsd:annotation>
					<xsd:documentation>Transfer Cancel - A previously communicated transfer is canceled, either because of an erroneous entry or because of a revised decision to not transfer the patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="S">
				<xsd:annotation>
					<xsd:documentation>Script Clarification</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D">
				<xsd:annotation>
					<xsd:documentation>Drug Use Evaluation</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  NoKnownType  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="NoKnownType">
		<xsd:annotation>
			<xsd:documentation>Used in the Clinical Info Response to indicate a patient has No Known information.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Allergies">
				<xsd:annotation>
					<xsd:documentation>The healthcare provider has knowledge that the patient has No Known Allergies.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Conditions">
				<xsd:annotation>
					<xsd:documentation>The healthcare provider has knowledge that the patient has No Known Conditions.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Medical History">
				<xsd:annotation>
					<xsd:documentation>The healthcare provider has knowledge that the patient has No Known Medical History.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  OrderCaptureMethodCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="OrderCaptureMethodCode">
		<xsd:annotation>
			<xsd:documentation>Code conveying the method by which the order was defined by the prescriber and captured in the prescribing system.	
</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="EP">
				<xsd:annotation>
					<xsd:documentation>Entered by prescriber - The prescribing practitioner entered the order directly into the electronic prescribing system. Includes entry from a remote location (e.g., via a web interface).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="VT">
				<xsd:annotation>
					<xsd:documentation>Verbal Telephone Order - The order was received by telephone from the prescriber and entered into the prescribing system by the receiving party.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="VI">
				<xsd:annotation>
					<xsd:documentation>Verbal In-Person Order - The order was received verbally from the prescriber and entered into the prescribing system by the receiving party. Order was received in-person. (Note: this value is also used for orders received by telephone if the prescribing system is unable to track telephone orders separately from other verbal orders entered by the receiving party).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="WR">
				<xsd:annotation>
					<xsd:documentation>Written Order - The order was written by the prescriber and entered by another party into the electronic prescribing system. Includes faxed orders.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TV">
				<xsd:annotation>
					<xsd:documentation>Transcribed Verbal Order - The order was given verbally or by telephone to one party, but was entered into the electronic prescribing system by another party.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="OM">
				<xsd:annotation>
					<xsd:documentation>Other Method - The order was captured by another method different from those implied or specified.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PACancelReasonCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PACancelReasonCode">
		<xsd:annotation>
			<xsd:documentation>Code indicating the reason for the prior authorization cancellation.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="BW">
				<xsd:annotation>
					<xsd:documentation>Change to a different medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Prescriber no longer responsible for patient's care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PAClosedReasonCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PAClosedReasonCode">
		<xsd:annotation>
			<xsd:documentation>Code indicating the reason for the prior authorization closure.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="CC">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization not required for patient/medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CD">
				<xsd:annotation>
					<xsd:documentation>Cannot find matching patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CE">
				<xsd:annotation>
					<xsd:documentation>Patient not eligible (does not have coverage with the payer) </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CF">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization duplicate/approved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CG">
				<xsd:annotation>
					<xsd:documentation> Prior Authorization duplicate/in process</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CH">
				<xsd:annotation>
					<xsd:documentation>Closed by health plan/payer/processor/PBM</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CJ">
				<xsd:annotation>
					<xsd:documentation>Closed by Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CK">
				<xsd:annotation>
					<xsd:documentation>Closed by Member</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BX">
				<xsd:annotation>
					<xsd:documentation>Electronic Prior Authorization not supported. Submit via other methods.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CL">
				<xsd:annotation>
					<xsd:documentation>Attachment type (mimetype) not supported.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CM">
				<xsd:annotation>
					<xsd:documentation>Prescriber not allowed to submit PA request.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CN">
				<xsd:annotation>
					<xsd:documentation>Response content is inconsistent with the question.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CO">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CP">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient and medication combination.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PAClosedReasonCodeRestricted  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PAClosedReasonCodeRestricted">
		<xsd:annotation>
			<xsd:documentation>Code indicating the reason for the prior authorization closure.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:PAClosedReasonCode">
			<xsd:enumeration value="CC">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization not required for patient/medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CD">
				<xsd:annotation>
					<xsd:documentation>Cannot find matching patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CE">
				<xsd:annotation>
					<xsd:documentation>Patient not eligible (does not have coverage with the payer) </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CF">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization duplicate/approved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CG">
				<xsd:annotation>
					<xsd:documentation> Prior Authorization duplicate/in process</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BX">
				<xsd:annotation>
					<xsd:documentation>Electronic Prior Authorization not supported. Submit via other methods.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CO">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CP">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient and medication combination.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PACodedReferenceCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PACodedReferenceCode">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>NCICode - NCI Values - NCPDP Drug StrengthForm Terminology - available at http://www.cancer.gov/cancertopics/terminologyresources/page7 For NCPDP Specific Terminology.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>NCICode - NCI Values - NCPDP Drug StrengthUnitOfMeasure Terminology - available at http://www.cancer.gov/cancertopics/terminologyresources/page7 For NCPDP Specific Terminology.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ABF">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-1Ø-Clinical Modifications (ICD-1Ø-CM) - Code indicating that the following information is a diagnosis as defined by ICD-1Ø-CM. As of January 1, 1999, the ICD-1Ø is used to code and classify mortality data from death certificates. The International Classification of Diseases, 1Øth Revision, Clinical Modification (ICD-9-CM) is a statistical classification system that arranges diseases and injuries into groups according to established criteria. The codes are 3 to 7 digits with the first digit alpha, the second and third numeric and the remainder A/N. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>NCICode - NCI values – NCPDP Drug QuantityUnitOfMeasure Terminology - available at http://www.cancer.gov/cancertopics/terminologyresources/page7  For NCPDP Specific Terminology.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BPK">
				<xsd:annotation>
					<xsd:documentation>RxNorm Branded Package (BPCK)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CPT4">
				<xsd:annotation>
					<xsd:documentation>Common Procedure Terminology (CPT4) - Code indicating that the following data is a CPT® code. Current Procedural Terminology (CPT®) Fourth Edition is a listing of descriptive terms and identifying codes for reporting medical services and procedures. The code set is managed by the CPT Editorial panel and is maintained and published by the American Medical Association. Also known as Healthcare Common Procedure System (HCPCS) Level I.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CPT5">
				<xsd:annotation>
					<xsd:documentation>Common Procedure Terminology (CPT5) - Enhancements to CPT® 4 in development with emphasis on maintaining what works while correcting problems and extending the applicability of CPT into new areas.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CVX ">
				<xsd:annotation>
					<xsd:documentation>Coding system for vaccines – http://www2a.cdc.gov/vaccines/IIS/IISStandards/vaccines.asp?rpt=cvx.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DX">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-9- Clinical Modifications-Diagnosis (ICD-9-CM-Diagnosis) Code indicating the diagnosis is defined according to the International Classification of Diseases, 9th Revision, Clinical Modification (ICD-9-CM) is a statistical classification system that arranges diseases and injuries into groups according to established criteria. Most codes are numeric and consist of 3, 4, or 5 numbers and a description. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GPK">
				<xsd:annotation>
					<xsd:documentation>RxNorm Generic Package (GPCK)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HCPCS">
				<xsd:annotation>
					<xsd:documentation>HCPCS - Health Care Financing Administration Common Procedural Coding System (HCPCS).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HL7OID">
				<xsd:annotation>
					<xsd:documentation>HL7 Object Identifier – see www.hl7.org</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HL7TEMPLATEID">
				<xsd:annotation>
					<xsd:documentation>HL7 Template Identifier – see www.hl7.org</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LD">
				<xsd:annotation>
					<xsd:documentation>SNOMED - Systematized Nomenclature of Medicine Clinical Terms® (SNOMED CT) SNOMED CT® terminology which is available from the Health Terminology Standards Development Organisation (IHTSDO) http://www.ihtsdo.org/snomed-ct/ </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LOINC">
				<xsd:annotation>
					<xsd:documentation>A standard question code defined in the Logical Observation Identifier Names and Codes database. See http://www.LOINC.org</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NDC">
				<xsd:annotation>
					<xsd:documentation>National Drug Code is a unique 1Ø-digit, 3-segment number, assigned to each drug product by the FDA. For consistency in billing and reimbursement in the pharmacy services sector of healthcare, the NDC in a unique 11 digit formatted number, a zero is added. This number identifies the labeler/manufacturer, product, and package size of the drug. The first segment is the labeler code and assigned by the FDA. The second segment, the product code, identifies a specific strength, dosage form, and formulation. The third segment, the package code, identifies package sizes. Both the product and package codes are assigned by the labeler/manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RT">
				<xsd:annotation>
					<xsd:documentation>NDF-RT – National Drug File Reference Terminology  - Maintained by VA, distributed by NCI -  for classes of medications</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SBD">
				<xsd:annotation>
					<xsd:documentation>RxNorm Semantic Branded Drug (SBD)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SCD">
				<xsd:annotation>
					<xsd:documentation>RxNorm Semantic Clinical Drug (SCD)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UCUM">
				<xsd:annotation>
					<xsd:documentation>The Unified Code for Units of Measure is a code system intended to include all units of measures being contemporarily used in international science, engineering, and business. The purpose is to facilitate unambiguous electronic communication of quantities together with their units. http://unitsofmeasure.org/trac/</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UNII">
				<xsd:annotation>
					<xsd:documentation>The UNII is a part of the joint USP/FDA Substance Registration System (SRS), which has been designed to support health information technology initiatives by providing unique identifiers for substances in drugs, biologics, foods, and devices based on molecular structure and/or descriptive information. The SRS is used to generate permanent, unique, unambiguous identifiers for substances in regulated products, such as ingredients in drug products.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ZZ">
				<xsd:annotation>
					<xsd:documentation>Mutually defined.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PADeniedForCancelReasonCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PADeniedForCancelReasonCode">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="BZ">
				<xsd:annotation>
					<xsd:documentation>Can’t find PACase ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CA">
				<xsd:annotation>
					<xsd:documentation>Unable to locate based on insufficient information/identifiers do not match</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CB">
				<xsd:annotation>
					<xsd:documentation>Request already processed/final determination has been made</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PAOtherReasonCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PAOtherReasonCode">
		<xsd:annotation>
			<xsd:documentation>Code indicating the reason for prior authorization open.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="DEFERRED">
				<xsd:annotation>
					<xsd:documentation>The prior authorization is deferred.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PatientRelationshipCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PatientRelationshipCode">
		<xsd:annotation>
			<xsd:documentation>Code indicating relationship of patient to cardholder.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="0">
				<xsd:annotation>
					<xsd:documentation>Not Specified</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Cardholder - The individual that is enrolled in and receives benefits from a health plan</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>Spouse - Patient is the husband/wife/partner of the cardholder</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3">
				<xsd:annotation>
					<xsd:documentation>Child - Patient is a child of the cardholder</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4">
				<xsd:annotation>
					<xsd:documentation>Other - Relationship to cardholder is not precise</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PayerResponsibilityCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PayerResponsibilityCode">
		<xsd:annotation>
			<xsd:documentation>Indicates the insurance type.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="P">
				<xsd:annotation>
					<xsd:documentation>Primary</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="S">
				<xsd:annotation>
					<xsd:documentation>Secondary</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="T">
				<xsd:annotation>
					<xsd:documentation>Tertiary</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="U">
				<xsd:annotation>
					<xsd:documentation>Unknown</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PP">
				<xsd:annotation>
					<xsd:documentation>Private Pay</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PharmacyType  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PharmacyType">
		<xsd:annotation>
			<xsd:documentation>Type of Pharmacy.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="R">
				<xsd:annotation>
					<xsd:documentation>Retail - A dully-licensed entity that delivers pharmaceutical goods or services for sale to or use by the final consumer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="M">
				<xsd:annotation>
					<xsd:documentation>Mail Order -A distribution center that provides medications directly to patients via US Mail or other delivery services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="S">
				<xsd:annotation>
					<xsd:documentation>Specialty - A pharmacy which typically dispenses exclusively those medications which require special handling due to their storage or handling requirements.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="L">
				<xsd:annotation>
					<xsd:documentation>Long-Term Care-LTC is a community network of health and supportive services that help individuals and their caregivers manage health needs, personal needs and activities of daily living in a variety of settings on a long-term basis.  The various components in the LTC spectrum include nursing homes, skilled nursing facilities, housing with supportive services, assisted living, continuing care retirement communities, adult day care, intermediate care facilities for the mentally retarded and developmentally disabled, home health care, hospice care and respite care.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="A">
				<xsd:annotation>
					<xsd:documentation>Any - Code indicating a pharmacy without restriction or exception</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PharmacyType1  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PharmacyType1">
		<xsd:annotation>
			<xsd:documentation>Type of Pharmacy.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Retail">
				<xsd:annotation>
					<xsd:documentation>Retail - A dully-licensed entity that delivers pharmaceutical goods or services for sale to or use by the final consumer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Mail">
				<xsd:annotation>
					<xsd:documentation>Mail Order -A distribution center that provides medications directly to patients via US Mail or other delivery services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="90DayAtRetail">
				<xsd:annotation>
					<xsd:documentation>Retail 90 days</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Specialty">
				<xsd:annotation>
					<xsd:documentation>Specialty</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PrescriptionDeliveryMethod  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PrescriptionDeliveryMethod">
		<xsd:annotation>
			<xsd:documentation>The method through which the original electronically created transaction was delivered to its intended recipient..</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Electronic Delivery - Prescription is delivered to its intended recipient via EDI/electronic communication methods (e.g. computer to computer - not via any faxing mechanism).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>Facsimile Delivery - Prescription is delivered to its intended recipient via a FAX communication (e.g. used as a back up method to an original electronic delivery attempt).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PrimaryDiagnosisCodeQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PrimaryDiagnosisCodeQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Code qualifying the Diagnosis Code</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="ABF">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-10- Clinical Modifications (ICD-10-CM) Code indicating that the following information is a diagnosis as defined by ICD-10-CM. As of January 1, 1999, the ICD-10 is used to code and classify mortality data from death certificates. The International Classification of Diseases, 10th Revision, Clinical Modification (ICD-9-CM)is a statistical classification system that arranges diseases and injuries into groups according to established criteria. The codes are 3 to 7 digits with the first digit alpha, the second and third numeric and the remainder A/N. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services.  </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DX">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-9- Clinical Modifications-Diagnosis (ICD-9-CM-Diagnosis) Code indicating the diagnosis is defined according to the International Classification of Diseases, 9th Revision, Clinical Modification (ICD-9-CM) is a statistical classification system that arranges diseases and injuries into groups according to established criteria. Most codes are numeric and consist of 3, 4, or 5 numbers and a description. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LD">
				<xsd:annotation>
					<xsd:documentation>SNOMED - Systematized Nomenclature of Medicine Clinical Terms® (SNOMED CT). SNOMED CT® terminology which is available from the Health Terminology Standards Development Organisation (IHTSDO) http://www.ihtsdo.org/snomed-ct/</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PriorAuthorizationStatusCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PriorAuthorizationStatusCode">
		<xsd:annotation>
			<xsd:documentation>The status of the prescription’s prior authorization as known by the sender.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="A">
				<xsd:annotation>
					<xsd:documentation>Approved - The medication was approved by the payer</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D">
				<xsd:annotation>
					<xsd:documentation>Denied - The medication was not approved by the payer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="F">
				<xsd:annotation>
					<xsd:documentation>Deferred - The medication request being reviewed by the payer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="N">
				<xsd:annotation>
					<xsd:documentation>Not Required - A prior authorization is not required for this medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="R">
				<xsd:annotation>
					<xsd:documentation>Requested - The action of obtaining a prior authorization approval is being sought.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  PriorAuthorizationTypeCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="PriorAuthorizationTypeCode">
		<xsd:annotation>
			<xsd:documentation>Code clarifying the Prior Authorization Number Submitted or benefit/plan exemption.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="94">
				<xsd:annotation>
					<xsd:documentation>Pharmacy or Prescriber File ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="0B">
				<xsd:annotation>
					<xsd:documentation>State License Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1C">
				<xsd:annotation>
					<xsd:documentation>Medicare Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1D">
				<xsd:annotation>
					<xsd:documentation>Medicaid Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1E">
				<xsd:annotation>
					<xsd:documentation>Dentist License Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1G">
				<xsd:annotation>
					<xsd:documentation>UPIN</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1J">
				<xsd:annotation>
					<xsd:documentation>Facility ID Number = ID number assigned by the LTC Facility to the patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1M">
				<xsd:annotation>
					<xsd:documentation>PPO Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2U">
				<xsd:annotation>
					<xsd:documentation>Payer Identification Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ADI">
				<xsd:annotation>
					<xsd:documentation>Processor Identification Number – Processor Control Number assigned by the processor.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BO">
				<xsd:annotation>
					<xsd:documentation>BIN Location Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C1">
				<xsd:annotation>
					<xsd:documentation>Commercial</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="EA">
				<xsd:annotation>
					<xsd:documentation>Medical Record Identification Number (EHR) = A unique number assigned to each patient by the provider of service (hospital) to assist in retrieval of medical records</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="EJ">
				<xsd:annotation>
					<xsd:documentation>Patient Account Number (ID assigned by the CPOE system) = A unique number assigned to each patient by the provider of service to facilitate retrieval of individual case records tracking of claims submitted to a payer and posting of payment</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D3">
				<xsd:annotation>
					<xsd:documentation>NCPDP Provider ID Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DH">
				<xsd:annotation>
					<xsd:documentation>DEA Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="G1">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GI">
				<xsd:annotation>
					<xsd:documentation>Secondary Provider Number- To contain the Certificate to Prescribe (CTP) number. The CTP is an additional number to the state license number that a board of pharmacy assigns to prescribing individuals after completion of specific requirements</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HI">
				<xsd:annotation>
					<xsd:documentation>HIN</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HPI">
				<xsd:annotation>
					<xsd:documentation>National Provider ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IP">
				<xsd:annotation>
					<xsd:documentation>Individual Policy Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NC">
				<xsd:annotation>
					<xsd:documentation>Secondary Coverage Company Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NF">
				<xsd:annotation>
					<xsd:documentation>National Association of Insurance Commissioner’s Code </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PD">
				<xsd:annotation>
					<xsd:documentation>Promotion Number (Sample RX)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SY">
				<xsd:annotation>
					<xsd:documentation>Social Security Number</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="WI">
				<xsd:annotation>
					<xsd:documentation>Waiver - DATA 2000 Waiver ID. Used for prescriptions for opioid addiction treatment medications.  </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ZZ">
				<xsd:annotation>
					<xsd:documentation>Mutually defined			
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ProblemNameQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ProblemNameQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Terminologies contains the current collection of identified Terminologies or Vocabularies used to qualify coded values with the NCPDP standard</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="ABF">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-1Ø- Clinical Modifications (ICD-1Ø-CM) Code indicating that the following information is a diagnosis as defined by ICD-1Ø-CM. As of January 1, 1999, the ICD-1Ø is used to code and classify mortality data from death certificates. The International Classification of Diseases, 1Øth Revision, Clinical Modification
(ICD-9-CM)is a statistical classification system that arranges diseases and injuries into groups according to established criteria. The codes are 3 to 7 digits with the first digit alpha, the second and third numeric and the remainder A/N. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DX">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-9- Clinical Modifications-Diagnosis (ICD-9-CM-Diagnosis) Code indicating the diagnosis is defined according to the International Classification of Diseases, 9th Revision, Clinical Modification
(ICD-9-CM) is a statistical classification system that arranges diseases and injuries into groups according to established criteria. Most codes are numeric and consist of 3, 4, or 5 numbers and a description. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LD">
				<xsd:annotation>
					<xsd:documentation>SNOMED - Systematized Nomenclature of Medicine Clinical Terms® (SNOMED CT). SNOMED CT® terminology which is available from the Health Terminology Standards Development Organisation (IHTSDO) http://www.ihtsdo.org/snomed-ct/</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ProductQualifiersCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ProductQualifiersCode">
		<xsd:annotation>
			<xsd:documentation>Terminologies contains the current collection of identified Terminologies or Vocabularies used to qualify coded values with the NCPDP standard</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="ND">
				<xsd:annotation>
					<xsd:documentation>NDC</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MF">
				<xsd:annotation>
					<xsd:documentation>MFG</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RT">
				<xsd:annotation>
					<xsd:documentation>NDF-RT - National Drug File Reference Terminology  - Maintained by VA, distributed by NCI -  for classes of medications</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UN">
				<xsd:annotation>
					<xsd:documentation>UNII - Unique Ingredient Identifier - Maintained by FDA and EPA, distributed by FDA Substance Registration System (SRS)			</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UP">
				<xsd:annotation>
					<xsd:documentation>UPC</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NH">
				<xsd:annotation>
					<xsd:documentation>HRI – Health Related Item - Health Related Item is a unique 10 digit numeric code assigned to health related drug products by the FDA and the manufacturer or distributor. The format of an HRI is 4-6 and it is converted to the 11 digit number used on billing transactions by adding a zero to the 11th position.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ProductQualifiersCodeExtended  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ProductQualifiersCodeExtended">
		<xsd:annotation>
			<xsd:documentation>Terminologies contains the current collection of identified Terminologies or Vocabularies used to qualify coded values with the NCPDP standard including RX Norm</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="ND">
				<xsd:annotation>
					<xsd:documentation>NDC</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MF">
				<xsd:annotation>
					<xsd:documentation>MFG</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RT">
				<xsd:annotation>
					<xsd:documentation>NDF-RT - National Drug File Reference Terminology  - Maintained by VA, distributed by NCI -  for classes of medications</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UN">
				<xsd:annotation>
					<xsd:documentation>UNII - Unique Ingredient Identifier - Maintained by FDA and EPA, distributed by FDA Substance Registration System (SRS)			</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UP">
				<xsd:annotation>
					<xsd:documentation>UPC</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GPK">
				<xsd:annotation>
					<xsd:documentation>RxNorm Generic Package (GPCK) – A code maintained and distributed by the National Library of Medicine (NLM) representing the generic drug delivery device.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BPK">
				<xsd:annotation>
					<xsd:documentation>RxNorm Branded Package (BPCK) – A code maintained and distributed by the National Library of Medicine (NLM) representing the branded drug delivery device.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SBD">
				<xsd:annotation>
					<xsd:documentation>RxNorm Semantic Branded Drug (SBD) – A Code maintained and distributed by the National Library of Medicine (NLM) representing the ingredient, form and dose strength plus the branded name. </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SCD">
				<xsd:annotation>
					<xsd:documentation>RxNorm Semantic Clinical Drug (SCD) – A code maintained and distributed by National Library of Medicine (NLM) representing the ingredient plus form and dose strength.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NH">
				<xsd:annotation>
					<xsd:documentation>HRI – Health Related Item - Health Related Item is a unique 10 digit numeric code assigned to health related drug products by the FDA and the manufacturer or distributor. The format of an HRI is 4-6 and it is converted to the 11 digit number used on billing transactions by adding a zero to the 11th position.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  QuantityCodeListQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="QuantityCodeListQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Quantity qualifier. X12 DE 673</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="38">
				<xsd:annotation>
					<xsd:documentation>Original Quantity</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="40">
				<xsd:annotation>
					<xsd:documentation>Remaining Quantity</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="87">
				<xsd:annotation>
					<xsd:documentation>Quantity Received</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="QS">
				<xsd:annotation>
					<xsd:documentation>Quantity sufficient as determined by the dispensing pharmacy. Quantity to be based on established dispensing protocols between the prescriber and pharmacy/pharmacist.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CF">
				<xsd:annotation>
					<xsd:documentation>Compound Final Quantity</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UQ">
				<xsd:annotation>
					<xsd:documentation>Central Fill Unit of Use Quantity</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="QT">
				<xsd:annotation>
					<xsd:documentation>Quantity Transferred</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AD">
				<xsd:annotation>
					<xsd:documentation>Patient has requested refill too soon</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AE">
				<xsd:annotation>
					<xsd:documentation>Medication never prescribed for the patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AF">
				<xsd:annotation>
					<xsd:documentation>Patient should contact Provider first</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AG">
				<xsd:annotation>
					<xsd:documentation>Refill not appropriate</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AL">
				<xsd:annotation>
					<xsd:documentation>Change not appropriate</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AM">
				<xsd:annotation>
					<xsd:documentation>Patient needs appointment</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AN">
				<xsd:annotation>
					<xsd:documentation>Prescriber not associated with this practice or location.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AO">
				<xsd:annotation>
					<xsd:documentation>No attempt will be made to obtain Prior Authorization</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Request already responded to by other means (e.g. phone or fax)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AQ">
				<xsd:annotation>
					<xsd:documentation>More Medication History Available</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AR">
				<xsd:annotation>
					<xsd:documentation>Unable to cancel prescription; prescription was transferred to another pharmacy.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AS">
				<xsd:annotation>
					<xsd:documentation>Qualified provider unavailable to provide this service.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AT">
				<xsd:annotation>
					<xsd:documentation>Not accepting new patients.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AU">
				<xsd:annotation>
					<xsd:documentation>Unable to accommodate service based parameters.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AV">
				<xsd:annotation>
					<xsd:documentation>These parameters do not meet the patient's needs.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AW">
				<xsd:annotation>
					<xsd:documentation>Based on assessment, patient needs are outside of contractual agreement</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AX">
				<xsd:annotation>
					<xsd:documentation>Patient condition no longer applicable</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AY">
				<xsd:annotation>
					<xsd:documentation>Patient not available for service</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AZ">
				<xsd:annotation>
					<xsd:documentation>Patient declined service</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BA">
				<xsd:annotation>
					<xsd:documentation>Qualified provider unavailable to provide this service.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BB">
				<xsd:annotation>
					<xsd:documentation>No Information Available</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BC">
				<xsd:annotation>
					<xsd:documentation>Not Authorized to Release</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BD">
				<xsd:annotation>
					<xsd:documentation>Unable to send Response in Format Requested.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BE">
				<xsd:annotation>
					<xsd:documentation>Medication denied at patient request</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BF">
				<xsd:annotation>
					<xsd:documentation>Conscientious objection.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BG">
				<xsd:annotation>
					<xsd:documentation>Not the patient-desired pharmacy.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BH">
				<xsd:annotation>
					<xsd:documentation>Not In Central Fill inventory List.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BJ">
				<xsd:annotation>
					<xsd:documentation>Out of Stock – The Central Fill Facility currently does not have sufficient quantity of the requested medication to fulfill the order.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BK">
				<xsd:annotation>
					<xsd:documentation>Quantity to Dispense Incorrect for NDC Sent – NDC requested is for an item that must be distributed in the manufacturer’s packaging and the requested quantity is not an even multiple of the manufacturer’s packaging.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BL">
				<xsd:annotation>
					<xsd:documentation>Rx Received After Established Deadline – The order was not received in time for the requested shipment date.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BM">
				<xsd:annotation>
					<xsd:documentation>Duplicate Order – More than one message for an order was received.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BN">
				<xsd:annotation>
					<xsd:documentation>Fill Locally not filled by Central Fill Facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BO">
				<xsd:annotation>
					<xsd:documentation>NDC Discontinued from Formulary – Do not resend.  The NDC number requested in on the discontinued inventory list and there is not sufficient quantity of the medication requested to fulfill the order.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BP">
				<xsd:annotation>
					<xsd:documentation>Out of Stock/Manufacturer Back Order – NDC requested is currently on back order from the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BQ">
				<xsd:annotation>
					<xsd:documentation>Discontinued by Manufacturer – NDC requested has been discontinued by the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BR">
				<xsd:annotation>
					<xsd:documentation>Rx Canceled by Central Fill Facility: Automation – Due to automation issues at the Central Fill Facility the Rx must be filled locally.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BS">
				<xsd:annotation>
					<xsd:documentation>Rx Canceled by Central Fill Facility: Site Closure – Due to site closure issues at Central Fill Facility the Rx must be filled locally.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BT">
				<xsd:annotation>
					<xsd:documentation>Drug Recalled by Manufacturer – NDC requested has been recalled by the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BU">
				<xsd:annotation>
					<xsd:documentation>Eligible for Fulfillment from Central Fill Facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BV">
				<xsd:annotation>
					<xsd:documentation>Pharmacy not enrolled/aligned with Central Fill Facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BW">
				<xsd:annotation>
					<xsd:documentation>Change to a different medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BX">
				<xsd:annotation>
					<xsd:documentation>Electronic Prior Authorization not supported. Submit via other methods.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BZ">
				<xsd:annotation>
					<xsd:documentation>Can’t find PACase ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CA">
				<xsd:annotation>
					<xsd:documentation>Unable to locate based on insufficient information/identifiers do not match</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CC">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization not required for patient/medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CB">
				<xsd:annotation>
					<xsd:documentation>Request already processed/final determination has been made</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CD">
				<xsd:annotation>
					<xsd:documentation>Cannot find matching patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CE">
				<xsd:annotation>
					<xsd:documentation>Patient not eligible (does not have coverage with the payer) </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CF">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization duplicate/approved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CG">
				<xsd:annotation>
					<xsd:documentation> Prior Authorization duplicate/in process</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CH">
				<xsd:annotation>
					<xsd:documentation>Closed by health plan/payer/processor/PBM</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CJ">
				<xsd:annotation>
					<xsd:documentation>Closed by Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CK">
				<xsd:annotation>
					<xsd:documentation>Closed by Member</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CL">
				<xsd:annotation>
					<xsd:documentation>Attachment type (mimetype) not supported.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CM">
				<xsd:annotation>
					<xsd:documentation>Prescriber not allowed to submit PA request.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CN">
				<xsd:annotation>
					<xsd:documentation>Response content is inconsistent with the question.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CO">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CP">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient and medication combination.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CQ">
				<xsd:annotation>
					<xsd:documentation>Transfer needs to be discussed. Please call with information provided.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CR">
				<xsd:annotation>
					<xsd:documentation>Prescription(s) cannot be electronically transferred; will be sent via manual transfer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CS">
				<xsd:annotation>
					<xsd:documentation>Prescription not found.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CT">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out because it was previously transferred.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CU">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out because it is voided/cancelled/deactivated.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CV">
				<xsd:annotation>
					<xsd:documentation>Stop date has been exceeded.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CW">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out because it has expired.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CX">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out by law/regulation.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Processed">
				<xsd:annotation>
					<xsd:documentation>Processed. Responder attempted to find Alternatives</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ProcessedAlternativesAvailable"/>
			<xsd:enumeration value="Denied"/>
			<xsd:enumeration value="PatientNotFound"/>
			<xsd:enumeration value="PatientNotEligible"/>
			<xsd:enumeration value="NotFound"/>
			<xsd:enumeration value="NotProcessed">
				<xsd:annotation>
					<xsd:documentation>Not Processed. Drug requested was not processed</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode1  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode1">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AD">
				<xsd:annotation>
					<xsd:documentation>Patient has requested refill too soon</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AE">
				<xsd:annotation>
					<xsd:documentation>Medication never prescribed for the patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AF">
				<xsd:annotation>
					<xsd:documentation>Patient should contact Provider first</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AG">
				<xsd:annotation>
					<xsd:documentation>Refill not appropriate</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AM">
				<xsd:annotation>
					<xsd:documentation>Patient needs appointment</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AN">
				<xsd:annotation>
					<xsd:documentation>Prescriber not associated with this practice or location.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Request already responded to by other means (e.g. phone or fax)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode10  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode10">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="BX">
				<xsd:annotation>
					<xsd:documentation>Electronic Prior Authorization not supported. Submit via other methods.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CC">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization not required for patient/medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CD">
				<xsd:annotation>
					<xsd:documentation>Cannot find matching patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CE">
				<xsd:annotation>
					<xsd:documentation>Patient not eligible (does not have coverage with the payer) </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CF">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization duplicate/approved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CG">
				<xsd:annotation>
					<xsd:documentation> Prior Authorization duplicate/in process</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CP">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient and medication combination.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode11  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode11">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="BX">
				<xsd:annotation>
					<xsd:documentation>Electronic Prior Authorization not supported. Submit via other methods.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CC">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization not required for patient/medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CD">
				<xsd:annotation>
					<xsd:documentation>Cannot find matching patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CE">
				<xsd:annotation>
					<xsd:documentation>Patient not eligible (does not have coverage with the payer) </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CF">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization duplicate/approved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CG">
				<xsd:annotation>
					<xsd:documentation> Prior Authorization duplicate/in process</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CP">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient and medication combination.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CH">
				<xsd:annotation>
					<xsd:documentation>Closed by health plan/payer/processor/PBM</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CJ">
				<xsd:annotation>
					<xsd:documentation>Closed by Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CK">
				<xsd:annotation>
					<xsd:documentation>Closed by Member</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CL">
				<xsd:annotation>
					<xsd:documentation>Attachment type (mimetype) not supported.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CM">
				<xsd:annotation>
					<xsd:documentation>Prescriber not allowed to submit PA request.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CN">
				<xsd:annotation>
					<xsd:documentation>Response content is inconsistent with the question.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CO">
				<xsd:annotation>
					<xsd:documentation>The receiver is not the PA processor for this patient.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode12  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode12">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BZ">
				<xsd:annotation>
					<xsd:documentation>Can’t find PACase ID</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CA">
				<xsd:annotation>
					<xsd:documentation>Unable to locate based on insufficient information/identifiers do not match</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CB">
				<xsd:annotation>
					<xsd:documentation>Request already processed/final determination has been made</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode13  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode13">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BW">
				<xsd:annotation>
					<xsd:documentation>Change to a different medication</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode14  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode14">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="BU">
				<xsd:annotation>
					<xsd:documentation>Eligible for Fulfillment from Central Fill Facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode15  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode15">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="BH">
				<xsd:annotation>
					<xsd:documentation>Not In Central Fill inventory List.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BJ">
				<xsd:annotation>
					<xsd:documentation>Out of Stock – The Central Fill Facility currently does not have sufficient quantity of the requested medication to fulfill the order.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BK">
				<xsd:annotation>
					<xsd:documentation>Quantity to Dispense Incorrect for NDC Sent – NDC requested is for an item that must be distributed in the manufacturer’s packaging and the requested quantity is not an even multiple of the manufacturer’s packaging.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BM">
				<xsd:annotation>
					<xsd:documentation>Duplicate Order – More than one message for an order was received.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BO">
				<xsd:annotation>
					<xsd:documentation>NDC Discontinued from Formulary – Do not resend.  The NDC number requested in on the discontinued inventory list and there is not sufficient quantity of the medication requested to fulfill the order.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BP">
				<xsd:annotation>
					<xsd:documentation>Out of Stock/Manufacturer Back Order – NDC requested is currently on back order from the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BQ">
				<xsd:annotation>
					<xsd:documentation>Discontinued by Manufacturer – NDC requested has been discontinued by the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BT">
				<xsd:annotation>
					<xsd:documentation>Drug Recalled by Manufacturer – NDC requested has been recalled by the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BV">
				<xsd:annotation>
					<xsd:documentation>Pharmacy not enrolled/aligned with Central Fill Facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode16  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode16">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="BJ">
				<xsd:annotation>
					<xsd:documentation>Out of Stock – The Central Fill Facility currently does not have sufficient quantity of the requested medication to fulfill the order.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BL">
				<xsd:annotation>
					<xsd:documentation>Rx Received After Established Deadline – The order was not received in time for the requested shipment date.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BM">
				<xsd:annotation>
					<xsd:documentation>Duplicate Order – More than one message for an order was received.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BN">
				<xsd:annotation>
					<xsd:documentation>Fill Locally not filled by Central Fill Facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BO">
				<xsd:annotation>
					<xsd:documentation>NDC Discontinued from Formulary – Do not resend.  The NDC number requested in on the discontinued inventory list and there is not sufficient quantity of the medication requested to fulfill the order.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BP">
				<xsd:annotation>
					<xsd:documentation>Out of Stock/Manufacturer Back Order – NDC requested is currently on back order from the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BQ">
				<xsd:annotation>
					<xsd:documentation>Discontinued by Manufacturer – NDC requested has been discontinued by the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BR">
				<xsd:annotation>
					<xsd:documentation>Rx Canceled by Central Fill Facility: Automation – Due to automation issues at the Central Fill Facility the Rx must be filled locally.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BS">
				<xsd:annotation>
					<xsd:documentation>Rx Canceled by Central Fill Facility: Site Closure – Due to site closure issues at Central Fill Facility the Rx must be filled locally.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BT">
				<xsd:annotation>
					<xsd:documentation>Drug Recalled by Manufacturer – NDC requested has been recalled by the manufacturer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BV">
				<xsd:annotation>
					<xsd:documentation>Pharmacy not enrolled/aligned with Central Fill Facility.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode17  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode17">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AF">
				<xsd:annotation>
					<xsd:documentation>Patient should contact Provider first</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Request already responded to by other means (e.g. phone or fax)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BC">
				<xsd:annotation>
					<xsd:documentation>Not Authorized to Release</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CA">
				<xsd:annotation>
					<xsd:documentation>Unable to locate based on insufficient information/identifiers do not match</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CD">
				<xsd:annotation>
					<xsd:documentation>Cannot find matching patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CQ">
				<xsd:annotation>
					<xsd:documentation>Transfer needs to be discussed. Please call with information provided.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CR">
				<xsd:annotation>
					<xsd:documentation>Prescription(s) cannot be electronically transferred; will be sent via manual transfer.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CS">
				<xsd:annotation>
					<xsd:documentation>Prescription not found.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CT">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out because it was previously transferred.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CU">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out because it is voided/cancelled/deactivated.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CV">
				<xsd:annotation>
					<xsd:documentation>Stop date has been exceeded.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CW">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out because it has expired.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CX">
				<xsd:annotation>
					<xsd:documentation>Prescription cannot be transferred out by law/regulation.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode2  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode2">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AE">
				<xsd:annotation>
					<xsd:documentation>Medication never prescribed for the patient</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AF">
				<xsd:annotation>
					<xsd:documentation>Patient should contact Provider first</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AL">
				<xsd:annotation>
					<xsd:documentation>Change not appropriate</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AM">
				<xsd:annotation>
					<xsd:documentation>Patient needs appointment</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AN">
				<xsd:annotation>
					<xsd:documentation>Prescriber not associated with this practice or location.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AO">
				<xsd:annotation>
					<xsd:documentation>No attempt will be made to obtain Prior Authorization</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Request already responded to by other means (e.g. phone or fax)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode20  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode20">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="Processed"/>
			<xsd:enumeration value="NotProcessed">
				<xsd:annotation>
					<xsd:documentation>Not Processed. Drug requested was not processed</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ProcessedAlternativesAvailable">
				<xsd:annotation>
					<xsd:documentation>Multiple alternatives are available at potentially lower cost</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode3  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode3">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Request already responded to by other means (e.g. phone or fax)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AR">
				<xsd:annotation>
					<xsd:documentation>Unable to cancel prescription; prescription was transferred to another pharmacy.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode4  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode4">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Request already responded to by other means (e.g. phone or fax)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AS">
				<xsd:annotation>
					<xsd:documentation>Qualified provider unavailable to provide this service.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AT">
				<xsd:annotation>
					<xsd:documentation>Not accepting new patients.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AU">
				<xsd:annotation>
					<xsd:documentation>Unable to accommodate service based parameters.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AV">
				<xsd:annotation>
					<xsd:documentation>These parameters do not meet the patient's needs.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AW">
				<xsd:annotation>
					<xsd:documentation>Based on assessment, patient needs are outside of contractual agreement</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AX">
				<xsd:annotation>
					<xsd:documentation>Patient condition no longer applicable</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AY">
				<xsd:annotation>
					<xsd:documentation>Patient not available for service</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AZ">
				<xsd:annotation>
					<xsd:documentation>Patient declined service</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BA">
				<xsd:annotation>
					<xsd:documentation>Qualified provider unavailable to provide this service.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BG">
				<xsd:annotation>
					<xsd:documentation>Not the patient-desired pharmacy.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BY">
				<xsd:annotation>
					<xsd:documentation>Other</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CL">
				<xsd:annotation>
					<xsd:documentation>Attachment type (mimetype) not supported.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode5  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode5">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AQ">
				<xsd:annotation>
					<xsd:documentation>More Medication History Available</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode6  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode6">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BB">
				<xsd:annotation>
					<xsd:documentation>No Information Available</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BC">
				<xsd:annotation>
					<xsd:documentation>Not Authorized to Release</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode7  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode7">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BF">
				<xsd:annotation>
					<xsd:documentation>Conscientious objection.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BG">
				<xsd:annotation>
					<xsd:documentation>Not the patient-desired pharmacy.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode8  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode8">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BB">
				<xsd:annotation>
					<xsd:documentation>No Information Available</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BC">
				<xsd:annotation>
					<xsd:documentation>Not Authorized to Release</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BD">
				<xsd:annotation>
					<xsd:documentation>Unable to send Response in Format Requested.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonCode9  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonCode9">
		<xsd:restriction base="ecl:ReasonCode">
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Patient unknown to the Provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Patient never under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AC">
				<xsd:annotation>
					<xsd:documentation>Patient no longer under  Provider care</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AF">
				<xsd:annotation>
					<xsd:documentation>Patient should contact Provider first</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AM">
				<xsd:annotation>
					<xsd:documentation>Patient needs appointment</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AN">
				<xsd:annotation>
					<xsd:documentation>Prescriber not associated with this practice or location.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Request already responded to by other means (e.g. phone or fax)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ReasonForSubstitutionCodeUsed  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ReasonForSubstitutionCodeUsed">
		<xsd:annotation>
			<xsd:documentation>Restricted text for submitter to define their clarification basis for Substitution code applied. This field is not allowed to be used with Substitution value 0 or a non-specified value.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="BRAND MEDICALLY NECESSARY">
				<xsd:annotation>
					<xsd:documentation>Restricted text for submitter to define their clarification basis for Substitution code applied. This field is not allowed to be used with Substitution value 0 or a non-specified value.  </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ResidenceCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ResidenceCode">
		<xsd:annotation>
			<xsd:documentation>Code identifying the patient’s place of residence.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Home= Location, other than a hospital or other facility, where the patient receives drugs or services in a private residence.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>Skilled Nursing Facility=A facility which primarily provides inpatient skilled nursing care and related services to patients who require medical, nursing, or rehabilitative service but does not provide the level of care or treatment available in a hospital.  For Medicare Part B use only.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3">
				<xsd:annotation>
					<xsd:documentation>Nursing Facility= A facility which primarily provides to residents skilled nursing care and related services for the rehabilitation of injured, disabled, or sick persons, or, on a regular basis,, health-related care services above the level of custodial care to other than mentally retarded individuals.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4">
				<xsd:annotation>
					<xsd:documentation>Assisted Living Facility= Congregate residential facility with self-contained living units providing assessment of each resident’s needs and on-site support 24 hours a day, 7 days a week, with the capacity to deliver or arrange for services including some health care and other services.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="5">
				<xsd:annotation>
					<xsd:documentation>Custodial Care Facility=A facility which provides room, board and other personal assistance services, generally on a long-term basis, and which does not include a medical component. For Medicare Part B use only.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="6">
				<xsd:annotation>
					<xsd:documentation>Group Home=Congregate residential foster care setting for children and adolescents in state custody that provides some social, health care, and educational support services and that promotes rehabilitation and reintegration of residents into the community.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="7">
				<xsd:annotation>
					<xsd:documentation>Inpatient Psychiatric Facility=A facility that provides inpatient psychiatric services for the diagnosis and treatment of mental illness on a 24-hour basis, by or under the supervision of a physician. Not applicable to Pharmacy Benefits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="8">
				<xsd:annotation>
					<xsd:documentation>Psychiatric Facility – Partial Hospitalization=A facility for the diagnosis and treatment of mental illness that provides a planned therapeutic program for patients who do not require full time hospitalization, but who need broader programs than are possible from outpatient visits to a hospital-based or hospital-affiliated facility. Not applicable to Pharmacy Benefits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="9">
				<xsd:annotation>
					<xsd:documentation>Intermediate Care Facility/Mentally Retarded=A facility which primarily provides health-related care and services above the level of custodial care to mentally retarded individuals but does not provide the level of care or treatment available in a hospital or SNF.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="10">
				<xsd:annotation>
					<xsd:documentation>Residential Substance Abuse Treatment Facility=A facility which provides treatment for substance (alcohol and drug) abuse to live-in residents who do not require acute medical care. Services include individual and group therapy and counseling, family counseling, laboratory tests, drugs and supplies, psychological testing, and room and board. Not applicable to Pharmacy Benefits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="11">
				<xsd:annotation>
					<xsd:documentation>Hospice= A facility, other than a patient's home, in which palliative and supportive care for terminally ill patients and their families are provided.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="12">
				<xsd:annotation>
					<xsd:documentation>Psychiatric Residential Treatment Facility=A facility or distinct part of a facility for psychiatric care which provides a total 24-hour therapeutically planned and professionally staffed group living and learning environment. Not applicable to Pharmacy Benefits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="0">
				<xsd:annotation>
					<xsd:documentation>Not Specified=Other patient residence not identified below.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="13">
				<xsd:annotation>
					<xsd:documentation>Comprehensive Inpatient Rehabilitation Facility=A facility that provides comprehensive rehabilitation services under the supervision of a physician to inpatients with physical disabilities.  Services include physical therapy, occupational therapy, speech pathology, social or psychological services, and orthotics and prosthetics services. Not applicable to Pharmacy Benefits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="14">
				<xsd:annotation>
					<xsd:documentation>Homeless Shelter=A facility or location whose primary purpose is to provide temporary housing to homeless individuals (e.g., emergency shelters, individual or family shelters).  Not applicable to Pharmacy Benefits</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="15">
				<xsd:annotation>
					<xsd:documentation>Correctional Institution=A facility that provides treatment and rehabilitation of offenders through a program of penal custody.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  RxChangeCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="RxChangeCode">
		<xsd:annotation>
			<xsd:documentation>Used in Prescription Change Request transactions, to request a change to the original new prescription.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:MessageFunctionCode">
			<xsd:enumeration value="G">
				<xsd:annotation>
					<xsd:documentation>Generic Substitution - A modification of the product prescribed to a generic equivalent.			
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="P">
				<xsd:annotation>
					<xsd:documentation>Prior Authorization Required - A request to obtain prior authorization before dispensing.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="T">
				<xsd:annotation>
					<xsd:documentation>Therapeutic Interchange/Substitution - A modification of the product prescribed to a preferred product choice.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D">
				<xsd:annotation>
					<xsd:documentation>Drug Use Evaluation</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="S">
				<xsd:annotation>
					<xsd:documentation>Script Clarification</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  RxFillIndicatorType  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="RxFillIndicatorType">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="ALL FILL STATUSES">
				<xsd:annotation>
					<xsd:documentation>All Fill Status Transactions - Sent when the prescriber requests RxFill transactions for dispensed, partially dispensed, not dispensed and transferred prescriptions for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ALL FILL STATUSES EXCEPT TRANSFERRED">
				<xsd:annotation>
					<xsd:documentation>All Fill Status Transactions but Transferred – Sent when the prescriber requests RxFill transactions for dispensed, partially dispensed and not dispensed prescriptions only for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DISPENSED AND PARTIALLY DISPENSED">
				<xsd:annotation>
					<xsd:documentation>Dispensed and Partially Dispensed – Sent when the prescriber requests RxFill transactions for dispensed and partially dispensed prescriptions only for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PARTIALLY DISPENSED AND NOT DISPENSED">
				<xsd:annotation>
					<xsd:documentation>Partially Dispensed and Not Dispensed – Sent when the prescriber requests RxFill transactions for partially dispensed and not dispensed prescriptions only for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NOT DISPENSED AND TRANSFERRED">
				<xsd:annotation>
					<xsd:documentation>Not Dispensed or Transferred – Sent when the prescriber requests RxFill transactions for not dispensed and transferred prescriptions for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PARTIALLY DISPENSED">
				<xsd:annotation>
					<xsd:documentation>Partially Dispensed – Sent when the prescriber requests RxFill transactions for partially dispensed prescriptions only for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NOT DISPENSED">
				<xsd:annotation>
					<xsd:documentation>Not Dispensed – Sent when the prescriber requests RxFill transaction for not dispensed prescriptions only for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CANCEL ALL FILL STATUSES">
				<xsd:annotation>
					<xsd:documentation>Cancel All Fill Statuses – Sent when the prescriber requests that no more RxFill transactions be sent for this patient/medication.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SNOMEDCTAdverseEventCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SNOMEDCTAdverseEventCode">
		<xsd:annotation>
			<xsd:documentation>The code list defining the Item Number.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="420134006">
				<xsd:annotation>
					<xsd:documentation>Propensity to adverse reactions</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="418038007">
				<xsd:annotation>
					<xsd:documentation>Propensity to adverse reactions to substance </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="419511003">
				<xsd:annotation>
					<xsd:documentation>Propensity to adverse reactions to drug </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="418471000">
				<xsd:annotation>
					<xsd:documentation>Propensity to adverse reactions to food</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="419199007">
				<xsd:annotation>
					<xsd:documentation>Allergy to substance </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="416098002">
				<xsd:annotation>
					<xsd:documentation>Drug Allergy </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="414285001">
				<xsd:annotation>
					<xsd:documentation>Food Allergy </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="59037007">
				<xsd:annotation>
					<xsd:documentation>Drug Intolerance </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="235719002">
				<xsd:annotation>
					<xsd:documentation>Food Intolerance </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SecondaryDiagnosisCodeQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SecondaryDiagnosisCodeQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Code qualifying the Diagnosis Code</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="ABF">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-10- Clinical Modifications (ICD-10-CM) Code indicating that the following information is a diagnosis as defined by ICD-10-CM. As of January 1, 1999, the ICD-10 is used to code and classify mortality data from death certificates. The International Classification of Diseases, 10th Revision, Clinical Modification (ICD-9-CM)is a statistical classification system that arranges diseases and injuries into groups according to established criteria. The codes are 3 to 7 digits with the first digit alpha, the second and third numeric and the remainder A/N. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services.  </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DX">
				<xsd:annotation>
					<xsd:documentation>International Classification of Diseases-9- Clinical Modifications-Diagnosis (ICD-9-CM-Diagnosis) Code indicating the diagnosis is defined according to the International Classification of Diseases, 9th Revision, Clinical Modification (ICD-9-CM) is a statistical classification system that arranges diseases and injuries into groups according to established criteria. Most codes are numeric and consist of 3, 4, or 5 numbers and a description. The codes are maintained by the World Health Organization and published by the Centers for Medicare and Medicaid Services</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LD">
				<xsd:annotation>
					<xsd:documentation>SNOMED - Systematized Nomenclature of Medicine Clinical Terms® (SNOMED CT). SNOMED CT® terminology which is available from the Health Terminology Standards Development Organisation (IHTSDO) http://www.ihtsdo.org/snomed-ct/</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  ServiceTypeCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="ServiceTypeCode">
		<xsd:annotation>
			<xsd:documentation>Medication list contains all current medication orders as of the current date and time of the response, for the patient indicated. Current status is determined by the point of care responder. 'Current' is medication orders which have not been discontinued.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="C">
				<xsd:annotation>
					<xsd:documentation>Current Medication Orders - The contents are limited to medication orders that are current (within their Start and Stop dates, or on-or-after the Start date if open-ended).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SigCodes  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SigCodes">
		<xsd:annotation>
			<xsd:documentation>Used for Sig (previously was value 1 (SNOMED)</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="SNOMED">
				<xsd:annotation>
					<xsd:documentation>SNOMED Systematized Nomenclature of Medicine--Clinical Terms (SNOMED) is available at http://www.ihtsdo.org/snomed-ct/.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SigDoseFormCodes  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SigDoseFormCodes">
		<xsd:annotation>
			<xsd:documentation>Used for Sig (previously was value 2 (FMT)</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="FMTDOSEFORM">
				<xsd:annotation>
					<xsd:documentation>DoseForm uses value 2 FMT Term from NCI for Dose Form Code. http://www.cancer.gov/cancertopics/cancerlibrary/terminologyresources/page4 (click on NCPDP Terminologies) or  http://evs.nci.nih.gov/ (higher level).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SourceOfInformationCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SourceOfInformationCode">
		<xsd:annotation>
			<xsd:documentation>Sender indicates where the sender received the allergy information if known.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="P">
				<xsd:annotation>
					<xsd:documentation>Indicates information is provided by the patient or patient representative or personal health record (PHR)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="C">
				<xsd:annotation>
					<xsd:documentation>Indicates information is provided by a clinician or provider</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SourceQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SourceQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Qualifies the Source Description.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="P2">
				<xsd:annotation>
					<xsd:documentation>Pharmacy - A facility or location where drugs and other medically related items and services are sold, dispensed, or otherwise provided directly to patients.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PC">
				<xsd:annotation>
					<xsd:documentation>Prescriber - A licensed entity that prescribes prescription drugs and provides professional medical services, such as clinical services respective to the prescribing function</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PY">
				<xsd:annotation>
					<xsd:documentation>Payer - Entity that processes the data submitted by a provider of pharmacy services for the purpose of receiving eligibility and coverage determination and/or payment.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SplitScriptIndicator  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SplitScriptIndicator">
		<xsd:annotation>
			<xsd:documentation>Indicator of split prescription</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="BridgeSupply">
				<xsd:annotation>
					<xsd:documentation>Prescription was written with a retail bridge supply and a mail prescription</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  StateCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="StateCode">
		<xsd:annotation>
			<xsd:documentation>Abbreviation of state in which member resides.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="WA">
				<xsd:annotation>
					<xsd:documentation>Washington</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="OK">
				<xsd:annotation>
					<xsd:documentation>Oklahoma</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AZ">
				<xsd:annotation>
					<xsd:documentation>Arizona</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ON">
				<xsd:annotation>
					<xsd:documentation>Ontario</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HI">
				<xsd:annotation>
					<xsd:documentation>Hawaii</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MO">
				<xsd:annotation>
					<xsd:documentation>Missouri</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NU">
				<xsd:annotation>
					<xsd:documentation>Nunavut			
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="VI">
				<xsd:annotation>
					<xsd:documentation>Virgin Islands</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AK">
				<xsd:annotation>
					<xsd:documentation>Alaska</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TX">
				<xsd:annotation>
					<xsd:documentation>Texas</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="OH">
				<xsd:annotation>
					<xsd:documentation>Ohio</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GU">
				<xsd:annotation>
					<xsd:documentation>Guam</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MS">
				<xsd:annotation>
					<xsd:documentation>Mississippi</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MP">
				<xsd:annotation>
					<xsd:documentation>Northern Mariana Islands</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AL">
				<xsd:annotation>
					<xsd:documentation>Alabama
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="VA">
				<xsd:annotation>
					<xsd:documentation>Virginia
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NT">
				<xsd:annotation>
					<xsd:documentation>Northwest Territories</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="GA">
				<xsd:annotation>
					<xsd:documentation>Georgia</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TN">
				<xsd:annotation>
					<xsd:documentation>Tennessee</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ND">
				<xsd:annotation>
					<xsd:documentation>North Dakota
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MN">
				<xsd:annotation>
					<xsd:documentation>Minnesota</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NS">
				<xsd:annotation>
					<xsd:documentation>Nova Scotia</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FM">
				<xsd:annotation>
					<xsd:documentation>Federated States Of Micronesia</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SD">
				<xsd:annotation>
					<xsd:documentation>South Dakota</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="FL">
				<xsd:annotation>
					<xsd:documentation>Florida</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NL">
				<xsd:annotation>
					<xsd:documentation>Newfoundland and Labrador</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DC">
				<xsd:annotation>
					<xsd:documentation>District Of Columbia</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MI">
				<xsd:annotation>
					<xsd:documentation>Michigan</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NB">
				<xsd:annotation>
					<xsd:documentation>New Brunswick</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NC">
				<xsd:annotation>
					<xsd:documentation>North Carolina
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SC">
				<xsd:annotation>
					<xsd:documentation>South Carolina
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MA">
				<xsd:annotation>
					<xsd:documentation>Massachusetts</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="DE">
				<xsd:annotation>
					<xsd:documentation>Delaware			
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MB">
				<xsd:annotation>
					<xsd:documentation>Manitoba</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="RI">
				<xsd:annotation>
					<xsd:documentation>Rhode Island</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NY">
				<xsd:annotation>
					<xsd:documentation>New York   </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="BC">
				<xsd:annotation>
					<xsd:documentation>British Columbia			
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CT">
				<xsd:annotation>
					<xsd:documentation>Connecticut</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MD">
				<xsd:annotation>
					<xsd:documentation>Maryland</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PR">
				<xsd:annotation>
					<xsd:documentation>Puerto Rico</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NM">
				<xsd:annotation>
					<xsd:documentation>New Mexico</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ME">
				<xsd:annotation>
					<xsd:documentation>Maine</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AB">
				<xsd:annotation>
					<xsd:documentation>Alberta</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="LA">
				<xsd:annotation>
					<xsd:documentation>Louisiana</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MH">
				<xsd:annotation>
					<xsd:documentation>Marshall Islands
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="KS">
				<xsd:annotation>
					<xsd:documentation>Kansas</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CO">
				<xsd:annotation>
					<xsd:documentation>Colorado</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NV">
				<xsd:annotation>
					<xsd:documentation>Nevada</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NJ">
				<xsd:annotation>
					<xsd:documentation>New Jersey</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PA">
				<xsd:annotation>
					<xsd:documentation>Pennsylvania</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="YT">
				<xsd:annotation>
					<xsd:documentation>Yukon</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="KY">
				<xsd:annotation>
					<xsd:documentation>Kentucky</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CA">
				<xsd:annotation>
					<xsd:documentation>California   </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AS">
				<xsd:annotation>
					<xsd:documentation>American Samoa</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="WY">
				<xsd:annotation>
					<xsd:documentation>Wyoming</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IA">
				<xsd:annotation>
					<xsd:documentation>Iowa</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NH">
				<xsd:annotation>
					<xsd:documentation>New Hampshire</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="NE">
				<xsd:annotation>
					<xsd:documentation>Nebraska
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PW">
				<xsd:annotation>
					<xsd:documentation>Palau</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SK">
				<xsd:annotation>
					<xsd:documentation>Saskatchewan</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IN">
				<xsd:annotation>
					<xsd:documentation>Indiana
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AR">
				<xsd:annotation>
					<xsd:documentation>Arkansas
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="WI">
				<xsd:annotation>
					<xsd:documentation>Wisconsin
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="IL">
				<xsd:annotation>
					<xsd:documentation>Illinois</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="QC">
				<xsd:annotation>
					<xsd:documentation>Quebec			
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="VT">
				<xsd:annotation>
					<xsd:documentation>Vermont
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="OR">
				<xsd:annotation>
					<xsd:documentation>Oregon</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="WV">
				<xsd:annotation>
					<xsd:documentation>West Virginia</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="PE">
				<xsd:annotation>
					<xsd:documentation>Prince Edward Island</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="MT">
				<xsd:annotation>
					<xsd:documentation>Montana
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="ID">
				<xsd:annotation>
					<xsd:documentation>Idaho
</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="UT">
				<xsd:annotation>
					<xsd:documentation>Utah</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AA">
				<xsd:annotation>
					<xsd:documentation>Armed Forces Americas (except Canada)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AE">
				<xsd:annotation>
					<xsd:documentation>Armed Forces Africa/Canada/Europe/Middle East</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="AP">
				<xsd:annotation>
					<xsd:documentation>Armed Forces Pacific</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  StatusCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="StatusCode">
		<xsd:annotation>
			<xsd:documentation>Codes used to relay successful or rejected communications.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="000">
				<xsd:annotation>
					<xsd:documentation>Transaction successful</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="001">
				<xsd:annotation>
					<xsd:documentation>Transaction successful, message(s) waiting to be retrieved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="002">
				<xsd:annotation>
					<xsd:documentation>No more messages</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="003">
				<xsd:annotation>
					<xsd:documentation>Transaction successful, no messages to be retrieved</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="005">
				<xsd:annotation>
					<xsd:documentation>Transaction successful, password soon to expire</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="010">
				<xsd:annotation>
					<xsd:documentation>Successful - accepted by ultimate receiver</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SubstitutionCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SubstitutionCode">
		<xsd:annotation>
			<xsd:documentation>Code indicating whether or not the prescriber’s instructions regarding generic substitution were followed.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="0">
				<xsd:annotation>
					<xsd:documentation>No Product Selection Indicated - This is the field default value that is appropriately used for prescriptions for single source brand, co-branded/co-licensed, or generic products. For a multi-source branded product with available generic(s), DAW 0 is not appropriate, and may result in a reject.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Substitution Not Allowed by Prescriber - This value is used when the prescriber indicates, in a manner specified by prevailing law, that the product is Medically Necessary to be Dispensed As Written. DAW 1 is based on prescriber instruction and not product classification. </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2">
				<xsd:annotation>
					<xsd:documentation>Substitution Allowed-Patient Requested Product Dispensed-This value is used when the prescriber has indicated, in a manner specified by prevailing law, that generic substitution is permitted and the patient requests the brand product. This situation can occur when the prescriber writes the prescription using either the brand or generic name and the product is available from multiple sources.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="3">
				<xsd:annotation>
					<xsd:documentation>Substitution Allowed-Pharmacist Selected Product Dispensed-This value is used when the prescriber has indicated, in a manner specified by prevailing law, that generic substitution is permitted and the pharmacist determines that the brand product should be dispensed. This can occur when the prescriber writes the prescription using either the brand or generic name and the product is available from multiple sources.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="4">
				<xsd:annotation>
					<xsd:documentation>Substitution Allowed-Generic Drug Not in Stock-This value is used when the prescriber has indicated, in a manner specified by prevailing law, that generic substitution is permitted and the brand product is dispensed since a currently marketed generic is not stocked in the pharmacy. This situation exists due to the buying habits of the pharmacist, not because of the unavailability of the generic product in the marketplace.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="5">
				<xsd:annotation>
					<xsd:documentation>Substitution Allowed-Brand Drug Dispensed as a Generic-This value is used when the prescriber has indicated, in a manner specified by prevailing law, that generic substitution is permitted and the pharmacist is utilizing the brand product as the generic entity.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="6">
				<xsd:annotation>
					<xsd:documentation>Override-This value is used by various claims processors in very specific instances as defined by that claims processor and/or its client(s).</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="7">
				<xsd:annotation>
					<xsd:documentation>Substitution Not Allowed-Brand Drug Mandated by Law-This value is used when the prescriber has indicated, in a manner specified by prevailing law, that generic substitution is permitted but prevailing law or regulation prohibits the substitution of a brand product even though generic versions of the product may be available in the marketplace.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="8">
				<xsd:annotation>
					<xsd:documentation>Substitution Allowed-Generic Drug Not Available in Marketplace-This value is used when the prescriber has indicated, in a manner specified by prevailing law, that generic substitution is permitted and the brand product is dispensed since the generic is not currently manufactured, distributed, or is temporarily unavailable.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="9">
				<xsd:annotation>
					<xsd:documentation>Substitution Allowed By Prescriber but Plan Requests Brand - Patient's Plan Requested Brand Product To Be Dispensed - This value is used when the prescriber has indicated, in a manner specified by prevailing law, that generic substitution is permitted, but the plan's formulary requests the brand product. This situation can occur when the prescriber writes the prescription using either the brand or generic name and the product is available from multiple sources.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  SubstitutionCodeRestricted  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="SubstitutionCodeRestricted">
		<xsd:annotation>
			<xsd:documentation>Code indicating whether or not the prescriber’s instructions regarding generic substitution were followed.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:SubstitutionCode">
			<xsd:enumeration value="0">
				<xsd:annotation>
					<xsd:documentation>No Product Selection Indicated - This is the field default value that is appropriately used for prescriptions for single source brand, co-branded/co-licensed, or generic products. For a multi-source branded product with available generic(s), DAW 0 is not appropriate, and may result in a reject.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="1">
				<xsd:annotation>
					<xsd:documentation>Substitution Not Allowed by Prescriber - This value is used when the prescriber indicates, in a manner specified by prevailing law, that the product is Medically Necessary to be Dispensed As Written. DAW 1 is based on prescriber instruction and not product classification. </xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  TimeZoneIdentifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="TimeZoneIdentifierCode">
		<xsd:annotation>
			<xsd:documentation>Defines the time zone used by the sender.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="UT">
				<xsd:annotation>
					<xsd:documentation>Universal Time Coordinate</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  TransactionDomainVersionQualifierCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="TransactionDomainVersionQualifierCode">
		<xsd:annotation>
			<xsd:documentation>Element defines which NCPDP business domain schema is being used.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="SCRIPT">
				<xsd:annotation>
					<xsd:documentation>NCPDP SCRIPT schema</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Specialized">
				<xsd:annotation>
					<xsd:documentation>NCPDP Specialized schema</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  TransactionErrorCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="TransactionErrorCode">
		<xsd:annotation>
			<xsd:documentation>Codes used to relay error status for transaction</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="ecl:ErrorCode">
			<xsd:enumeration value="600">
				<xsd:annotation>
					<xsd:documentation>Communication problem - try again later</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="601">
				<xsd:annotation>
					<xsd:documentation>Receiver unable to process</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="602">
				<xsd:annotation>
					<xsd:documentation>Receiver System Error</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="700">
				<xsd:annotation>
					<xsd:documentation>Configuration Error</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="900">
				<xsd:annotation>
					<xsd:documentation>Transaction rejected</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  TransferRequestCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="TransferRequestCode">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="ALL">
				<xsd:annotation>
					<xsd:documentation>Yes</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="SPECIFIC">
				<xsd:annotation>
					<xsd:documentation>No</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  TransferType  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="TransferType">
		<xsd:annotation>
			<xsd:documentation>Indicates file content.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="TRANSFER TO PHARMACY">
				<xsd:annotation>
					<xsd:documentation>Not Specified</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="TRANSFER FROM PHARMACY">
				<xsd:annotation>
					<xsd:documentation>Open Refill (Refills remaining) - This indicates that the transfer file only contains prescriptions with remaining open refills.  There will be one record for open refill.  For example:  If a prescription has been filled 3 times and has 2 more refills remaining, the file will contain one record indicating that 2 more refills are outstanding.</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<!--  VeterinarianSpecialtyCode  <<ncpdpecl>>  -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
	<xsd:simpleType name="VeterinarianSpecialtyCode">
		<xsd:restriction base="ecl:Code">
			<xsd:enumeration value="174M00000X">
				<xsd:annotation>
					<xsd:documentation>Veterinarian</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="174MM1900X">
				<xsd:annotation>
					<xsd:documentation>Medical Research Veterinarian</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>
