Pharmacy

A Pharmacy represents a physical location or mail-order service.

Endpoint

https://platform.wellviasolutions.com/clinical/v1/pharmacy

The Pharmacy Object

Attributes


idstring :required

The unique identifier of the pharmacy.


sourcestring :required

Identifies what data source created the pharmacy. For more information, see Pharmacy Sources Dictionary.


namestring :required

The name of the pharmacy.


ncpdpidstring :optional

The NCPDPID of the pharmacy. Is required when the pharmacy source is surescripts.


npistring :optional

The NPI of the pharmacy. Is required when the pharmacy source is surescripts.


storeNumberstring :optional

The store number.


addressLine1string :required

The postal address of the pharmacy.


addressLine2string :optional

The postal address of the pharmacy.


addressCitystring :required

The postal address of the pharmacy.


addressStatestring :required

The postal address of the pharmacy.


addressZipstring :required

The postal address of the pharmacy.


addressCountryCodestring :required

The postal address of the pharmacy.


addressCrossStreetstring :optional

Nearby cross street or intersection.


phoneNumberstring :required

The publicly listed phone number for the pharmacy.


faxNumberstring :optional

The publicly listed fax number for the pharmacy.


startDatetimestamp:optional

The date that the pharmacy opened for business.


endDatetimestamp:optional

The date that the pharmacy closed for business. This is updated for permanent closures as well as temporary closures such as store remodeling, etc.


serviceslist of strings:optional

The different e-prescribing capabilities available at this pharmacy. More information can be found in the Pharmacy Services dictionary. Is required when the pharmacy source is surescripts.


specialtieslist of strings:optional

The different specialties supported at this pharmacy. More information can be found in the Pharmacy Specialty dictionary. Is required when the pharmacy source is surescripts.


coordinatesLongitudedecimal:optional

The geo location of the pharmacy.


coordinatesLatitudedecimal:optional

The geo location of the pharmacy.


coordinatesPreciseboolean:optional

Indicates if the coordinates are an exact location or approximate location. When an exact location, value is true.


Example


{
	"id": "pharm_eff52f6d7a36eb119fb400155dfc253f",
	"source": "surescripts",
	"name": "CVS/pharmacy #10879",
	"ncpdpid": "5929609",
	"npi": "1750924262",
	"storeNumber": "10879",
	"addressLine1": "1933 Heritage Trace Pkwy",
	"addressLine2": "",
	"addressCity": "Fort Worth",
	"addressState": "TX",
	"addressZip": "76177",
	"addressCountryCode": "US",
	"addressCrossStreet": "",
	"phoneNumber": "8178409060",
	"faxNumber": "8179860503",
	"startDate": "2020-01-04T19:00:00",
	"endDate": "2099-12-31T00:00:00",
	"services": [
		"New",
		"Refill",
		"Change",
		"Cancel",
		"ControlledSubstance"
	],
	"specialties": [
		"Retail"
	],
	"coordinatesLongitude": -97.3106,
	"coordinatesLatitude": 32.9468,
	"coordinatesPrecise": false
}