Lab Test Reports

Use the labTestReports query to get the list of all lab test reports created for the user.

Available Arguments

ArgumentTypeDescription

first

Int

Retrieves the first results from the list.

after

String

before

String

id

ID

Id of the Lab Test Report.

last

Int

isVisible

Boolean

True if the report is visible. Otherwise, it displays false

externalId

String

Filter by externalId

orderId

String

Filter by orderId

requisitionId

String

Filter by requisitionId

Available Fields

Field NameTypeDescription

id

ID

Lab test report ID.

testName

String

Lab test report name.

isVisible

Boolean

True if the report is visible. Otherwise, it displays false.

reportPdf

URL

Lab test report url.

status

String

Lab test report status. Possible values: created, ordered, fulfilled, error, returned_to_lab, or results_ready.

testDate

datetime

Use the format: YYYY-MM-DDT hh:mm:ssZ

alert

Boolean

True if alert is active otherwise False.

alertText

String

Text shown in the alert.

alertAction

AlertAction

  • ATTEMPTED_FAILED: Unable to contact.

  • CONTACTED: Member Contacted and resolved.

alertStatus

AlertStatus

  • IN_REVIEW: In Review.

  • REVIEWED: Lab Reviewed - No Alerts.

  • OUT_OF_RANGE: Biomarker(s) Out of Range.

  • OTHER: Other.

  • FOLLOW_UP: Follow-up Required.

  • NO_FOLLOW_UP: No Follow-up Required.

  • COMPLETED: Lab Alert Completed.

videoUrl

String

Video URL to show in the report.

Status Field description

Status nameDescription

created

Lab test report created.

ordered

The order was placed with lab.

fulfilled

The kit was shipped to the client.

error

There is a problem with the kit.

returned_to_lab

The results are returned to the lab.

results_ready

The lab test results are ready.

Process complete

There's processing after the results are ready.

Example

query {
    labTestReports {
      edges {
        node {
          id
          testName
          reportPdf
          isVisible
          status
          alert
          alertAction
          alertStatus
          alertText
          videoUrl
        }
      }
    }
}

Example with Filter by orderId

query {
    labTestReports (orderId:"418787") {
      edges {
        node {
          id
          testName
          externalId
          orderId
          requisitionId
        }
      }
    }
}

Last updated