Release 4
This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions


FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments

This is the narrative for the resource. See also the XML , JSON or Turtle format.

Execute a graphql statement

OPERATION: Execute a graphql statement

The official URL for this operation definition is:

Execute a graphql statement on a since resource or against the entire system. See the Using GraphQL with FHIR page for further details.

For the purposes of graphQL compatibility, this operation can also be invoked using a POST with the graphQL as the body, or a JSON body (see graphQL spec for details)

URL: [base]/$graphql

URL: [base]/Resource/[id]/$graphql

Use Name Cardinality Type Binding Documentation
IN query 1..1 string
OUT result 1..1 Binary

The content is always returned as application/json; this SHOULD be specified in the Accept header



Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.