Skip to main content

pharmacy_claim

One row per pharmacy claim line: prescriptions as dispensed, with the drug code, quantity, days supply and cost split. Pair days_supply with dispensing_date to build adherence and persistence measures.

At a glance

Schemadax_core
Tablepharmacy_claim
LayerCore Data Model
Object typetable
Columns32
Grainpharmacy_claim_id
Tagscore

Columns

ColumnTypeKeyTerminologyConstraintsDescription
pharmacy_claim_idvarcharPKunique, not nullDax identifier for the pharmacy claim line.
claim_idvarcharnot nullSource claim identifier.
claim_line_numberintegernot null
person_idvarcharnot nullThe individual the prescription was dispensed to.
member_idvarchar
payervarchar
planvarchar
prescribing_provider_idvarcharProviderPractitioner who wrote the prescription.
prescribing_provider_namevarchar
dispensing_provider_idvarcharProviderPharmacy that filled the prescription.
dispensing_provider_namevarchar
dispensing_datedateDate the prescription was filled.
ndc_codevarcharNational drug code directoryNational Drug Code for the dispensed product.
ndc_descriptionvarchar
quantityintegerQuantity dispensed.
days_supplyintegerDays of therapy the fill covers. The basis of adherence measures.
refillsintegerNumber of refills authorized or dispensed.
paid_datedate
paid_amountnumberAmount the payer paid for the fill.
allowed_amountnumberContractually allowed amount for the fill.
charge_amountnumber
coinsurance_amountnumber
copayment_amountnumber
deductible_amountnumber
in_network_flaginteger
enrollment_flaginteger
member_month_idvarchar
file_datedate
ingest_datetimetimestamp
file_namevarchar
dax_last_runvarcharTimestamp of the warehouse build that produced this row.
data_sourcevarcharnot nullLabel for the contributing system.

Querying

select *
from dax_core.pharmacy_claim
limit 100;