Skip to content

Instantly share code, notes, and snippets.

@davidoevans
Created April 22, 2019 19:30
Show Gist options
  • Save davidoevans/cfe200af4a3ec72898f70c58f7843446 to your computer and use it in GitHub Desktop.
Save davidoevans/cfe200af4a3ec72898f70c58f7843446 to your computer and use it in GitHub Desktop.
MedicationRequests assigned but not acknowledged
// Query for MedicationRequests assigned to current pharmacy, but not yet acknowledged
IDictionary<string, string> queryParams = new Dictionary<string, string>();
queryParams.Add("status", "active");
queryParams.Add("acknowledged", "false");
queryParams.Add("assignedPharmacy", this.testPharmacyLocation.id);
List<MedicationRequest> medicationRequestsNotAcknowledged = this.pharmacyLocationClient.getMedicationRequestsApi().searchMedicationRequests(queryParams);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment