surescriptsReportedMedicationHistory
Fetch medication history from the Surescripts history (via Dosespot). Patient consent must be confirmed via the API before calling.
Arguments
start_date
· ISO8601DateTime · Start of date range filter. Defaults to 6 months ago. YYYY-MM-DD format. end_date
· ISO8601DateTime · End of date range filter. Defaults to end of today. YYYY-MM-DD format. Returns
MedicationHistoryTypePaginationConnection Example
query surescriptsReportedMedicationHistory( $patient_id: ID! $start_date: ISO8601DateTime $end_date: ISO8601DateTime $after: Cursor $before: Cursor) { surescriptsReportedMedicationHistory( patient_id: $patient_id start_date: $start_date end_date: $end_date after: $after before: $before ) { edges nodes page_info total_count }}