Pharmacy

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

Endpoint

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

The Pharmacy Object

Attributes


id string : required

The unique identifier of the pharmacy.


source string : required

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


name string : required

The name of the pharmacy.


ncpdpid string : optional

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


npi string : optional

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


storeNumber string : optional

The store number.


addressLine1 string : required

The postal address of the pharmacy.


addressLine2 string : optional

The postal address of the pharmacy.


addressCity string : required

The postal address of the pharmacy.


addressState string : required

The postal address of the pharmacy.


addressZip string : required

The postal address of the pharmacy.


addressCountryCode string : required

The postal address of the pharmacy.


addressCrossStreet string : optional

Nearby cross street or intersection.


phoneNumber string : required

The publicly listed phone number for the pharmacy.


faxNumber string : optional

The publicly listed fax number for the pharmacy.


startDate timestamp: optional

The date that the pharmacy opened for business.


endDate timestamp: 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.


services list 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.


specialties list 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.


coordinatesLongitude decimal: optional

The geo location of the pharmacy.


coordinatesLatitude decimal: optional

The geo location of the pharmacy.


coordinatesPrecise boolean: 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
}