Haste Health
    Preparing search index...

    Type Alias HTTPClientState

    type HTTPClientState = {
        authenticate?: () => void;
        getAccessToken?: () => Promise<string>;
        searchMethod?: "GET" | "POST";
        url: string | DeriveFHIRURL;
    }
    Index

    Properties

    authenticate?: () => void
    getAccessToken?: () => Promise<string>
    searchMethod?: "GET" | "POST"

    How searches are sent. Defaults to "GET" (parameters in the query string). "POST" form-encodes them into a _search body, keeping identifiers out of URLs and lifting the URL length limit. Allows users to send PHI without worrying about it appearing in URLs.

    url: string | DeriveFHIRURL