Last active
June 11, 2019 22:13
-
-
Save ericso/c96eb23d4dcfebbe92c34b6d55af0ac5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query DrugPrices($ndc: String) { | |
drug_prices( | |
pagination: { | |
page: 1, | |
perPage: 20 | |
} | |
where: { | |
ndc: { | |
like: $ndc | |
} | |
} | |
) { | |
results { | |
...drugPriceFields | |
} | |
pagination { | |
page | |
perPage | |
count | |
} | |
} | |
} | |
fragment drugPriceFields on DrugPrice { | |
ndc | |
awp_unit_price_extended | |
awp_package_price | |
wac_unit_price_extended | |
wac_package_price | |
direct_unit_price_extended | |
direct_package_price | |
ful_unit_price_extended | |
ful_package_price | |
unit_dose_ful_unit_price_extended | |
unit_dose_ful_package_price | |
pac_unit_price | |
effective_date | |
validity | |
} | |
{ | |
"ndc": "%", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment