Initial Commit

This commit is contained in:
2016-07-27 00:32:34 -04:00
commit 8d162b2035
701 changed files with 188672 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pluto.Api;
using McKesson.PPS.Fusion.Authentication.Business;
namespace PlutoServer.PracticeChoice.Core {
public class Medication {
public IList<MedicationInfo1> Search(string authToken, string searchString) {
IList<MedicationInfo1> medsList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
var client = new NewCropDrugService.DrugSoapClient("DrugSoap12");
var drugName = searchString; // At least first 3 letters: acc (for accupril)
var drugStdType = "F"; // F = First Data Bank, R = RxNorm
var includeObsolete = "N"; // 'Y' to include obsolete drugs, 'N' otherwise
var searchBrandGeneric = "A"; // 'A' for all, 'B' for Brand, 'G' for generic
var searchRxOTC = "A"; // 'A' for all, 'R' for Rx (legend drugs), 'O' for Over The Counter drugs
var searchDrugSupply = "A"; // 'A' for all, 'D' for Drugs, 'S' for Supplies
try {
var results = client.DrugSearch(
new NewCropDrugService.Credentials() {
Name = "demo",
PartnerName = "demo",
Password = "demo"
},
new NewCropDrugService.AccountRequest(),
new NewCropDrugService.PatientRequest(),
new NewCropDrugService.PatientInformationRequester(),
drugName,
drugStdType,
includeObsolete,
searchBrandGeneric,
searchRxOTC,
searchDrugSupply);
if((results.result.Status == NewCropDrugService.StatusType.OK) &&
(results.drugDetailArray != null) &&
(results.drugDetailArray.Count() > 0)) {
medsList = new List<MedicationInfo1>();
foreach(var drugDetail in results.drugDetailArray) {
medsList.Add(new MedicationInfo1() {
DataProvider = drugDetail.DataProvider,
DEAClassCode = drugDetail.DeaClassCode,
Dosage = drugDetail.Dosage,
DosageForm = drugDetail.DosageForm,
FullName = drugDetail.Drug,
GenericName = drugDetail.GenericName,
Id = drugDetail.DrugID,
Name = drugDetail.DrugName,
Route = drugDetail.Route,
Status = drugDetail.Status,
TherapeuticClass = drugDetail.TherapeuticClass
});
}
}
} catch(Exception) {
throw;
}
}
return medsList;
}
}
}

View File

@@ -0,0 +1,460 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pluto.Api;
using McKesson.PPS.Fusion.Authentication.Business;
using McKesson.PPS.Fusion.MedsAllergies.Business;
using McKesson.PPS.Fusion.ProblemsProcedures.Business;
using McKesson.PPS.Fusion.OrderEntry.Business;
using McKesson.PPS.Fusion.Labs.Business;
using McKesson.PPS.Fusion.PatientBanner.Business;
using McKesson.PPS.Fusion.Persons.Business;
using McKesson.PPS.Fusion.VitalSigns.Business;
using McKesson.PPS.Fusion.ProgressNotes.Business;
namespace PlutoServer.PracticeChoice.Core {
public class Patient {
public ChartInfo1 GetChart(string authToken, int patientId, int chartId) {
ChartInfo1 chartInfo = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
chartInfo = new ChartInfo1();
chartInfo.Patient = new PatientInfo1();
var personInfo = McKesson.PPS.Fusion.Persons.Business.PersonInfo.GetPersonInfo(new PersonInfoCriteria() { PersonID = patientId });
if(personInfo != null) {
chartInfo.Patient.ChartId = chartId;
chartInfo.Patient.DOB = personInfo.DateOfBirth.Value;
chartInfo.Patient.FirstName = personInfo.FirstName;
chartInfo.Patient.Id = personInfo.Id;
chartInfo.Patient.LastName = personInfo.LastName;
chartInfo.Patient.PrimaryAddress = new AddressInfo1() {
Address1 = personInfo.PersonAddress.Address1,
Address2 = personInfo.PersonAddress.Address2,
City = personInfo.PersonAddress.City,
Country = personInfo.PersonAddress.Country.Value,
State = personInfo.PersonAddress.State.Value,
Zip = personInfo.PersonAddress.Zip
};
chartInfo.Patient.PrimaryPhone = this.GetDefaultPhoneNumber(personInfo);
}
var piCriteria = new PatientInfoCriteria() { ChartID = chartId };
var pi = PatientInfo.GetPatientInfo(piCriteria);
if(pi != null) {
chartInfo.Patient.Age = pi.Age;
chartInfo.Patient.ChartId = chartId;
chartInfo.Patient.Gender = pi.Gender;
chartInfo.Patient.Weight = pi.Weight;
}
var problems = this.GetPatientProblems(chartId);
if(problems != null) {
chartInfo.Problems = problems.ToArray();
}
var meds = this.GetPatientMeds(chartId);
if(meds != null) {
chartInfo.Medications = meds.ToArray();
}
var allergies = this.GetPatientAllergies(chartId);
if(allergies != null) {
chartInfo.Allergies = allergies.ToArray();
}
var orders = this.GetPatientOrders(chartId);
if(orders != null) {
chartInfo.Orders = orders.ToArray();
}
var results = this.GetPatientResults(chartId, 1, 5);
if(results != null) {
chartInfo.Results = results.ToArray();
}
var vitalSigns = this.GetPatientVitalSigns(chartId, patientId);
if(vitalSigns != null) {
chartInfo.VitalSigns = vitalSigns.ToArray();
}
var notes = this.GetPatientNotes(patientId, chartId);
if(notes != null) {
chartInfo.Notes = notes.ToArray();
}
}
return chartInfo;
}
private string GetDefaultPhoneNumber(McKesson.PPS.Fusion.Persons.Business.PersonInfo personInfo) {
var phoneNbr = string.Empty;
if(!string.IsNullOrEmpty(personInfo.PhoneEvening)){
phoneNbr = personInfo.PhoneEvening;
}else if(!string.IsNullOrEmpty(personInfo.PhoneDayTime)){
phoneNbr = personInfo.PhoneDayTime;
} else if (!string.IsNullOrEmpty(personInfo.PhoneCell)){
phoneNbr = personInfo.PhoneCell;
}
return phoneNbr;
}
public IList<PrescribedMedicationInfo1> GetMedications(string authToken, int chartId) {
IList<PrescribedMedicationInfo1> medsList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
medsList = this.GetPatientMeds(chartId);
}
return medsList;
}
private IList<PrescribedMedicationInfo1> GetPatientMeds(int chartId) {
IList<PrescribedMedicationInfo1> medsList = null;
var criteria = new MedsFetchByChartIDCriteria(chartId);
var meds = MedicationList.GetMedicationList(criteria);
if(meds != null) {
medsList = new List<PrescribedMedicationInfo1>();
foreach(var med in meds) {
medsList.Add(new PrescribedMedicationInfo1() {
Id = med.MedicationId,
IsActive = med.IsActive,
Mode = med.Mode,
Name = med.MedicationName,
NumberOfRefills = med.Refills,
PharmacyAddress = med.PharmacyAddress,
PharmacyFax = med.PharmacyFax,
PharmacyName = med.PharmacyName,
PharmacyPhone = med.PharmacyPhone,
ProviderId = med.ProviderId,
ProviderName = med.ProviderName,
Quantity = med.Quantity,
SIG = med.SIG,
StartDate = med.StartDate,
Status = med.Status.Value,
StopDate = med.StartDate,
Unit = med.Unit
});
}
}
return medsList;
}
public IList<AllergyInfo1> GetAllergies(string authToken, int chartId) {
IList<AllergyInfo1> allergyList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
allergyList = this.GetPatientAllergies(chartId);
}
return allergyList;
}
private IList<AllergyInfo1> GetPatientAllergies(int chartId) {
IList<AllergyInfo1> allergyList = null;
var allergies = AllergyInfoList.GetAllergyList(chartId);
if(allergies != null) {
allergyList = new List<AllergyInfo1>();
foreach(var allergy in allergies) {
allergyList.Add(new AllergyInfo1() {
EndDate = allergy.EndDate.HasValue ? allergy.EndDate.Value : DateTime.MinValue,
Id = allergy.AllergyID,
IsActive = allergy.IsActive,
Name = allergy.AllergyName,
Reaction = allergy.AllergyReactionName,
Severity = allergy.AllergySeverityName,
StartDate = allergy.StartDate.HasValue ? allergy.StartDate.Value : DateTime.MinValue,
Type = allergy.AllergyTypeName
});
}
}
return allergyList;
}
public IList<ProblemInfo1> GetProblems(string authToken, int chartId) {
IList<ProblemInfo1> problemList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
problemList = this.GetPatientProblems(chartId);
}
return problemList;
}
private IList<ProblemInfo1> GetPatientProblems(int chartId) {
IList<ProblemInfo1> problemList = null;
var problems = DiagnosisInfoList.GetDiagnosisList(new Csla.SingleCriteria<DiagnosisInfoList, int>(chartId));
if(problems != null) {
problemList = new List<ProblemInfo1>();
foreach(var problem in problems) {
problemList.Add(new ProblemInfo1() {
ActiveDate = problem.ActiveDT,
Code = problem.DiagnosisCode,
Description = problem.DiagnosisDescription,
Id = problem.Id,
InActiveDate = problem.InactiveDT,
Relevance = problem.RelevanceText,
ResolvedDate = problem.ResolvedDate.HasValue ? problem.ResolvedDate.Value : DateTime.MinValue,
Status = problem.StatusDescription,
Type = problem.DiagnosisTypeName
});
}
}
return problemList;
}
public IList<ProcedureInfo1> GetProcedures(string authToken, int chartId) {
IList<ProcedureInfo1> procedureList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var procedures = ProcedureList.GetProcedureList(new Csla.SingleCriteria<ProcedureList, int>(chartId));
if(procedures != null) {
procedureList = new List<ProcedureInfo1>();
foreach(var procedure in procedures) {
procedureList.Add(new ProcedureInfo1() {
Code = procedure.ProcedureCode,
Description = procedure.ProcedureDescription,
Id = procedure.ProcedureId,
IsPerformedElsewhere = procedure.PerformedElsewhere,
Modifier1 = procedure.Modifier1,
Modifier2 = procedure.Modifier2,
Modifier3 = procedure.Modifier3,
Modifier4 = procedure.Modifier4
});
}
}
}
return procedureList;
}
private IList<OrderInfo1> GetPatientOrders(int chartId) {
IList<OrderInfo1> orderList = null;
var criteria = new McKesson.PPS.Fusion.OrderEntry.Business.ReadOnlyPatientOrderListCriteria() {
ChartId = chartId,
PageIndex = -1, // to compensate for stupid code in PracticeChoice OrderDal.cs CreateGetPatientOrdersCommand
PageSize = 5
};
var orders = McKesson.PPS.Fusion.OrderEntry.Business.ReadOnlyPatientOrderList.GetReadOnlyPatientOrderList(criteria);
if(orders != null) {
orderList = new List<OrderInfo1>();
foreach(var order in orders) {
orderList.Add(new OrderInfo1() {
CompletedDate = order.DateCompleted,
HasLabs = order.HasLab,
Id = order.PatientOrderId,
Name = order.OrderName,
OrderDate = order.OrderDate,
ProviderName = order.ProviderName,
Status = order.OrderStatus.Value,
Type = order.OrderTypeName
});
}
}
return orderList;
}
public IList<ResultInfo1> GetResults(string authToken, int chartId, int pageIndex, int pageSize) {
IList<ResultInfo1> resultList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
resultList = this.GetPatientResults(chartId, pageIndex, pageSize);
}
return resultList;
}
public IList<VitalSignInfo1> GetVitalSigns(string authToken, int chartId, int patientId) {
IList<VitalSignInfo1> vsList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
vsList = this.GetPatientVitalSigns(chartId, patientId);
}
return vsList;
}
public IList<PatientNoteInfo1> GetNotes(string authToken, int patientId, int chartId) {
IList<PatientNoteInfo1> notesList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
notesList = this.GetPatientNotes(patientId, chartId);
}
return notesList;
}
private IList<ResultInfo1> GetPatientResults(int chartId, int pageIndex, int pageSize) {
IList<ResultInfo1> resultList = null;
var criteria = new LabResultCriteria() {
ChartId = chartId,
PageIndex = pageIndex,
PageSize = pageSize
};
var results = LabResultsOBRList.GetLabResultList(criteria);
if(results != null) {
resultList = new List<ResultInfo1>();
foreach(var result in results) {
result.LabResultsOBXes = LabEntryList.GetLabEntryList(result.LabResultsOBRId);
var resultDetails = this.GetResultDetails(result);
resultList.Add(new ResultInfo1() {
CodingSystem = result.ObservationCodingSystem,
DateReviewed = result.DateReviewed.HasValue ? result.DateReviewed.Value : DateTime.MinValue,
DateSigned = result.DateSigned.HasValue ? result.DateSigned.Value : DateTime.MinValue,
Id = result.LabResultsOBRId,
IsReviewed = result.IsReviewed,
IsSigned = result.IsSigned,
Note = result.Note,
OrderedBy = result.OrderedBy,
PerformingCenter = new PerformingCenterInfo1() { },
ResultDate = result.Date,
ResultDetails = resultDetails == null? null : resultDetails.ToArray(),
Status = result.LabStatusName,
TestId = result.ObservationBatteryId,
TestName = result.ObservationBatteryText,
Type = result.LabTypeName
});
}
}
return resultList;
}
private IList<ResultDetailInfo1> GetResultDetails(LabResultsOBR result) {
IList<ResultDetailInfo1> resultDetailsList = null;
if(result.LabResultsOBXes != null) {
resultDetailsList = new List<ResultDetailInfo1>();
foreach(var obx in result.LabResultsOBXes) {
resultDetailsList.Add(new ResultDetailInfo1() {
AbnormalFlag = obx.AbnormalFlag,
CodingSystem = obx.ObservationCodingSystem,
Id = obx.LabResultsOBXId.HasValue?obx.LabResultsOBXId.Value:0,
Note = obx.Note,
ObservationDate = obx.ObservationDateTime.HasValue?obx.ObservationDateTime.Value:DateTime.MinValue,
ObservationId = obx.ObservationIdentifier,
ObservationText = obx.ObservationText,
ObservationValue = obx.ObservationValue,
ReferenceRange = obx.ReferenceRange,
Sequence = obx.OBXSequenceNumber,
Status = obx.LabResultsStatusName,
Units = obx.ObservationUnits
});
}
}
return resultDetailsList;
}
private IList<VitalSignInfo1> GetPatientVitalSigns(int chartId, int patientId) {
IList<VitalSignInfo1> vitalSignsList = null;
bool isMetricMode = false;
var vitalSigns = VitalSignsList.GetVitalSignsList(new VitalSignCriteria(chartId, null, isMetricMode));
if(vitalSigns != null) {
vitalSignsList = new List<VitalSignInfo1>();
foreach(var vs in vitalSigns) {
vitalSignsList.Add(new VitalSignInfo1() {
BMI = vs.BMI.HasValue?vs.BMI.Value:0,
BPCuffSize = vs.BPCuffSize == null?string.Empty: vs.BPCuffSize.Value,
BPSite = vs.BPSiteOfMeasurementType == null? string.Empty:vs.BPSiteOfMeasurementType.Value,
Comment = vs.Comment,
Diastolic = vs.Diastolic.HasValue?vs.Diastolic.Value:0,
EncounterDate = vs.EncounterDate.HasValue? vs.EncounterDate.Value:DateTime.MinValue,
ExamDate = vs.ExamDate.HasValue? vs.ExamDate.Value:DateTime.MinValue,
HeadCircumference = vs.HeadCircumferenceString,
HeadCircumferenceEnglish = string.Empty,
Height = vs.HeightString,
HeightEnglish = string.Empty,
Id = vs.Id,
IsMetricMode = vs.IsMetricMode,
O2Saturation = vs.O2Liters.HasValue?vs.O2Liters.Value:0,
Oximetry = vs.Oximetry.HasValue?vs.Oximetry.Value:0,
OxymetrySource = vs.OximetrySourceType == null? string.Empty:vs.OximetrySourceType.Value,
PainLevel = vs.PainLevel.HasValue?vs.PainLevel.Value:0,
PluseRhythmType = vs.PulseRhythmType == null? string.Empty:vs.PulseRhythmType.Value,
PosturalLaying = vs.PosturalLying,
PosturalSitting = vs.PosturalSitting,
PosturalStanding = vs.PosturalStanding,
PostureType = vs.PostureType == null? string.Empty:vs.PostureType.Value,
PulseRate = vs.PulseRate.HasValue?vs.PulseRate.Value:0,
PulseSite = vs.PulseSiteOfMeasurementType == null? string.Empty:vs.PulseSiteOfMeasurementType.Value,
PulseVolumeType = vs.PulseVolumeType == null? string.Empty:vs.PulseVolumeType.Value,
RespirationRhythmType = vs.RespirationRhythmType == null? string.Empty:vs.RespirationRhythmType.Value,
Respirations = vs.Respirations.HasValue?vs.Respirations.Value:0,
RespirationsDepth = vs.RespirationsDepthType == null? string.Empty:vs.RespirationsDepthType.Value,
Systolic = vs.Systolic.HasValue?vs.Systolic.Value:0,
Temperature = vs.TemperatureString,
TemperatureEnglish = vs.TemperatureEnglishString,
TemperatureSite = vs.TemperatureSiteOfMeasurementType == null? string.Empty:vs.TemperatureSiteOfMeasurementType.Value,
Weight = vs.WeightString,
WeightEnglish = vs.WeightEnglishString
});
}
}
return vitalSignsList;
}
private IList<PatientNoteInfo1> GetPatientNotes(int patientId, int chartId) {
IList<PatientNoteInfo1> notesList = null;
var notes = ProgressNoteList.GetProgressNoteList(new ProgressNoteSearchCriteria() {
ChartId = chartId
});
if(notes != null) {
notesList = new List<PatientNoteInfo1>();
notesList = (from note in notes
where note.NoteTypeId == 3
select new PatientNoteInfo1(){
ChartId = chartId,
Id = note.NoteId,
NoteText = note.NoteOriginalText,
Status = note.NoteStatusName,
Title = note.NoteTitle,
Type = note.NoteTypeName
}).ToList<PatientNoteInfo1>();
}
return notesList;
}
public void AddPatientNote(string authToken, int patientId, int chartId, PatientNoteInfo1 patientNote) {
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var newNote = EditableProgressNote.NewProgressNote();
newNote.NoteTitle = patientNote.Title;
newNote.NoteText = GetClinicalNote(patientNote.NoteText);
//TODO: Remove these hard coding. Phulease
newNote.NoteStatusId = McKesson.PPS.Fusion.ProgressNotes.Shared.NoteStatusEnum.SAVE;
newNote.NoteTypeId = 3; // Phone Note
newNote.CreatedBy = identity.PersonId;
newNote.ProviderID = identity.PersonId;
// OK this is silly. Why should I set the PatientId property to chartId?
// Bug in Progress Notes module. The call to AuditLog is passed in the PatientId
// However, the method AuditLog.LogByChartId expects a chartId
newNote.PatientId = chartId;
newNote.Save();
}
}
private string GetClinicalNote(string note) {
return string.Format("<document><section><paragraph horizontalAlign='Left'><text>{0}</text></paragraph></section></document>",
note);
}
}
}

View File

@@ -0,0 +1,230 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1EB2E991-1DC5-4EC4-993A-77F1762E7703}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PlutoServer.PracticeChoice.Core</RootNamespace>
<AssemblyName>PlutoServer.PracticeChoice.Core</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Target\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Authentication.Business">
<HintPath>..\..\3rdParty\PracticeChoice\Authentication.Business.dll</HintPath>
</Reference>
<Reference Include="Business.BusinessBase">
<HintPath>..\..\3rdParty\PracticeChoice\Business.BusinessBase.dll</HintPath>
</Reference>
<Reference Include="Business.Common">
<HintPath>..\..\3rdParty\PracticeChoice\Business.Common.dll</HintPath>
</Reference>
<Reference Include="Business.Common.Security">
<HintPath>..\..\3rdParty\PracticeChoice\Business.Common.Security.dll</HintPath>
</Reference>
<Reference Include="Business.Shared, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\3rdParty\PracticeChoice\Business.Shared.dll</HintPath>
</Reference>
<Reference Include="Communications.Business">
<HintPath>..\..\3rdParty\PracticeChoice\Communications.Business.dll</HintPath>
</Reference>
<Reference Include="Communications.Data.EntityFramework, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\3rdParty\PracticeChoice\Communications.Data.EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Communications.Data.Services, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\3rdParty\PracticeChoice\Communications.Data.Services.dll</HintPath>
</Reference>
<Reference Include="Csla">
<HintPath>..\..\3rdParty\PracticeChoice\Csla.dll</HintPath>
</Reference>
<Reference Include="Labs.Business">
<HintPath>..\..\3rdParty\PracticeChoice\Labs.Business.dll</HintPath>
</Reference>
<Reference Include="Labs.Data">
<HintPath>..\..\3rdParty\PracticeChoice\Labs.Data.dll</HintPath>
</Reference>
<Reference Include="MedsAllergies.Business">
<HintPath>..\..\3rdParty\PracticeChoice\MedsAllergies.Business.dll</HintPath>
</Reference>
<Reference Include="MedsAllergies.Data">
<HintPath>..\..\3rdParty\PracticeChoice\MedsAllergies.Data.dll</HintPath>
</Reference>
<Reference Include="MedsAllergies.DataAccess">
<HintPath>..\..\3rdParty\PracticeChoice\MedsAllergies.DataAccess.dll</HintPath>
</Reference>
<Reference Include="MedsAllergies.Resources.Server">
<HintPath>..\..\3rdParty\PracticeChoice\MedsAllergies.Resources.Server.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\3rdParty\PracticeChoice\Microsoft.Practices.EnterpriseLibrary.Logging.dll</HintPath>
</Reference>
<Reference Include="OrderEntry.Business">
<HintPath>..\..\3rdParty\PracticeChoice\OrderEntry.Business.dll</HintPath>
</Reference>
<Reference Include="PatientBanner.Business">
<HintPath>..\..\3rdParty\PracticeChoice\PatientBanner.Business.dll</HintPath>
</Reference>
<Reference Include="Persons.Business">
<HintPath>..\..\3rdParty\PracticeChoice\Persons.Business.dll</HintPath>
</Reference>
<Reference Include="Persons.Data">
<HintPath>..\..\3rdParty\PracticeChoice\Persons.Data.dll</HintPath>
</Reference>
<Reference Include="Persons.DataAccess">
<HintPath>..\..\3rdParty\PracticeChoice\Persons.DataAccess.dll</HintPath>
</Reference>
<Reference Include="Persons.Resources.Server">
<HintPath>..\..\3rdParty\PracticeChoice\Persons.Resources.Server.dll</HintPath>
</Reference>
<Reference Include="ProblemsProcedures.Business">
<HintPath>..\..\3rdParty\PracticeChoice\ProblemsProcedures.Business.dll</HintPath>
</Reference>
<Reference Include="ProgressNotes.Business">
<HintPath>..\..\3rdParty\PracticeChoice\ProgressNotes.Business.dll</HintPath>
</Reference>
<Reference Include="ProgressNotes.Interfaces">
<HintPath>..\..\3rdParty\PracticeChoice\ProgressNotes.Interfaces.dll</HintPath>
</Reference>
<Reference Include="ProgressNotes.Shared, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\3rdParty\PracticeChoice\ProgressNotes.Shared.dll</HintPath>
</Reference>
<Reference Include="ProviderSearch.Business">
<HintPath>..\..\3rdParty\PracticeChoice\ProviderSearch.Business.dll</HintPath>
</Reference>
<Reference Include="ProviderSearch.Data">
<HintPath>..\..\3rdParty\PracticeChoice\ProviderSearch.Data.dll</HintPath>
</Reference>
<Reference Include="ProviderSearch.DataAccess">
<HintPath>..\..\3rdParty\PracticeChoice\ProviderSearch.DataAccess.dll</HintPath>
</Reference>
<Reference Include="ProviderSearch.Resources.Server">
<HintPath>..\..\3rdParty\PracticeChoice\ProviderSearch.Resources.Server.dll</HintPath>
</Reference>
<Reference Include="RemObjects.SDK">
<HintPath>..\..\3rdParty\RemObjects\Server\RemObjects.SDK.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Terminology.Business">
<HintPath>..\..\3rdParty\PracticeChoice\Terminology.Business.dll</HintPath>
</Reference>
<Reference Include="VitalSigns.Business">
<HintPath>..\..\3rdParty\PracticeChoice\VitalSigns.Business.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Medication.cs" />
<Compile Include="Patient.cs" />
<Compile Include="Practice.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Provider.cs" />
<Compile Include="Service References\NewCropDrugService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Terminology.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PlutoServer.PracticeChoice.Interfaces\PlutoServer.PracticeChoice.Interfaces.csproj">
<Project>{77B7DE2F-677F-49E7-A452-D60FC4D27944}</Project>
<Name>PlutoServer.PracticeChoice.Interfaces</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Service References\NewCropDrugService\Drug.wsdl" />
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugAllergyDetailResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugDetailResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugFoodDetailResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugFormularyDetailResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugFormularyFavoriteDetailResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugInteractionResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugMonographResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugPackageDetailResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.NDCValidationDetailResult.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
<None Include="Service References\NewCropDrugService\PlutoServer.PracticeChoice.Core.NewCropDrugService.Result.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Service References\NewCropDrugService\" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\NewCropDrugService\Drug.disco" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\NewCropDrugService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\NewCropDrugService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\NewCropDrugService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,96 @@
using System.Collections.Generic;
using McKesson.PPS.Fusion.Authentication.Business;
using McKesson.PPS.Fusion.Business.Common.Context;
using McKesson.PPS.Fusion.ProviderSearch.Business;
using Pluto.Api;
using McKesson.PPS.Fusion.Persons.Business;
using McKesson.PPS.Fusion.Communications.Business.FolderContents.Recepients;
namespace PlutoServer.PracticeChoice.Core {
public class Practice {
public IList<ProviderInfo1> GetProviderList(string authToken) {
IList<ProviderInfo1> providersList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
//Logger.Write(string.Format("MagicIdentity authenticated is {0}", identity.IsAuthenticated));
Csla.ApplicationContext.User = principal;
var userContext = UserContext.GetInstance();
var providers = ReadOnlyProviderList.GetReadOnlyProviderList(pageIndex: 0,
pageSize: 250,
lastName: string.Empty,
firstName: string.Empty,
specialty: string.Empty,
city: string.Empty,
zip: string.Empty,
status: "active",
gender: string.Empty,
providerFlag: 1);
if(providers != null) {
providersList = new List<ProviderInfo1>();
foreach(var provider in providers) {
providersList.Add(new ProviderInfo1() {
FirstName = provider.FirstName,
Id = provider.Id,
LastName = provider.LastName,
MiddleName = string.Empty,
UserId = provider.UserID
});
}
}
}
return providersList;
}
public IList<PatientInfo1> GetPatientList(string authToken, string lastName, string firstName, string dateOfBirth) {
IList<PatientInfo1> patientList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var criteria = new PersonInfoCriteria() {
LastName = lastName, FirstName = firstName, PageSize = 25
};
var patients = PersonInfoList.GetPersonInfoList(criteria);
if(patients != null) {
patientList = new List<PatientInfo1>();
foreach(var patient in patients) {
patientList.Add(new PatientInfo1() {
Id = patient.PersonID,
LastName = patient.LastName,
FirstName = patient.FirstName,
DOB = patient.DateOfBirth.Value,
ChartId = patient.ChartID
});
}
}
}
return patientList;
}
public IList<MessageRecipientInfo1> GetMessageRecipients(string authToken) {
IList<MessageRecipientInfo1> recipientList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var list = RecepientList.GetRecipientList(new RecipientListCriteria() {
Filter = SelectionFilter.Person
});
if(list != null) {
recipientList = new List<MessageRecipientInfo1>();
foreach(var item in list) {
recipientList.Add(new MessageRecipientInfo1() {
Id = item.ID,
Name = item.DisplayName
});
}
}
}
return recipientList;
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PlutoServer.PracticeChoice.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("PlutoServer PracticeChoice")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("4a8db414-2a3f-44e5-b43d-d2def34c0f77")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,252 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pluto.Api;
using McKesson.PPS.Fusion.Authentication.Business;
using McKesson.PPS.Fusion.Communications.Business.Folders;
using McKesson.PPS.Fusion.Communications.Business;
using McKesson.PPS.Fusion.Communications.Business.Commands;
using McKesson.PPS.Fusion.Communications.Business.FolderContents;
using McKesson.PPS.Fusion.Communications.Data.Service;
using McKesson.PPS.Fusion.Communications.Business.FolderContents.Edit;
using McKesson.PPS.Fusion.Communications.Business.FolderContents.Recepients;
using McKesson.PPS.Fusion.Communications.Business.Lookups;
using McKesson.PPS.Fusion.Communications.Data.Entity;
using McKesson.PPS.Fusion.Business.Shared.Communications;
namespace PlutoServer.PracticeChoice.Core {
public class Provider {
public void SendMessage(string authToken, MessageInfo1 message) {
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var msg = Message.NewMessage();
msg.ActivateDate = DateTime.Now;
msg.Body = message.Body;
msg.Subject = message.Subject;
foreach(var item in message.ToList) {
var recipient = RecepientPerson.CreateNewInstance(item.Id);
msg.ToList.Add(recipient);
}
msg.Priority = new McKesson.PPS.Fusion.Communications.Business.Lookups.PriorityType(1, "Default");
msg.SendMessage(false);
}
}
public IList<MailboxFolderInfo1> GetMailboxFoldersInfo(string authToken, int providerId) {
IList<MailboxFolderInfo1> foldersInfoList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var folderList = FolderList.GetFolders();
if(folderList != null) {
foldersInfoList = new List<MailboxFolderInfo1>();
foreach(var folder in folderList) {
foldersInfoList.Add(new MailboxFolderInfo1() {
Name = folder.DisplayName,
ReadCount = folder.ReadCount,
TotalCount = folder.TotalCount,
Type = (MailboxFolderTypeEnum)folder.FolderType
});
}
}
}
return foldersInfoList;
}
public MessageInfo1 GetMessage(string authToken, long messageId) {
MessageInfo1 messageInfo = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var msgId = (int)messageId;
var msg = Message.Get(msgId);
if(msg != null) {
var bccList = this.GetMessageRecipientList(msg.BccList);
var ccList = this.GetMessageRecipientList(msg.CcList);
var toList = this.GetMessageRecipientList(msg.ToList);
messageInfo = new MessageInfo1() {
BccList = bccList == null? null : bccList.ToArray<MessageRecipientInfo1>(),
Body = msg.Body,
CcList = ccList == null ? null : ccList.ToArray<MessageRecipientInfo1>(),
ChartId = msg.ChartId.HasValue?msg.ChartId.Value:0,
DateSent = msg.DateSent,
From = msg.FromText,
HeaderId = msg.HeaderId,
IsReceiptRequired = msg.IsReceiptRequired,
IsRecorded = msg.IsRecorded,
MessageSendType = (MessageSendTypeEnum)msg.MessageSendType,
PatientId = msg.PatientId,
SenderId = msg.SenderId,
ToList = toList == null?null:toList.ToArray<MessageRecipientInfo1>()
};
}
}
return messageInfo;
}
private IList<MessageRecipientInfo1> GetMessageRecipientList(RecepientList recipientList) {
IList<MessageRecipientInfo1> list = null;
if((recipientList != null) && (recipientList.Count > 0)) {
list = new List<MessageRecipientInfo1>();
foreach(var item in recipientList) {
list.Add(new MessageRecipientInfo1() {
Id = item.ID,
Name = item.DisplayName
});
}
}
return list;
}
private FolderCriteria GetFolderCriteria(MagicIdentity identity, MailboxFolderTypeEnum folderType) {
FolderCriteria folderCriteria = null;
switch(folderType) {
case MailboxFolderTypeEnum.Inbox:
folderCriteria = new InboxFolderCriteria(identity.PersonId, identity.PracticeId);
break;
case MailboxFolderTypeEnum.Sent:
folderCriteria = new SentFolderCriteria(identity.PersonId, identity.PracticeId);
break;
case MailboxFolderTypeEnum.Saved:
folderCriteria = new SavedFolderCriteria(identity.PersonId, identity.PracticeId);
break;
case MailboxFolderTypeEnum.Done:
folderCriteria = new DoneFolderCriteria(identity.PersonId, identity.PracticeId);
break;
case MailboxFolderTypeEnum.Outbox:
folderCriteria = new OutboxFolderCriteria(identity.PersonId, identity.PracticeId);
break;
case MailboxFolderTypeEnum.Draft:
folderCriteria = new DraftFolderCriteria(identity.PersonId, identity.PracticeId);
break;
default:
break;
}
return folderCriteria;
}
public IList<FolderItemInfo1> GetMailboxItems(string authToken, MailboxFolderTypeEnum folderType) {
IList<FolderItemInfo1> itemsList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
Csla.ApplicationContext.User = principal;
var criteria = this.GetFolderCriteria(identity, folderType);
Dictionary<string, object> args = new Dictionary<string, object>()
{
{ "criteria", criteria }
};
using(var ds = DataServiceLocator.Resolve<IFolderItemDataService>(args)) {
var result = ds.GetFolderItems();
if(result != null) {
itemsList = new List<FolderItemInfo1>();
switch(folderType) {
case MailboxFolderTypeEnum.Inbox:
LoadMailboxFolderItems<InboxFolderItem>(itemsList, result);
break;
case MailboxFolderTypeEnum.Sent:
LoadMailboxFolderItems<SentFolderItem>(itemsList, result);
break;
case MailboxFolderTypeEnum.Saved:
LoadMailboxFolderItems<SavedFolderItem>(itemsList, result);
break;
case MailboxFolderTypeEnum.Done:
LoadMailboxFolderItems<DoneFolderItem>(itemsList, result);
break;
case MailboxFolderTypeEnum.Outbox:
LoadMailboxFolderItems<OutboxFolderItem>(itemsList, result);
break;
case MailboxFolderTypeEnum.Draft:
LoadMailboxFolderItems<DraftFolderItem>(itemsList, result);
break;
default:
break;
}
}
}
}
return itemsList;
}
private Dictionary<Type, Func<FolderItem, IMailboxItem>> FolderItemFactories {
get {
var factory = new Dictionary<Type, Func<FolderItem, IMailboxItem>>();
factory.Add(typeof(InboxFolderItem), (data) => InboxFolderItem.GetInstance(data));
factory.Add(typeof(SentFolderItem), (data) => SentFolderItem.GetInstance(data));
factory.Add(typeof(DoneFolderItem), (data) => DoneFolderItem.GetInstance(data));
factory.Add(typeof(SavedFolderItem), (data) => SavedFolderItem.GetInstance(data));
factory.Add(typeof(OutboxFolderItem), (data) => OutboxFolderItem.GetInstance(data));
factory.Add(typeof(DraftFolderItem), (data) => DraftFolderItem.GetInstance(data));
return factory;
}
}
private void LoadMailboxFolderItems<TFolderItemType>(IList<FolderItemInfo1> inboxItemsList,
IList<FolderItem> folderItemsList)
where TFolderItemType : ReadOnlyMailboxItem<TFolderItemType> {
foreach(var folderItemData in folderItemsList) {
var item = (TFolderItemType)FolderItemFactories[typeof(TFolderItemType)].Invoke(folderItemData);
var folderItemInfo = GetFolderItemInfo<TFolderItemType>(item);
folderItemInfo.To = GetTo<TFolderItemType>(item);
inboxItemsList.Add(folderItemInfo);
}
}
private MessageRecipientInfo1 GetSender<T>(ReadOnlyMailboxItem<T> mailboxItem) where T : ReadOnlyMailboxItem<T> {
var recipient = (RecepientPerson)mailboxItem.Sender;
return new MessageRecipientInfo1() {
Id = recipient.ID,
Name = recipient.DisplayName
};
}
private string GetTo<T>(T mailboxItem) {
var messageTo = string.Empty;
if(typeof(T).IsAssignableFrom(typeof(SentFolderItem))) {
messageTo = ((SentFolderItem)((object)mailboxItem)).ToName;
}else if(typeof(T).IsAssignableFrom(typeof(DoneFolderItem))){
messageTo = ((DoneFolderItem)((object)mailboxItem)).ToName;
} else if (typeof(T).IsAssignableFrom(typeof(DraftFolderItem))){
messageTo = ((DraftFolderItem)((object)mailboxItem)).ToNames;
} else if (typeof(T).IsAssignableFrom(typeof(SavedFolderItem))){
messageTo = ((SavedFolderItem)((object)mailboxItem)).ToName;
} else if(typeof(T).IsAssignableFrom(typeof(OutboxFolderItem))){
messageTo = ((OutboxFolderItem)((object)mailboxItem)).ToNames;
}
return messageTo;
}
private FolderItemInfo1 GetFolderItemInfo<T>(ReadOnlyMailboxItem<T> item) where T : ReadOnlyMailboxItem<T> {
return new FolderItemInfo1() {
CategoryType = (MessageCategoryEnum)item.CategoryType,
ChartId = item.ChartId.HasValue ? item.ChartId.Value : 0,
DateTransceived = item.DateTransceived,
FolderType = (MailboxFolderTypeEnum)item.FolderLocation,
From = item.FromText,
Id = item.Id,
IsRead = item.IsRead,
PatientId = item.PatientId,
PatientName = item.PatientName,
Priority = item.PriorityName,
SentDate = item.SentDate,
Subject = item.Subject,
Sender = GetSender<T>(item)
};
}
}
}

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx?wsdl" docRef="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap address="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" xmlns:q1="https://secure.newcropaccounts.com/V7/webservices" binding="q1:DrugSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" xmlns:q2="https://secure.newcropaccounts.com/V7/webservices" binding="q2:DrugSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
</discovery>

View File

@@ -0,0 +1,968 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="https://secure.newcropaccounts.com/V7/webservices" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="https://secure.newcropaccounts.com/V7/webservices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">A web service that performs drug related functions.</wsdl:documentation>
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="https://secure.newcropaccounts.com/V7/webservices">
<s:element name="DrugSearch">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="drugName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="includeObsolete" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchBrandGeneric" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchRxOTC" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchDrugSupply" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Credentials">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="PartnerName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="AccountRequest">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="AccountId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SiteId" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="PatientRequest">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="PatientId" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="PatientInformationRequester">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="UserType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="UserId" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugSearchResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugSearchResult" type="tns:DrugDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugDetailResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugDetailArray" type="tns:ArrayOfDrugDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="Result">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Status" type="tns:StatusType" />
<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="XmlResponse" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="RowCount" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="Timing" type="s:int" />
</s:sequence>
</s:complexType>
<s:simpleType name="StatusType">
<s:restriction base="s:string">
<s:enumeration value="Unknown" />
<s:enumeration value="OK" />
<s:enumeration value="Fail" />
<s:enumeration value="NotFound" />
</s:restriction>
</s:simpleType>
<s:complexType name="ArrayOfDrugDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="DrugDetail" nillable="true" type="tns:DrugDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DataProvider" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugSubID1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugNameID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="GenericName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DeaClassCode" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Dosage" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DosageForm" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Route" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="TherapeuticClass" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DeaGenericNamedCode" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DeaGenericNamedDescription" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DeaLegendCode" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DeaLegendDescription" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Touchdate" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugSearchWithFormulary">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="healthplanID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="healthplanTypeID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="includeObsolete" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchBrandGeneric" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchRxOTC" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchDrugSupply" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugSearchWithFormularyResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugSearchWithFormularyResult" type="tns:DrugFormularyDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugFormularyDetailResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugFormularyDetailArray" type="tns:ArrayOfDrugFormularyDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDrugFormularyDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="DrugFormularyDetail" nillable="true" type="tns:DrugFormularyDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugFormularyDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="drugDetail" type="tns:DrugDetail" />
<s:element minOccurs="0" maxOccurs="1" name="formularyCoverage" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugSearchWithFormularyWithFavorites">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="healthplanID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="healthplanTypeID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="includeObsolete" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchBrandGeneric" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchRxOTC" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="searchDrugSupply" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="locationId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="providerId" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugSearchWithFormularyWithFavoritesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugSearchWithFormularyWithFavoritesResult" type="tns:DrugFormularyFavoriteDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugFormularyFavoriteDetailResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugFormularyFavoriteDetail" type="tns:ArrayOfDrugFormularyFavoriteDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDrugFormularyFavoriteDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="DrugFormularyFavoriteDetail" nillable="true" type="tns:DrugFormularyFavoriteDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugFormularyFavoriteDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DataProvider" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugSubID1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugNameID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="GenericName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DeaClassCode" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Dosage" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DosageForm" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Route" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="TherapeuticClass" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Touchdate" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="formularyCoverage" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="formularyText" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="formularySummary" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="formularyMessage" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="favoritesListStatus" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugDrugInteraction">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="currentMedications" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="proposedMedications" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfString">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugDrugInteractionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugDrugInteractionResult" type="tns:DrugInteractionResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugInteractionResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugInteractionArray" type="tns:ArrayOfDrugInteraction" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDrugInteraction">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="DrugInteraction" nillable="true" type="tns:DrugInteraction" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugInteraction">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MechanismOfAction" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Discussion" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ClinicalEffects" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SeverityLevel" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PatientManagement" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PredisposingFactors" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="References" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="MonographTitle" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug1ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug1Type" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug2" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug2ID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Drug2Type" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Performance" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugDrugInteractionV2">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="currentMedications" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="proposedMedications" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="severityExclusionMask" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugDrugInteractionV2Response">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugDrugInteractionV2Result" type="tns:DrugInteractionResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugAllergyInteraction">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="allergies" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="proposedMedications" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugAllergyInteractionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugAllergyInteractionResult" type="tns:DrugAllergyDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugAllergyDetailResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugAllergyDetailArray" type="tns:ArrayOfDrugAllergyDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDrugAllergyDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="DrugAllergyDetail" nillable="true" type="tns:DrugAllergyDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugAllergyDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="InteractionText" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugsByDiagnosis">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="diagnosisList" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="diagnosisListType" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugsByDiagnosisResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugsByDiagnosisResult" type="tns:DrugDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugsByDiagnosisWithFormulary">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="healthplanID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="healthplanTypeID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="diagnosisList" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="diagnosisListType" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugsByDiagnosisWithFormularyResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugsByDiagnosisWithFormularyResult" type="tns:DrugFormularyDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MaintainProviderDrugFavorites">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="locationId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="providerId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="actionCode" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MaintainProviderDrugFavoritesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MaintainProviderDrugFavoritesResult" type="tns:Result" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MaintainProviderDrugFavoritesArray">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="locationId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="providerId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugIds" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="actionCode" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="MaintainProviderDrugFavoritesArrayResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="MaintainProviderDrugFavoritesArrayResult" type="tns:Result" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugFoodInteraction">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="drugId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugFoodInteractionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugFoodInteractionResult" type="tns:DrugFoodDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugFoodDetailResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugFoodDetailArray" type="tns:ArrayOfDrugFoodDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDrugFoodDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="DrugFoodDetail" nillable="true" type="tns:DrugFoodDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugFoodDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DataProvider" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DrugName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SeverityLevel" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Result" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Line1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Line2" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugPackageDetails">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="drugConcept" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugConceptType" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugPackageDetailsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugPackageDetailsResult" type="tns:DrugPackageDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugPackageDetailResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugPackageDetailArray" type="tns:ArrayOfDrugPackageDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDrugPackageDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="DrugPackageDetail" nillable="true" type="tns:DrugPackageDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugPackageDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="PackageInfo" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PackageType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PackageSize" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="ValidateNDCList">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="ndcList" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ValidateNDCListResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ValidateNDCListResult" type="tns:NDCValidationDetailResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="NDCValidationDetailResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="ndcValidationDetailArray" type="tns:ArrayOfNDCValidationDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfNDCValidationDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="NDCValidationDetail" nillable="true" type="tns:NDCValidationDetail" />
</s:sequence>
</s:complexType>
<s:complexType name="NDCValidationDetail">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ndc" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ndcStatus" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="DrugMonograph">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credentials" type="tns:Credentials" />
<s:element minOccurs="0" maxOccurs="1" name="accountRequest" type="tns:AccountRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientRequest" type="tns:PatientRequest" />
<s:element minOccurs="0" maxOccurs="1" name="patientInformationRequester" type="tns:PatientInformationRequester" />
<s:element minOccurs="0" maxOccurs="1" name="drugConcept" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="drugStandardType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="monographFormat" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DrugMonographResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DrugMonographResult" type="tns:DrugMonographResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DrugMonographResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="result" type="tns:Result" />
<s:element minOccurs="0" maxOccurs="1" name="drugMonograph" type="tns:DrugMonograph" />
</s:sequence>
</s:complexType>
<s:complexType name="DrugMonograph">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="status" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="message" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="monograph" type="s:string" />
</s:sequence>
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="DrugSearchSoapIn">
<wsdl:part name="parameters" element="tns:DrugSearch" />
</wsdl:message>
<wsdl:message name="DrugSearchSoapOut">
<wsdl:part name="parameters" element="tns:DrugSearchResponse" />
</wsdl:message>
<wsdl:message name="DrugSearchWithFormularySoapIn">
<wsdl:part name="parameters" element="tns:DrugSearchWithFormulary" />
</wsdl:message>
<wsdl:message name="DrugSearchWithFormularySoapOut">
<wsdl:part name="parameters" element="tns:DrugSearchWithFormularyResponse" />
</wsdl:message>
<wsdl:message name="DrugSearchWithFormularyWithFavoritesSoapIn">
<wsdl:part name="parameters" element="tns:DrugSearchWithFormularyWithFavorites" />
</wsdl:message>
<wsdl:message name="DrugSearchWithFormularyWithFavoritesSoapOut">
<wsdl:part name="parameters" element="tns:DrugSearchWithFormularyWithFavoritesResponse" />
</wsdl:message>
<wsdl:message name="DrugDrugInteractionSoapIn">
<wsdl:part name="parameters" element="tns:DrugDrugInteraction" />
</wsdl:message>
<wsdl:message name="DrugDrugInteractionSoapOut">
<wsdl:part name="parameters" element="tns:DrugDrugInteractionResponse" />
</wsdl:message>
<wsdl:message name="DrugDrugInteractionV2SoapIn">
<wsdl:part name="parameters" element="tns:DrugDrugInteractionV2" />
</wsdl:message>
<wsdl:message name="DrugDrugInteractionV2SoapOut">
<wsdl:part name="parameters" element="tns:DrugDrugInteractionV2Response" />
</wsdl:message>
<wsdl:message name="DrugAllergyInteractionSoapIn">
<wsdl:part name="parameters" element="tns:DrugAllergyInteraction" />
</wsdl:message>
<wsdl:message name="DrugAllergyInteractionSoapOut">
<wsdl:part name="parameters" element="tns:DrugAllergyInteractionResponse" />
</wsdl:message>
<wsdl:message name="DrugsByDiagnosisSoapIn">
<wsdl:part name="parameters" element="tns:DrugsByDiagnosis" />
</wsdl:message>
<wsdl:message name="DrugsByDiagnosisSoapOut">
<wsdl:part name="parameters" element="tns:DrugsByDiagnosisResponse" />
</wsdl:message>
<wsdl:message name="DrugsByDiagnosisWithFormularySoapIn">
<wsdl:part name="parameters" element="tns:DrugsByDiagnosisWithFormulary" />
</wsdl:message>
<wsdl:message name="DrugsByDiagnosisWithFormularySoapOut">
<wsdl:part name="parameters" element="tns:DrugsByDiagnosisWithFormularyResponse" />
</wsdl:message>
<wsdl:message name="MaintainProviderDrugFavoritesSoapIn">
<wsdl:part name="parameters" element="tns:MaintainProviderDrugFavorites" />
</wsdl:message>
<wsdl:message name="MaintainProviderDrugFavoritesSoapOut">
<wsdl:part name="parameters" element="tns:MaintainProviderDrugFavoritesResponse" />
</wsdl:message>
<wsdl:message name="MaintainProviderDrugFavoritesArraySoapIn">
<wsdl:part name="parameters" element="tns:MaintainProviderDrugFavoritesArray" />
</wsdl:message>
<wsdl:message name="MaintainProviderDrugFavoritesArraySoapOut">
<wsdl:part name="parameters" element="tns:MaintainProviderDrugFavoritesArrayResponse" />
</wsdl:message>
<wsdl:message name="DrugFoodInteractionSoapIn">
<wsdl:part name="parameters" element="tns:DrugFoodInteraction" />
</wsdl:message>
<wsdl:message name="DrugFoodInteractionSoapOut">
<wsdl:part name="parameters" element="tns:DrugFoodInteractionResponse" />
</wsdl:message>
<wsdl:message name="DrugPackageDetailsSoapIn">
<wsdl:part name="parameters" element="tns:DrugPackageDetails" />
</wsdl:message>
<wsdl:message name="DrugPackageDetailsSoapOut">
<wsdl:part name="parameters" element="tns:DrugPackageDetailsResponse" />
</wsdl:message>
<wsdl:message name="ValidateNDCListSoapIn">
<wsdl:part name="parameters" element="tns:ValidateNDCList" />
</wsdl:message>
<wsdl:message name="ValidateNDCListSoapOut">
<wsdl:part name="parameters" element="tns:ValidateNDCListResponse" />
</wsdl:message>
<wsdl:message name="DrugMonographSoapIn">
<wsdl:part name="parameters" element="tns:DrugMonograph" />
</wsdl:message>
<wsdl:message name="DrugMonographSoapOut">
<wsdl:part name="parameters" element="tns:DrugMonographResponse" />
</wsdl:message>
<wsdl:portType name="DrugSoap">
<wsdl:operation name="DrugSearch">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Searches for drug information based on the name of the drug.</wsdl:documentation>
<wsdl:input message="tns:DrugSearchSoapIn" />
<wsdl:output message="tns:DrugSearchSoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugSearchWithFormulary">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Searches for drug information based on the name of the drug. Also returns formulary coverage information.</wsdl:documentation>
<wsdl:input message="tns:DrugSearchWithFormularySoapIn" />
<wsdl:output message="tns:DrugSearchWithFormularySoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugSearchWithFormularyWithFavorites">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Searches for drug information based on the name of the drug. Also returns formulary coverage information.</wsdl:documentation>
<wsdl:input message="tns:DrugSearchWithFormularyWithFavoritesSoapIn" />
<wsdl:output message="tns:DrugSearchWithFormularyWithFavoritesSoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugDrugInteraction">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Searches for information regarding drug/drug interactions based on current and proposed medications.</wsdl:documentation>
<wsdl:input message="tns:DrugDrugInteractionSoapIn" />
<wsdl:output message="tns:DrugDrugInteractionSoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugDrugInteractionV2">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Searches for information regarding drug/drug interactions based on current and proposed medications.</wsdl:documentation>
<wsdl:input message="tns:DrugDrugInteractionV2SoapIn" />
<wsdl:output message="tns:DrugDrugInteractionV2SoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugAllergyInteraction">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Searches for information regarding drug/allergy interactions based on current and proposed medications.</wsdl:documentation>
<wsdl:input message="tns:DrugAllergyInteractionSoapIn" />
<wsdl:output message="tns:DrugAllergyInteractionSoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugsByDiagnosis">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Retrieves a list of drugs for a diagnosis list</wsdl:documentation>
<wsdl:input message="tns:DrugsByDiagnosisSoapIn" />
<wsdl:output message="tns:DrugsByDiagnosisSoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugsByDiagnosisWithFormulary">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Retrieves a list of drugs for a diagnosis list with formulary coverage</wsdl:documentation>
<wsdl:input message="tns:DrugsByDiagnosisWithFormularySoapIn" />
<wsdl:output message="tns:DrugsByDiagnosisWithFormularySoapOut" />
</wsdl:operation>
<wsdl:operation name="MaintainProviderDrugFavorites">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Add/deletes to a provider's drug favorites list.</wsdl:documentation>
<wsdl:input message="tns:MaintainProviderDrugFavoritesSoapIn" />
<wsdl:output message="tns:MaintainProviderDrugFavoritesSoapOut" />
</wsdl:operation>
<wsdl:operation name="MaintainProviderDrugFavoritesArray">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Add/deletes to a provider's drug favorites list.</wsdl:documentation>
<wsdl:input message="tns:MaintainProviderDrugFavoritesArraySoapIn" />
<wsdl:output message="tns:MaintainProviderDrugFavoritesArraySoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugFoodInteraction">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of food interactions for a given drug concept.</wsdl:documentation>
<wsdl:input message="tns:DrugFoodInteractionSoapIn" />
<wsdl:output message="tns:DrugFoodInteractionSoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugPackageDetails">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns drug packaging for a given drug concept.</wsdl:documentation>
<wsdl:input message="tns:DrugPackageDetailsSoapIn" />
<wsdl:output message="tns:DrugPackageDetailsSoapOut" />
</wsdl:operation>
<wsdl:operation name="ValidateNDCList">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns validation information for a given list of comma separated NDCs.</wsdl:documentation>
<wsdl:input message="tns:ValidateNDCListSoapIn" />
<wsdl:output message="tns:ValidateNDCListSoapOut" />
</wsdl:operation>
<wsdl:operation name="DrugMonograph">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">SUPERSEDED - Refer to the NewCrop Drug web services test and description web page for the new method of obtaining drug monographs.</wsdl:documentation>
<wsdl:input message="tns:DrugMonographSoapIn" />
<wsdl:output message="tns:DrugMonographSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="DrugHttpPost" />
<wsdl:binding name="DrugSoap" type="tns:DrugSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="DrugSearch">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugSearch" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugSearchWithFormulary">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugSearchWithFormulary" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugSearchWithFormularyWithFavorites">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugSearchWithFormularyWithFavorites" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugDrugInteraction">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugDrugInteraction" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugDrugInteractionV2">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugDrugInteractionV2" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugAllergyInteraction">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugAllergyInteraction" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugsByDiagnosis">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugsByDiagnosis" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugsByDiagnosisWithFormulary">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugsByDiagnosisWithFormulary" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MaintainProviderDrugFavorites">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/MaintainProviderDrugFavorites" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MaintainProviderDrugFavoritesArray">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/MaintainProviderDrugFavoritesArray" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugFoodInteraction">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugFoodInteraction" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugPackageDetails">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugPackageDetails" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="ValidateNDCList">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/ValidateNDCList" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugMonograph">
<soap:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugMonograph" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="DrugSoap12" type="tns:DrugSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="DrugSearch">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugSearch" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugSearchWithFormulary">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugSearchWithFormulary" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugSearchWithFormularyWithFavorites">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugSearchWithFormularyWithFavorites" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugDrugInteraction">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugDrugInteraction" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugDrugInteractionV2">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugDrugInteractionV2" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugAllergyInteraction">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugAllergyInteraction" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugsByDiagnosis">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugsByDiagnosis" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugsByDiagnosisWithFormulary">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugsByDiagnosisWithFormulary" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MaintainProviderDrugFavorites">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/MaintainProviderDrugFavorites" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="MaintainProviderDrugFavoritesArray">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/MaintainProviderDrugFavoritesArray" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugFoodInteraction">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugFoodInteraction" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugPackageDetails">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugPackageDetails" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="ValidateNDCList">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/ValidateNDCList" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DrugMonograph">
<soap12:operation soapAction="https://secure.newcropaccounts.com/V7/webservices/DrugMonograph" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="DrugHttpPost" type="tns:DrugHttpPost">
<http:binding verb="POST" />
</wsdl:binding>
<wsdl:service name="Drug">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">A web service that performs drug related functions.</wsdl:documentation>
<wsdl:port name="DrugSoap" binding="tns:DrugSoap">
<soap:address location="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" />
</wsdl:port>
<wsdl:port name="DrugSoap12" binding="tns:DrugSoap12">
<soap12:address location="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" />
</wsdl:port>
<wsdl:port name="DrugHttpPost" binding="tns:DrugHttpPost">
<http:address location="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugAllergyDetailResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugAllergyDetailResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugDetailResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugDetailResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugFoodDetailResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugFoodDetailResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugFormularyDetailResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugFormularyDetailResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugFormularyFavoriteDetailResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugFormularyFavoriteDetailResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugInteractionResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugInteractionResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugMonographResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugMonographResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DrugPackageDetailResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.DrugPackageDetailResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="NDCValidationDetailResult" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.NDCValidationDetailResult, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="Result" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>PlutoServer.PracticeChoice.Core.NewCropDrugService.Result, Service References.NewCropDrugService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e95187ab-d7be-44be-9c48-2c4f5fb3261a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings />
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<UseSerializerForFaults>true</UseSerializerForFaults>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="Drug.disco" MetadataType="Disco" ID="b04dd6d5-9fd4-4809-9957-00b2d6edad4d" SourceId="1" SourceUrl="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx?disco" />
<MetadataFile FileName="Drug.wsdl" MetadataType="Wsdl" ID="1dcf0ede-af18-4794-a33b-51a02401faa3" SourceId="1" SourceUrl="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx?wsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;DrugSoap&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;Transport&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="DrugSoap" />
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; maxBufferSize=&quot;65536&quot; messageEncoding=&quot;Text&quot; name=&quot;DrugSoap1&quot; textEncoding=&quot;utf-8&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="basicHttpBinding" name="DrugSoap1" />
<binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;DrugSoap12&quot;&gt;&lt;httpsTransport allowCookies=&quot;false&quot; authenticationScheme=&quot;Anonymous&quot; bypassProxyOnLocal=&quot;false&quot; decompressionEnabled=&quot;true&quot; hostNameComparisonMode=&quot;StrongWildcard&quot; keepAliveEnabled=&quot;true&quot; manualAddressing=&quot;false&quot; maxBufferPoolSize=&quot;524288&quot; maxBufferSize=&quot;65536&quot; maxReceivedMessageSize=&quot;65536&quot; proxyAuthenticationScheme=&quot;Anonymous&quot; realm=&quot;&quot; requireClientCertificate=&quot;false&quot; transferMode=&quot;Buffered&quot; unsafeConnectionNtlmAuthentication=&quot;false&quot; useDefaultWebProxy=&quot;true&quot; /&gt;&lt;textMessageEncoding maxReadPoolSize=&quot;64&quot; maxWritePoolSize=&quot;16&quot; messageVersion=&quot;Soap12&quot; writeEncoding=&quot;utf-8&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;/textMessageEncoding&gt;&lt;/Data&gt;" bindingType="customBinding" name="DrugSoap12" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;DrugSoap&quot; contract=&quot;NewCropDrugService.DrugSoap&quot; name=&quot;DrugSoap&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;DrugSoap&quot; contract=&quot;NewCropDrugService.DrugSoap&quot; name=&quot;DrugSoap&quot; /&gt;" contractName="NewCropDrugService.DrugSoap" name="DrugSoap" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx&quot; binding=&quot;customBinding&quot; bindingConfiguration=&quot;DrugSoap12&quot; contract=&quot;NewCropDrugService.DrugSoap&quot; name=&quot;DrugSoap12&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx&quot; binding=&quot;customBinding&quot; bindingConfiguration=&quot;DrugSoap12&quot; contract=&quot;NewCropDrugService.DrugSoap&quot; name=&quot;DrugSoap12&quot; /&gt;" contractName="NewCropDrugService.DrugSoap" name="DrugSoap12" />
</endpoints>
</configurationSnapshot>

View File

@@ -0,0 +1,513 @@
<?xml version="1.0" encoding="utf-8"?>
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="19s3wh7uuFC4IF+HEGZNKAzzKTc=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="DrugSoap">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DrugSoap</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Transport</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Never</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TransportSelected</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>(Collection)</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Default</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="basicHttpBinding" name="DrugSoap1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DrugSoap1</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:10:00</serializedValue>
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>00:01:00</serializedValue>
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Never</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TransportSelected</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>(Collection)</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Default</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
</properties>
</bindingConfiguration>
<bindingConfiguration bindingType="customBinding" name="DrugSoap12">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DrugSoap12</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue>
</property>
<property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>64</serializedValue>
</property>
<property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16</serializedValue>
</property>
<property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Soap12</serializedValue>
</property>
<property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>32</serializedValue>
</property>
<property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>8192</serializedValue>
</property>
<property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>4096</serializedValue>
</property>
<property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>16384</serializedValue>
</property>
<property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/httpsTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpsTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpsTransportElement</serializedValue>
</property>
<property path="/httpsTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/httpsTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>524288</serializedValue>
</property>
<property path="/httpsTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/httpsTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/httpsTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Anonymous</serializedValue>
</property>
<property path="/httpsTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/httpsTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
<property path="/httpsTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/httpsTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
<property path="/httpsTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/httpsTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/httpsTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Anonymous</serializedValue>
</property>
<property path="/httpsTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/httpsTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/httpsTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/httpsTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>True</serializedValue>
</property>
<property path="/httpsTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
</property>
<property path="/httpsTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Never</serializedValue>
</property>
<property path="/httpsTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TransportSelected</serializedValue>
</property>
<property path="/httpsTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>(Collection)</serializedValue>
</property>
<property path="/httpsTransport/requireClientCertificate" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="DrugSoap" contract="NewCropDrugService.DrugSoap" bindingType="basicHttpBinding" address="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" bindingConfiguration="DrugSoap">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DrugSoap</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>NewCropDrugService.DrugSoap</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DrugSoap</serializedValue>
</property>
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
</properties>
</endpoint>
<endpoint name="DrugSoap12" contract="NewCropDrugService.DrugSoap" bindingType="customBinding" address="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx" bindingConfiguration="DrugSoap12">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>customBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DrugSoap12</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>NewCropDrugService.DrugSoap</serializedValue>
</property>
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>DrugSoap12</serializedValue>
</property>
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

View File

@@ -0,0 +1,74 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pluto.Api;
using McKesson.PPS.Fusion.Authentication.Business;
using McKesson.PPS.Fusion.Terminology.Business;
using McKesson.PPS.Fusion.Business.Shared.Terminology;
namespace PlutoServer.PracticeChoice.Core {
public class Terminology {
public IList<TerminologyInfo1> SearchTerminology(string authToken, string searchString, TerminologySearchTypeEnum searchType, TerminologyDomainEnum domain) {
IList<TerminologyInfo1> termList = null;
MagicIdentity identity = MagicIdentity.FromCookieString(authToken);
if(identity.IsAuthenticated) {
MagicPrincipal principal = new MagicPrincipal(identity);
//Logger.Write(string.Format("MagicIdentity authenticated is {0}", identity.IsAuthenticated));
Csla.ApplicationContext.User = principal;
var terms = TermList.GetTermList(new TermCriteria() {
PageIndex = 1,
PageSize = 50,
SearchType = GetTerminologySearchType(searchType),
SearchString = searchString,
Domain = (TermDomain)domain
});
if(terms != null) {
termList = new List<TerminologyInfo1>();
foreach(var term in terms) {
termList.Add(new TerminologyInfo1() {
Code = term.Code,
Description = term.Description,
IsBillable = term.IsBillable,
Modifier1 = term.Modifier1,
Modifier2 = term.Modifier2,
Modifier3 = term.Modifier3,
Modifier4 = term.Modifier4,
NDCCode = term.NDCCode,
NDCQuantity = term.NDCQuantity,
NDCUnitOfMeasure = term.NDCUnitOfMeasure,
TerminologyType = (TerminologyTypeEnum)term.TermType,
Type = term.Type
});
}
}
}
return termList;
}
private string GetTerminologySearchType(TerminologySearchTypeEnum searchType) {
var termSearchType = string.Empty;
switch(searchType) {
case TerminologySearchTypeEnum.Code:
termSearchType = SearchTypes.CodeStartsWith;
break;
case TerminologySearchTypeEnum.CodeSet:
termSearchType = SearchTypes.CodeSet;
break;
case TerminologySearchTypeEnum.Description:
termSearchType = SearchTypes.DescrContains;
break;
default:
break;
}
return termSearchType;
}
}
}

View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="DrugSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="DrugSoap1" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
<customBinding>
<binding name="DrugSoap12">
<textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
messageVersion="Soap12" writeEncoding="utf-8">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</textMessageEncoding>
<httpsTransport manualAddressing="false" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" requireClientCertificate="false" />
</binding>
</customBinding>
</bindings>
<client>
<endpoint address="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx"
binding="basicHttpBinding" bindingConfiguration="DrugSoap"
contract="NewCropDrugService.DrugSoap" name="DrugSoap" />
<endpoint address="https://preproduction.newcropaccounts.com/v7/WebServices/Drug.asmx"
binding="customBinding" bindingConfiguration="DrugSoap12"
contract="NewCropDrugService.DrugSoap" name="DrugSoap12" />
</client>
</system.serviceModel>
</configuration>