@medic/cht-datasource
    Preparing search index...

    Function getUuids

    • Returns a function for getting a generator that fetches report identifiers from the given data context.

      Parameters

      Returns (
          qualifier:
              | Readonly<{ freetext: string }>
              | Readonly<{ forms: [string, ...string[]] }>,
      ) => AsyncGenerator<string, null>

      a function for getting a generator that fetches report identifiers

        • (
              qualifier:
                  | Readonly<{ freetext: string }>
                  | Readonly<{ forms: [string, ...string[]] }>,
          ): AsyncGenerator<string, null>
        • Returns a generator for fetching all report identifiers that match the given qualifier

          Parameters

          • qualifier: Readonly<{ freetext: string }> | Readonly<{ forms: [string, ...string[]] }>

            the limiter defining which identifiers to return. Either a FreetextQualifier for a freetext search, or a FormsQualifier to return the reports recorded with any of the given forms. If both are provided, the freetext search takes precedence.

          Returns AsyncGenerator<string, null>

          a generator for fetching all report identifiers that match the given qualifier

          InvalidArgumentError if no qualifier is provided or if the qualifier is invalid

      Error if a data context is not provided