Blue Button 2.0 Implementation Guide

CodeSystem: phrmcy-srvc-type-cd

Formats: XML, JSON, Turtle

Pharmacy service type code

The type of pharmacy used. This variable indicates the type of pharmacy that dispensed the prescription, as recorded on the PDE. CMS requires Part D plans to maintain pharmacy networks that are sufficient to ensure access to Medicare beneficiaries – including retail, home infusion, and long-term care pharmacies. Plan sponsors have contracts with pharmacies to provide “in-network” services. Source:

This code system defines the following codes:

01 Community/retail pharmacyCommunity/retail pharmacy
02 Compounding pharmacyCompounding pharmacy
03 Home infusion therapy providerHome infusion therapy provider
04 Institutional pharmacyInstitutional pharmacy
05 Long-term care pharmacyLong-term care pharmacy
06 Mail order pharmacyMail order pharmacy
07 Managed care organization (MCO) pharmacyManaged care organization (MCO) pharmacy
08 Specialty care pharmacySpecialty care pharmacy
99 OtherOther
Null Pharmacy is not in any other category abovePharmacy is not in any other category above