GraphQL | Medplum

The FHIR GraphQL API allows you to query and retrieve FHIR resources using GraphQL syntax, enabling precise data fetching with a single request. Unlike traditional REST endpoints that return fixed resource structures, GraphQL lets clients specify exactly which fields and related resources they need, reducing over-fetching and minimizing network round trips.

Use Cases:

Medplum provides a GraphQL API based on the FHIR GraphQL draft specification.

Check out our FHIR GraphQL Guide for an in depth explanation of how to leverage the FHIR GraphQL API.