Awell Health Developer Hub
Developer Hub

This request allows us to fetch the details of an EMR report activity.

Request

Query

  • graphql
01query GetEmrReport($id: String!) {
02 emrReport(id: $id) {
03 report {
04 id
05 message_html
06 metadata {
07 id
08 label
09 value
10 }
11 }
12 }
13}

Variables

An example id for an EMR report is "9rjfb9qE4pEY".

  • json
01{
02 "id": "{{EMR_REPORT_ID}}"
03}

Where to find the EMR report id

The id of the EMR report can be found in the object.id field of an activity.

  • json
01{
02 "activity": {
03 "id": "{{ACTIVITY_ID}}",
04 "object": {
05 "id": "{{EMR_REPORT_ID}}",
06 "type": "emr_report"
07 },
08 ...
09 }
10}