Skip to content

Instantly share code, notes, and snippets.

@davidoevans
Created April 22, 2019 19:34
Show Gist options
  • Save davidoevans/74d72492831baf76bf9abbfbc1f9642d to your computer and use it in GitHub Desktop.
Save davidoevans/74d72492831baf76bf9abbfbc1f9642d to your computer and use it in GitHub Desktop.
Include (or resolve) Resource URI's
// Provide a comma separated list to the `_include` query param to have URI references resolved
IDictionary<string, string> queryParams = new Dictionary<string, string>();
queryParams.Add("_include", "prescriber,onBehalfOf,recorder,medication");
MedicationRequest resolvedMedicationRequest = this.clinicLocationClient.getMedicationRequestsApi().getMedicationRequest(medicationRequest.getId(), queryParams);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment