Last active
July 11, 2019 17:21
-
-
Save ericso/f2644d4a8db7a36aa448bd2d1e69c720 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 DrugGpis($tc_gpi_key: String, $record_type_code: String, $tc_gpi_name: String) { | |
drug_gpis( | |
pagination: { | |
page: 1, | |
perPage: 20 | |
} | |
where: { | |
tc_gpi_key: { | |
like: $tc_gpi_key | |
} | |
record_type_code: { | |
like: $record_type_code | |
} | |
tc_gpi_name: { | |
like: $tc_gpi_name | |
} | |
} | |
) { | |
results { | |
...drugGpiFields | |
} | |
pagination { | |
page | |
perPage | |
count | |
} | |
} | |
} | |
fragment drugGpiFields on DrugGpi { | |
tc_gpi_key | |
record_type_code | |
tc_gpi_name | |
tc_level_code | |
transaction_cd | |
last_change_date | |
} | |
{ | |
"tc_gpi_key": "%", | |
"record_type_code": "%", | |
"tc_gpi_name": "%", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment