private static IntegrationPartner.PrescriberType GetSamplePrescriberData() { IntegrationPartner.PrescriberType PrescriberData = new IntegrationPartner.PrescriberType(); // Prescriber Identifiers, an NPI and a DEA number here IntegrationPartner.MandatoryProviderIDType PrescriberIdentifiers = new IntegrationPartner.MandatoryProviderIDType(); PrescriberIdentifiers.itemsElementNameField = new IntegrationPartner.ItemsChoiceType[2]; PrescriberIdentifiers.itemsField = new string[2]; PrescriberIdentifiers.itemsElementNameField[0] = IntegrationPartner.ItemsChoiceType.NPI; PrescriberIdentifiers.itemsField[0] = "1212121212"; PrescriberIdentifiers.itemsElementNameField[1] = IntegrationPartner.ItemsChoiceType.DEANumber; PrescriberIdentifiers.itemsField[1] = "35123456"; PrescriberData.identificationField = PrescriberIdentifiers; PrescriberData.nameField = new IntegrationPartner.MandatoryNameType() { firstNameField = "John", middleNameField = "H", lastNameField = "Smith", suffixField = "MD", prefixField = "Dr." }; // Adding a fax and office phone number List <IntegrationPartner.CommunicationType> PrescriberContactNumbers = new List <IntegrationPartner.CommunicationType>(); PrescriberContactNumbers.Add(new IntegrationPartner.CommunicationType() { qualifierField = "FX", numberField = "1235554567" }); PrescriberContactNumbers.Add(new IntegrationPartner.CommunicationType() { qualifierField = "WP", numberField = "9875554321" }); PrescriberData.communicationNumbersField = PrescriberContactNumbers.ToArray(); PrescriberData.addressField = new IntegrationPartner.AddressType() { addressLine1Field = "123 Main St.", cityField = "Springfield", stateField = "OR", zipCodeField = "97477" }; PrescriberData.specialtyField = "2085R0001X"; return(PrescriberData); }
private static IntegrationPartner.MandatoryPharmacyType GetSamplePharmacyData() { IntegrationPartner.MandatoryPharmacyType PharmacyData = new IntegrationPartner.MandatoryPharmacyType(); PharmacyData.storeNameField = "TestRx"; List <IntegrationPartner.CommunicationType> PharmacyNumbers = new List <IntegrationPartner.CommunicationType>(); PharmacyNumbers.Add(new IntegrationPartner.CommunicationType() { qualifierField = "FX", numberField = "3215556789" }); PharmacyData.communicationNumbersField = PharmacyNumbers.ToArray(); IntegrationPartner.MandatoryProviderIDType PharmacyIdentifiers = new IntegrationPartner.MandatoryProviderIDType(); PharmacyIdentifiers.itemsElementNameField = new IntegrationPartner.ItemsChoiceType[2]; PharmacyIdentifiers.itemsField = new string[2]; PharmacyIdentifiers.itemsElementNameField[0] = IntegrationPartner.ItemsChoiceType.NCPDPID; PharmacyIdentifiers.itemsField[0] = "1234567"; PharmacyIdentifiers.itemsElementNameField[1] = IntegrationPartner.ItemsChoiceType.NPI; PharmacyIdentifiers.itemsField[1] = "312345677"; PharmacyData.identificationField = PharmacyIdentifiers; PharmacyData.addressField = new IntegrationPartner.AddressType() { addressLine1Field = "321 Bart Ave.", addressLine2Field = "Suite 145", cityField = "Springfield", stateField = "OR", zipCodeField = "97477" }; PharmacyData.pharmacistField = new IntegrationPartner.NameType() { firstNameField = "John", lastNameField = "Matrix", suffixField = "DP" }; return(PharmacyData); }
private static IntegrationPartner.PrescriberType GetSamplePrescriberData() { IntegrationPartner.PrescriberType PrescriberData = new IntegrationPartner.PrescriberType(); // Prescriber Identifiers, an NPI and a DEA number here IntegrationPartner.MandatoryProviderIDType PrescriberIdentifiers = new IntegrationPartner.MandatoryProviderIDType(); PrescriberIdentifiers.itemsElementNameField = new IntegrationPartner.ItemsChoiceType[2]; PrescriberIdentifiers.itemsField = new string[2]; PrescriberIdentifiers.itemsElementNameField[0] = IntegrationPartner.ItemsChoiceType.NPI; PrescriberIdentifiers.itemsField[0] = "1212121212"; PrescriberIdentifiers.itemsElementNameField[1] = IntegrationPartner.ItemsChoiceType.DEANumber; PrescriberIdentifiers.itemsField[1] = "35123456"; PrescriberData.identificationField = PrescriberIdentifiers; PrescriberData.nameField = new IntegrationPartner.MandatoryNameType() { firstNameField = "John", middleNameField = "H", lastNameField = "Smith", suffixField = "MD", prefixField = "Dr." }; // Adding a fax and office phone number List<IntegrationPartner.CommunicationType> PrescriberContactNumbers = new List<IntegrationPartner.CommunicationType>(); PrescriberContactNumbers.Add(new IntegrationPartner.CommunicationType() { qualifierField = "FX", numberField = "1235554567" }); PrescriberContactNumbers.Add(new IntegrationPartner.CommunicationType() { qualifierField = "WP", numberField = "9875554321" }); PrescriberData.communicationNumbersField = PrescriberContactNumbers.ToArray(); PrescriberData.addressField = new IntegrationPartner.AddressType() { addressLine1Field = "123 Main St.", cityField = "Springfield", stateField = "OR", zipCodeField = "97477" }; PrescriberData.specialtyField = "2085R0001X"; return PrescriberData; }
private static IntegrationPartner.MandatoryPharmacyType GetSamplePharmacyData() { IntegrationPartner.MandatoryPharmacyType PharmacyData = new IntegrationPartner.MandatoryPharmacyType(); PharmacyData.storeNameField = "TestRx"; List<IntegrationPartner.CommunicationType> PharmacyNumbers = new List<IntegrationPartner.CommunicationType>(); PharmacyNumbers.Add(new IntegrationPartner.CommunicationType() { qualifierField = "FX", numberField = "3215556789" }); PharmacyData.communicationNumbersField = PharmacyNumbers.ToArray(); IntegrationPartner.MandatoryProviderIDType PharmacyIdentifiers = new IntegrationPartner.MandatoryProviderIDType(); PharmacyIdentifiers.itemsElementNameField = new IntegrationPartner.ItemsChoiceType[2]; PharmacyIdentifiers.itemsField = new string[2]; PharmacyIdentifiers.itemsElementNameField[0] = IntegrationPartner.ItemsChoiceType.NCPDPID; PharmacyIdentifiers.itemsField[0] = "1234567"; PharmacyIdentifiers.itemsElementNameField[1] = IntegrationPartner.ItemsChoiceType.NPI; PharmacyIdentifiers.itemsField[1] = "312345677"; PharmacyData.identificationField = PharmacyIdentifiers; PharmacyData.addressField = new IntegrationPartner.AddressType() { addressLine1Field = "321 Bart Ave.", addressLine2Field = "Suite 145", cityField = "Springfield", stateField = "OR", zipCodeField = "97477" }; PharmacyData.pharmacistField = new IntegrationPartner.NameType() { firstNameField = "John", lastNameField = "Matrix", suffixField = "DP" }; return PharmacyData; }