mise API - v0.0.0
    Preparing search index...

    Function studies_extractFromDecoded

    • Locates the study array inside a decoded PACS query payload.

      Probes the container keys the wire has been seen to use (studies, Studies, results), falling back to treating the payload itself as the study collection. A non-array collection is wrapped as a single study.

      Parameters

      • decodedJson: unknown

        The decoded query result payload.

      Returns Record<string, unknown>[]

      The study objects, in payload order. Never null; a payload with no recognizable studies yields a single-element wrap of the payload.