FHIRClient - v3.0.0
    Preparing search index...

    Function responseToJSON

    • Used in fetch Promise chains to return the JSON version of the response. Note that resp.json() will throw on empty body so we use resp.text() instead.

      Parameters

      • resp: Response

      Returns Promise<string | object>