FHIRClient - v3.0.0
    Preparing search index...

    Function request

    • This is our built-in request function. It does a few things by default (unless told otherwise):

      • Makes CORS requests
      • Sets accept header to "application/json"
      • Handles errors
      • If the response is json return the json object
      • If the response is text return the result text
      • Otherwise return the response object on which we call stuff like .blob()

      Type Parameters

      Parameters

      Returns Promise<T>