Medplum · Example Payload

Medplum Graphql Patient Query Example

HealthcareFHIROpen SourceDeveloper PlatformHIPAASMART on FHIRClinicalInteroperability

Medplum Graphql Patient Query Example is an example object payload from Medplum, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

endpointmethodheadersbody

Example Payload

Raw ↑
{
  "endpoint": "https://api.medplum.com/fhir/R4/$graphql",
  "method": "POST",
  "headers": {
    "Authorization": "Bearer REDACTED",
    "Content-Type": "application/json"
  },
  "body": {
    "query": "query PatientWithObservations($id: ID!) {\n  Patient(id: $id) {\n    id\n    name { given family }\n    birthDate\n    ObservationList(_reference: subject, code: \"85354-9\") {\n      id\n      effectiveDateTime\n      component {\n        code { coding { code display } }\n        valueQuantity { value unit }\n      }\n    }\n  }\n}",
    "variables": { "id": "example" }
  }
}