@welshare/sdk
    Preparing search index...

    Function inferDocumentTypeFromMime

    • Infer document type CodeableConcept from MIME type.

      Returns a reasonable DOCUMENT_TYPE_CONCEPTS value based on the file's MIME type. Falls back to ADDENDUM_DOCUMENT for unknown types.

      Parameters

      • mimeType: string

      Returns {
          coding?: {
              code?: string;
              display?: string;
              system: string;
              userSelected?: boolean;
              version?: string;
          }[];
          text?: string;
      }